Bug 249361 - Unhanlded exception while updating Fedora 7
Summary: Unhanlded exception while updating Fedora 7
Keywords:
Status: CLOSED DUPLICATE of bug 249374
Alias: None
Product: Fedora
Classification: Fedora
Component: pirut
Version: 7
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-07-23 22:07 UTC by Andrea
Modified: 2007-11-30 22:12 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-07-26 02:24:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Andrea 2007-07-23 22:07:08 UTC
While updating Fedora 7 to the latest packages using pirut
23-07-2007, around 23:00 BST
I got this unhandled exception. It happened only once/

Component: Software Updater
Summary: TBedf28128 Progress.py:85:callback:TypeError: unsupported operand
type(s) for /: 'int' and 'NoneType'

Traceback (most recent call last):
  File "/usr/sbin/pup", line 409, in _apply
    self.applyChanges(self.mainwin)
  File "/usr/lib/python2.5/site-packages/pirut/__init__.py", line 726, in
applyChanges
    self.runTransaction(mainwin)
  File "/usr/lib/python2.5/site-packages/pirut/__init__.py", line 701, in
runTransaction
    tserrors = yum.YumBase.runTransaction(self, tsprog)
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 540, in
runTransaction
    errors = self.ts.run(cb.callback, '')
  File "/usr/lib/python2.5/site-packages/pirut/Progress.py", line 85, in callback
    self.progress.set_fraction(self.num / self.total * (1 - PREP) + PREP)
TypeError: unsupported operand type(s) for /: 'int' and 'NoneType'

Local variables in innermost frame:
what: 8
h: (<rpm.hdr object at 0xb856e90>,
u'//var/cache/yum/updates/packages/kdesdk-3.5.7-6.fc7.i386.rpm')
self: <pirut.Progress.PirutTransactionProgress instance at 0xba92fac>
logmsg:
amount: 0
user:
total: 0
PREP: 0.25

Comment 1 Jeremy Katz 2007-07-24 20:38:59 UTC
Is this reproducible?

Comment 2 Andrea 2007-07-25 22:35:02 UTC
Not really.
I've tried to update kdesdk again but I did not get any error.


Comment 3 Jeremy Katz 2007-07-26 02:24:20 UTC

*** This bug has been marked as a duplicate of 249374 ***


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