trentm / trentm/python-markdown2
gen_perf_cases fails to run
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.8k
- Forks
- 459
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 4
Description
As of commit e417fd0cdce55bc10a73, running gen_perf_cases with Python 2.7.1 gives a traceback:
# python2 gen_perf_cases.py
generate tmp-aspn-casesTraceback (most recent call last):
File "gen_perf_cases.py", line 276, in <module>
gen_aspn_cases(limit)
File "gen_perf_cases.py", line 24, in gen_aspn_cases
recipe_dicts = eval(open(recipes_path).read())
IOError: [Errno 2] No such file or directory: '/home/whitelynx/as/code.as.com/db/aspn/recipes.pprint'
I haven't checked against earlier commits yet.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with gen_perf_cases.py, especially gen_aspn_cases around line 24 and the recipes_path used to open recipes.pprint. Reproduce the failure with Python 2.7.1 and inspect how the referenced file path is determined. Done means gen_perf_cases runs without the reported missing-file traceback.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100