applet crashes ('str' object is not callable)

Bug #148022 reported by Philipp Kern
16
Affects Status Importance Assigned to Milestone
system-config-printer (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: system-config-printer

PythonArgs: ['/usr/share/system-config-printer/applet.py']
Traceback:
 Traceback (most recent call last):
   File "/usr/share/system-config-printer/applet.py", line 648, in refresh
     self.check_state_reasons (c, my_printers)
   File "/usr/share/system-config-printer/applet.py", line 460, in check_state_reasons
     reason = worst_printer_state_reason (connection, printer_reasons)
   File "/usr/share/system-config-printer/applet.py", line 156, in worst_printer_state_reason
     if reason > worst_reason:
   File "/usr/share/system-config-printer/applet.py", line 121, in __cmp__
     if other.printer () != self.printer ():
 TypeError: 'str' object is not callable

Revision history for this message
Tim Waugh (twaugh) wrote :

Fixedu upstream in revision 1640. Thanks for the report.

Changed in system-config-printer:
status: New → Fix Committed
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

system-config-printer (0.7.75+svn1653-0ubuntu1) gutsy; urgency=low

  * New upstream release
     o Subversion snapshot r1653
     o Set sensitivity of the 'Allow printing from the Internet' checkbox
       in the server settings correctly (LP: #146471).
     o Fixed typo (LP: #148022).
     o Wrap explanation text for 'Other Options' on the 'Job options' tab
       (LP: #148010).
     o Fixed traceback (LP: #139192).
     o Disable the Set Default button when there are no printers available
       (LP: #146925).
     o Disable the Connect button when the server name is empty (LP: #147450).
     o Make 'Default Printer' tool appearing translated (LP: #147788).
  * debian/patches/10_menu_entries.patch: Let menu entries appearing
    translated (LP: #147782) and let menu entry for displaying the jobs
    in the print queues appear (LP: #144113).

 -- Till Kamppeter <email address hidden> Wed, 03 Oct 2007 12:46:02 +0100

Changed in system-config-printer:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.