Public bug reported:

Binary package hint: kdeadmin

I have a printer configuration with several IPP network printers that I
configured with the system-config-printer-kde applet from Kubuntu 9.04.
In 9.10, when selecting the applet in the systemsettings app, it is
stuck on the "server settings" view; one can't select any printers in
the left-side treeview.

This traceback (also attached) is:

Traceback (most recent call last):
  File 
"/usr/share/kde4/apps/system-config-printer-kde/system-config-printer-kde.py", 
line 424, in on_tvMainList_cursor_changed
    self.fillPrinterTab(name)
  File 
"/usr/share/kde4/apps/system-config-printer-kde/system-config-printer-kde.py", 
line 1190, in fillPrinterTab
    self.fillPrinterOptions(name, editablePPD)
  File 
"/usr/share/kde4/apps/system-config-printer-kde/system-config-printer-kde.py", 
line 1234, in fillPrinterOptions
    ppd.markDefaults()
AttributeError: 'bool' object has no attribute 'markDefaults'

A little investigation showed: ppd in this case is False, it is assigned
in this code (line 992ff here):

        try:
            self.ppd = printer.getPPD()
        except cups.IPPError, (e, m):
            # Some IPP error other than IPP_NOT_FOUND.
            self.show_IPP_Error(e, m)
            # Treat it as a raw queue.
            self.ppd = False

where printer.getPPD() returns False. It seems that this is always a
possibility, because self.ppd can also set to False in the error handler
shown above -- it seems to represent a remote IPP queue.

ProblemType: Bug
Architecture: i386
Date: Wed Nov 11 22:55:10 2009
DistroRelease: Ubuntu 9.10
Package: system-config-printer-kde 4:4.3.2-0ubuntu2 [modified: 
usr/share/kde4/apps/system-config-printer-kde/system-config-printer-kde.py]
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=de_DE.UTF-8
 SHELL=/bin/zsh
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: kdeadmin
Uname: Linux 2.6.31-14-generic i686

** Affects: kdeadmin (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386

-- 
system-config-printer-kde applet traceback with network printers configured
https://bugs.launchpad.net/bugs/480963
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to