Bug 742197 - [abrt] fedpkg-0.5.9.2-2.fc15: __init__.py:1491:gimmespec:OSError: [Errno 20] Not a directory: 'gammu-1.30.0-1.fc15.src.rpm'
Summary: [abrt] fedpkg-0.5.9.2-2.fc15: __init__.py:1491:gimmespec:OSError: [Errno 20] ...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: fedora-packager
Version: 15
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dennis Gilmore
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:31436944a530eac399ac2f8c28d...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-09-29 11:22 UTC by Karel Volný
Modified: 2013-01-10 06:39 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-09-29 13:50:58 UTC
Type: ---


Attachments (Terms of Use)

Description Karel Volný 2011-09-29 11:22:39 UTC
abrt version: 2.0.3
architecture:   x86_64
cmdline:        
comment:        I've messed parameters for fedpkg, using "--path" instead of "--srpm" and got this backtrace ... I guess such errors could be handled more gracefully
component:      fedora-packager
executable:     /usr/bin/fedpkg
kernel:         2.6.40.4-5.fc15.x86_64
os_release:     Fedora release 15 (Lovelock)
package:        fedpkg-0.5.9.2-2.fc15
reason:         __init__.py:1491:gimmespec:OSError: [Errno 20] Not a directory: 'gammu-1.30.0-1.fc15.src.rpm'
time:           Thu Sep 29 13:19:04 2011
uid:            500
username:       kvolny

backtrace:
:__init__.py:1491:gimmespec:OSError: [Errno 20] Not a directory: 'gammu-1.30.0-1.fc15.src.rpm'
:
:Traceback (most recent call last):
:  File "/usr/bin/fedpkg", line 1495, in <module>
:    args.command(args)
:  File "/usr/bin/fedpkg", line 676, in scratchbuild
:    build(args)
:  File "/usr/bin/fedpkg", line 303, in build
:    mymodule = pyfedpkg.PackageModule(args.path, args.dist)
:  File "/usr/lib/python2.7/site-packages/pyfedpkg/__init__.py", line 1188, in __init__
:    self.spec = self.gimmespec()
:  File "/usr/lib/python2.7/site-packages/pyfedpkg/__init__.py", line 1491, in gimmespec
:    files = os.listdir(self.path)
:OSError: [Errno 20] Not a directory: 'gammu-1.30.0-1.fc15.src.rpm'
:
:Local variables in innermost frame:
:deadpackage: False
:self: <pyfedpkg.PackageModule instance at 0x2f4d638>

Comment 1 Jesse Keating 2011-09-29 13:24:23 UTC
Good find!

Comment 2 Jesse Keating 2011-09-29 13:50:58 UTC
So this is actually fixed in the rewrite with rpkg.  When we build fedpkg up with rpkg this bug will go away.  I'm just going to close this upstream.

Comment 3 Karel Volný 2011-09-30 11:47:32 UTC
thanks, wov, that was quick :)


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