Bug 550394 - system-config-printer spills a backtrace
Summary: system-config-printer spills a backtrace
Keywords:
Status: CLOSED DUPLICATE of bug 541882
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-printer
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-24 22:55 UTC by Michal Jaegermann
Modified: 2010-01-04 19:45 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-01-04 15:30:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
HP-LaserJet-4250.ipp from /var/cache/cups (1.13 KB, application/octet-stream)
2010-01-04 19:45 UTC, Michal Jaegermann
no flags Details

Description Michal Jaegermann 2009-12-24 22:55:25 UTC
Description of problem:

The following error shows up:

Traceback (most recent call last):
  File "/usr/share/system-config-printer/gtkinklevel.py", line 60, in expose_event
    self.draw (ctx)
  File "/usr/share/system-config-printer/gtkinklevel.py", line 66, in draw
    fill_point = self._level / 100.0
TypeError: unsupported operand type(s) for /: 'NoneType' and 'float'

It happens when one tries to look at "Ink/Toner Levels" for HP LaserJet 4250 printer.  A visual effect is that one gets three colums and there are "level" icons in the first two with labels underneath ("Black Cartridge ...", "Maitenance Kit ..." and only a label in the third one.  That label happens to be "220V-Q5422A".

Version-Release number of selected component (if applicable):
system-config-printer-1.1.15-6.fc12

How reproducible:
Every time in circumstances described above.

Additional information:
Very far from beeing a showstopper.

Comment 1 Tim Waugh 2010-01-04 15:30:35 UTC
Please attach the /var/cache/cups/*.ipp file corresponding to the queue which
caused the system-config-printer crash.

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

Comment 2 Michal Jaegermann 2010-01-04 19:45:48 UTC
Created attachment 381625 [details]
HP-LaserJet-4250.ipp from /var/cache/cups

> Please attach the /var/cache/cups/*.ipp file


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