Bug 901771
| Summary: | [abrt] R2spec-4.1.0-2.fc18: rpackage.py:131:download:IOError: [Errno 2] No such file or directory: '/home/znmeb/rpmbuild/SOURCES/Rcmdr_1.9-3.tar.gz' | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | M. Edward (Ed) Borasky <znmeb> | ||||||||
| Component: | R2spec | Assignee: | Pierre-YvesChibon <pingou> | ||||||||
| Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
| Severity: | unspecified | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | 18 | CC: | pingou, znmeb | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | x86_64 | ||||||||||
| OS: | Unspecified | ||||||||||
| Whiteboard: | abrt_hash:70acf9320a67f20a48f5cf7830dc4c99c95002f2 | ||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2013-09-30 10:05:13 UTC | Type: | --- | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Embargoed: | |||||||||||
| Attachments: |
|
||||||||||
Created attachment 682895 [details]
File: backtrace
Created attachment 682896 [details]
File: core_backtrace
Created attachment 682897 [details]
File: environ
I think I know what happened - there wasn't a '~/rpmbuild/' directory or its sub-directories when it crashed. Perhaps a 'mkdir -p' would be an appropriate fix. (In reply to comment #4) > I think I know what happened - there wasn't a '~/rpmbuild/' directory or its > sub-directories when it crashed. Perhaps a 'mkdir -p' would be an > appropriate fix. I'm not sure I want R2spec to create the directory but eventually it should fail in a nicer way. Thanks for the report |
Description of problem: Not sure - just ran R2spec Version-Release number of selected component: R2spec-4.1.0-2.fc18 Additional info: cmdline: /usr/bin/python /usr/bin/R2spec -p Rcmdr executable: /usr/bin/R2spec kernel: 3.7.2-201.fc18.x86_64 uid: 1000 Truncated backtrace: rpackage.py:131:download:IOError: [Errno 2] No such file or directory: '/home/znmeb/rpmbuild/SOURCES/Rcmdr_1.9-3.tar.gz' Traceback (most recent call last): File "/usr/bin/R2spec", line 29, in <module> R2spec().main(ARG) File "/usr/lib/python2.7/site-packages/r2spec/r2spec_obj.py", line 274, in main pack.download(args.force_dl) File "/usr/lib/python2.7/site-packages/r2spec/rpackage.py", line 131, in download localfile = open(sources, 'w') IOError: [Errno 2] No such file or directory: '/home/znmeb/rpmbuild/SOURCES/Rcmdr_1.9-3.tar.gz' Local variables in innermost frame: force: False sourcedir: '/home/znmeb/rpmbuild/SOURCES' url: 'http://cran.r-project.org/src/contrib/Rcmdr_1.9-3.tar.gz' remotefile: <addinfourl at 139858648505448 whose fp = <socket._fileobject object at 0x7f3363c57450>> sources: '/home/znmeb/rpmbuild/SOURCES/Rcmdr_1.9-3.tar.gz' self: <r2spec.rpackage.RPackage object at 0x7f3361398e50>