Bugzilla will be upgraded to version 5.0 on December 2, 2018. The outage period for the upgrade will start at 0:00 UTC and have a duration of 12 hours
Bug 218417 - 'PirutError' is not defined traceback
'PirutError' is not defined traceback
Product: Fedora
Classification: Fedora
Component: pirut (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
Depends On:
  Show dependency treegraph
Reported: 2006-12-05 02:31 EST by Luke Macken
Modified: 2016-09-19 22:37 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-04-09 16:38:33 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Luke Macken 2006-12-05 02:31:38 EST
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:
what: 4
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>
rpmloc: /tmp/mugshot-1.1.26-1.fc6.i386.rpm
amount: 0
total: 0
PREP: 0.25
Comment 1 Jeremy Katz 2006-12-06 11:05:10 EST
Fixed the traceback in CVS, but you're still going to be having a problem -- is
the rpm not actually there?
Comment 2 Luke Macken 2006-12-06 11:39:40 EST
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.

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