Red Hat Bugzilla – Bug 218417
'PirutError' is not defined traceback
Last modified: 2016-09-19 22:37:32 EDT
I'm getting the following traceback when trying to install a mugshot rpm using
Component: Software Installer
Summary: TBbc65f3bf Progress.py:76:callback:NameError: global name 'PirutError'
is not defined
Traceback (most recent call last):
File "/usr/sbin/system-install-packages", line 204, in _apply
File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 567, in
File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 542, in
tserrors = yum.YumBase.runTransaction(self, tsprog)
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 454, in
errors = self.ts.run(cb.callback, '')
File "/usr/lib/python2.4/site-packages/pirut/Progress.py", line 76, in callback
raise PirutError, "Unable to open %s: %s" %(rpmloc, e)
NameError: global name 'PirutError' is not defined
Local variables in innermost frame:
e: [Errno 2] No such file or directory: '/tmp/mugshot-1.1.26-1.fc6.i386.rpm'
hdr: <rpm.hdr object at 0x91e02f0>
h: (<rpm.hdr object at 0x91e02f0>, '/tmp/mugshot-1.1.26-1.fc6.i386.rpm')
self: <pirut.Progress.PirutTransactionProgress instance at 0x941066c>
Fixed the traceback in CVS, but you're still going to be having a problem -- is
the rpm not actually there?
I think the problem was that I closed Firefox right when the download was
complete, which probably pulled the rpm out from underneath of it.