[Bug 282687] Re: system-config-printer-kde.py crashed with AttributeError in fillMakeList()

Richard Birnie arbyuk at googlemail.com
Tue Nov 4 22:34:20 UTC 2008


Fabien,

Thanks for reporting this. I am able to reproduce this bug. The problem
occurs when cups is not running. I was able to reproduce it by manually
stopping cups.

Steps to reproduce:
1) Stop Cups 'sudo /etc/init.d/cups
2) Launch system-config-printer-kde
3) choose new printer from the tree in the left panel
4) Click the 'New Printer' button.
5) Under Select Connection the only option is 'other'
6) Enter 'cups-pdf:/' in the device uri box
7) Click Next and observe crash

My terminal output from the debugging session is below:
./system-config-printer-kde.py                                                           
Caught non-fatal exception.  Traceback:                                                                                                            
File "./system-config-printer-kde.py", line 1687, in getPPDs_thread                                                                                
    c = cups.Connection ()                                                                                                                         
RuntimeError: httpConnectionEncrypt failed                                                                                                         
Continuing anyway..                                                                                                                                
Caught non-fatal exception.  Traceback:                                                                                                            
File "./system-config-printer-kde.py", line 1687, in getPPDs_thread                                                                                
    c = cups.Connection ()                                                                                                                         
RuntimeError: httpConnectionEncrypt failed                                                                                                         
Continuing anyway..                                                                                                                                
Caught non-fatal exception.  Traceback:                                                                                                            
File "./system-config-printer-kde.py", line 1905, in nextNPTab                                                                                     
    (status, ppdname) = self.ppds.\                                                                                                                
AttributeError: 'dict' object has no attribute 'getPPDNameFromDeviceID'
Continuing anyway..
Traceback (most recent call last):
  File "./system-config-printer-kde.py", line 1770, in on_btnNPForward_clicked
    self.nextNPTab()
  File "./system-config-printer-kde.py", line 1922, in nextNPTab
    self.fillMakeList()
  File "./system-config-printer-kde.py", line 2799, in fillMakeList
    makes = self.ppds.getMakes()
AttributeError: 'dict' object has no attribute 'getMakes'

I'm not sure whether this is really a bug in system-config-printer-kde
or a problem with CUPS not being started correctly.

Fabien, you said an init.d cups link was broken. Could you specify which
link is missing and where it should point to?

thanks

** Changed in: system-config-printer-kde (Ubuntu)
       Status: New => Confirmed

-- 
system-config-printer-kde.py crashed with AttributeError in fillMakeList()
https://bugs.launchpad.net/bugs/282687
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to system-config-printer-kde in ubuntu.




More information about the kubuntu-bugs mailing list