system-config-printer-kde.py crashed with AttributeError in fillMakeList()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kdeadmin (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: system-
additionally the init.d cups link was broken and not started in runlevels
ProblemType: Crash
Architecture: i386
DistroRelease: Ubuntu 8.10
ExecutablePath: /usr/share/
InterpreterPath: /usr/bin/python2.5
NonfreeKernelMo
Package: system-
PackageArchitec
ProcAttrCurrent: unconfined
ProcCmdline: python /usr/share/
ProcEnviron:
LANGUAGE=
PATH=/
LANG=de_DE.UTF-8
SHELL=/bin/bash
PythonArgs: ['/usr/
SourcePackage: system-
Title: system-
Uname: Linux 2.6.27-7-generic i686
UserGroups:
Changed in kdeadmin (Ubuntu): | |
status: | Fix Released → Fix Committed |
Changed in kdeadmin (Ubuntu): | |
status: | Fix Committed → Fix Released |
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: config- printer- kde
1) Stop Cups 'sudo /etc/init.d/cups
2) Launch system-
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: config- printer- kde.py config- printer- kde.py" , line 1687, in getPPDs_thread ncrypt failed config- printer- kde.py" , line 1687, in getPPDs_thread ncrypt failed config- printer- kde.py" , line 1905, in nextNPTab DeviceID' config- printer- kde.py" , line 1770, in on_btnNPForward _clicked nextNPTab( ) config- printer- kde.py" , line 1922, in nextNPTab fillMakeList( ) config- printer- kde.py" , line 2799, in fillMakeList getMakes( )
./system-
Caught non-fatal exception. Traceback:
File "./system-
c = cups.Connection ()
RuntimeError: httpConnectionE
Continuing anyway..
Caught non-fatal exception. Traceback:
File "./system-
c = cups.Connection ()
RuntimeError: httpConnectionE
Continuing anyway..
Caught non-fatal exception. Traceback:
File "./system-
(status, ppdname) = self.ppds.\
AttributeError: 'dict' object has no attribute 'getPPDNameFrom
Continuing anyway..
Traceback (most recent call last):
File "./system-
self.
File "./system-
self.
File "./system-
makes = self.ppds.
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, ...