IOError: [Errno 2] No such file or directory: 'src/_version.py'
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start with the auto_version entry point and read_targets in auto_version/auto_version_tool.py, then reproduce the failure using pip install pyautoversion followed by auto_version. Check how the default configuration selects src/_version.py. Done means a target project without that file no longer fails unexpectedly, with the default target behavior matching the issue discussion.
Written by the indexing model from the issue text.
Description
pip install pyautoversion
auto_version
/lib/python2.7/site-packages/auto_version/auto_version_tool.py", line 93, in read_targets
with open(target) as fh:
IOError: [Errno 2] No such file or directory: 'src/_version.py'
It would seem the _version.py file does not exist
edit:
This is where the target project doesn't have that file. Ideally this failure would not occur. Perhaps the default config should not contain any targets at all.
- Dominant language
- Python
- Stars
- 5
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Contributor guide
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.
More from ARMmbed/autoversion
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
ARMmbed/autoversion#46 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
ARMmbed/autoversion#45 ·
-
Docs improvements Open
Difficulty 5/5 Over a week Newbie friendliness 20/100
ARMmbed/autoversion#36 ·
-
XML regex Open
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
ARMmbed/autoversion#35 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
ARMmbed/autoversion#8 · 1 comment ·
All issues in ARMmbed/autoversion
Similar issues
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
simonw/sqlite-utils#872 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100