Bug 742197

Summary: [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'
Product: [Fedora] Fedora Reporter: Karel Volný <kvolny>
Component: fedora-packagerAssignee: Dennis Gilmore <dennis>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: dcantrell, dennis, rhbugs
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:31436944a530eac399ac2f8c28dd0c5482c5ba93
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-29 13:50:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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 :)