trentm / trentm/python-markdown2

gen_perf_cases fails to run

Open
#63 4 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.