Bug 901771 - [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'
Summary: [abrt] R2spec-4.1.0-2.fc18: rpackage.py:131:download:IOError: [Errno 2] No su...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: R2spec
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Pierre-YvesChibon
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:70acf9320a67f20a48f5cf7830d...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-19 04:34 UTC by M. Edward (Ed) Borasky
Modified: 2013-09-30 10:05 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-09-30 10:05:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (931 bytes, text/plain)
2013-01-19 04:34 UTC, M. Edward (Ed) Borasky
no flags Details
File: core_backtrace (290 bytes, text/plain)
2013-01-19 04:34 UTC, M. Edward (Ed) Borasky
no flags Details
File: environ (2.96 KB, text/plain)
2013-01-19 04:34 UTC, M. Edward (Ed) Borasky
no flags Details

Description M. Edward (Ed) Borasky 2013-01-19 04:34:09 UTC
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>

Comment 1 M. Edward (Ed) Borasky 2013-01-19 04:34:12 UTC
Created attachment 682895 [details]
File: backtrace

Comment 2 M. Edward (Ed) Borasky 2013-01-19 04:34:13 UTC
Created attachment 682896 [details]
File: core_backtrace

Comment 3 M. Edward (Ed) Borasky 2013-01-19 04:34:15 UTC
Created attachment 682897 [details]
File: environ

Comment 4 M. Edward (Ed) Borasky 2013-01-19 04:36:36 UTC
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.

Comment 5 Pierre-YvesChibon 2013-04-14 08:07:11 UTC
(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


Note You need to log in before you can comment on or make changes to this bug.