Bug#695582: system-config-printer: Error loading /etc/cupshelpers/preferreddrivers.xml: [Errno 2] No such file or directory ...

Osamu Aoki osamu at debian.org
Mon Dec 10 11:45:57 UTC 2012

Package: system-config-printer
Version: 1.3.7-3
Severity: important

Although CUPS can be configured from its web interface etc., GNOME
related tools seems to be non-functioning.

I see otheres are having problem too:

Here is my case:

$ sudo system-config-printer
Error loading /etc/cupshelpers/preferreddrivers.xml: [Errno 2] No such file or directory: '/etc/cupshelpers/preferreddrivers.xml'
Traceback (most recent call last):
  File "/usr/bin/system-config-printer", line 1772, in on_new_printer_added
    self.propertiesDlg.load (name)
  File "/usr/share/system-config-printer/printerproperties.py", line 1410, in load
AttributeError: 'PrinterPropertiesDialog' object has no attribute 'parent'

/etc/cupshelpers/preferreddrivers.xml is read from Package:
python-cupshelpers at line 347 of /usr/share/pyshared/cupshelpers/ppds.py

GNOME3's cobfiguration tool does not work either ...

If someone have time to fix this, this bug should be promoted to RC
grave bug to get it accepted to release.

I have no time to check details but this does not look good ...

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (10, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.6-trunk-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages system-config-printer depends on:
ii  gnome-icon-theme    3.4.0-2
ii  python              2.7.3-3
ii  python-cups         1.9.48-1+b1
ii  python-cupshelpers  1.3.7-3
ii  python-dbus         1.1.1-1
ii  python-glade2       2.24.0-3
ii  python-gnome2       2.28.1+dfsg-1
ii  python-gtk2         2.24.0-3
ii  python-libxml2      2.8.0+dfsg1-7
ii  python-notify       0.1.1-3
ii  python-support      1.0.15

Versions of packages system-config-printer recommends:
ii  cups-pk-helper              0.2.3-2
ii  system-config-printer-udev  1.3.7-3

Versions of packages system-config-printer suggests:
ii  python-gnomekeyring  2.32.0+dfsg-2+b1
pn  python-smbc          <none>
ii  sessioninstaller     0.20-1

-- no debconf information

More information about the pkg-gnome-maintainers mailing list