Public bug reported:

Binary package hint: system-config-printer

When starting system-config-printer from System>Administration module, the 
window appears but hangs.
When starting starting the script from a terminal and playing with Ctrl+C, it 
appears that system-config-printer is stuck in a function; here is the 
traceback:

[EMAIL PROTECTED]:~$ sudo system-config-printer
[sudo] password for sebastien: 

** (system-config-printer.py:20458): CRITICAL **: Error opening file: No
such file or directory

** (system-config-printer.py:20458): CRITICAL **: Error opening file: No such 
file or directory
Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 4472, 
in <module>
    main(start_printer, change_ppd)
  File "/usr/share/system-config-printer/system-config-printer.py", line 4446, 
in main
    mainwindow = GUI(start_printer, change_ppd)
  File "/usr/share/system-config-printer/system-config-printer.py", line 528, 
in __init__
    self.populateList(start_printer, change_ppd)
  File "/usr/share/system-config-printer/system-config-printer.py", line 699, 
in populateList
    self.on_tvMainList_cursor_changed(self.tvMainList)
  File "/usr/share/system-config-printer/system-config-printer.py", line 1600, 
in on_tvMainList_cursor_changed
    self.fillPrinterTab(name)
  File "/usr/share/system-config-printer/system-config-printer.py", line 1638, 
in fillPrinterTab
    self.ppd = printer.getPPD()
  File "/usr/share/system-config-printer/cupshelpers.py", line 153, in getPPD
    filename = self.connection.getPPD(self.name)
KeyboardInterrupt

By the way the first error ("** (system-config-printer.py:20458): CRITICAL **: 
Error opening file: No such file or directory") does not appear if script is 
launched without sudo...
As far as I can tell, self.connection.getPPD(self.name) method (actually 
cups.Connection.getPPD method) really seems to hang when trying to get PPD from 
a network printer...
This may look like bug #165197

Here are some info about my system:
Distributor ID: Ubuntu
Description:    Ubuntu hardy (development branch)
Release:        8.04
Codename:       hardy

libcupsys2 version: 1.3.6-3ubuntu1
python-cups version: 1.9.34-0ubuntu1
system-config-printer-gnome version: 0.7.81+svn1976-0ubuntu4 (this version 
fixes bug #165197)

** Affects: system-config-printer (Ubuntu)
     Importance: Undecided
         Status: New

-- 
[Hardy] system-config-printer freezes when started
https://bugs.launchpad.net/bugs/209660
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to