Bug#642211: KeyError: 'job-originating-user-name'

Stefano Rivera stefanor at debian.org
Tue Sep 20 12:58:05 UTC 2011


Package: system-config-printer
Version: 1.2.3-3
Severity: normal
Tags: patch upstream

Hi, I use a printer via a central CUPS server that requires
authentication.

system-config-printer doesn't display the authentication dialog,
because it misses the job notification:
| Traceback (most recent call last):
|   File "/usr/share/system-config-printer/monitor.py", line 439, in get_notifications
|     attrs['job-originating-user-name'] != cups.getUser ()):
| KeyError: 'job-originating-user-name'

It looks like Ubuntu had a workaround patch for this (LP: #827573)
http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/oneiric/system-config-printer/oneiric/view/195/debian/patches/25_fix-key-error-in-get-notifications-job-originating-user-name.patch

Upstream Patch: http://git.fedorahosted.org/git/?p=system-config-printer.git;a=commitdiff;h=2392fe087d83731db36583971b5e1ea8d6faef9d

SR

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-proposed-updates'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_ZA.UTF-8, LC_CTYPE=en_ZA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages system-config-printer depends on:
ii  gnome-icon-theme    3.0.0-4     
ii  python              2.6.7-3     
ii  python-cups         1.9.48-1+b1 
ii  python-cupshelpers  1.2.3-3     
ii  python-dbus         0.84.0-2    
ii  python-glade2       2.24.0-2    
ii  python-gnome2       2.28.1-3    
ii  python-gtk2         2.24.0-2    
ii  python-libxml2      2.7.8.dfsg-4
ii  python-notify       0.1.1-3     
ii  python-support      1.0.14      

Versions of packages system-config-printer recommends:
ii  cups-pk-helper              0.1.2-1
ii  system-config-printer-udev  1.2.3-3

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

-- no debconf information






More information about the pkg-gnome-maintainers mailing list