Bug 615727 - [abrt] crash in system-config-printer-1.2.3-3.fc13: jobviewer.py:136:_map_printer:KeyError
Summary: [abrt] crash in system-config-printer-1.2.3-3.fc13: jobviewer.py:136:_map_pri...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-printer
Version: 13
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:6d2d6e2b
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-18 10:02 UTC by Gabriel PREDA
Modified: 2010-09-15 07:17 UTC (History)
4 users (show)

Fixed In Version: system-config-printer-1.2.4-2.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-09-15 05:28:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.08 KB, text/plain)
2010-07-18 10:02 UTC, Gabriel PREDA
no flags Details

Description Gabriel PREDA 2010-07-18 10:02:35 UTC
abrt 1.1.1 detected a crash.

architecture: x86_64
cmdline: python /usr/share/system-config-printer/applet.py
component: system-config-printer
executable: /usr/share/system-config-printer/applet.py
kernel: 2.6.33.6-147.fc13.x86_64
package: system-config-printer-1.2.3-3.fc13
reason: jobviewer.py:136:_map_printer:KeyError
release: Fedora release 13 (Goddard)

backtrace
-----
jobviewer.py:136:_map_printer:KeyError

Traceback (most recent call last):
  File "/usr/share/system-config-printer/monitor.py", line 483, in get_notifications
    fn (*args)
  File "/usr/share/system-config-printer/jobviewer.py", line 1746, in job_event
    self.update_job (jobid, jobdata)
  File "/usr/share/system-config-printer/jobviewer.py", line 925, in update_job
    self.update_sensitivity ()
  File "/usr/share/system-config-printer/jobviewer.py", line 1115, in update_sensitivity
    printer = self.printer_uri_index.lookup (uri)
  File "/usr/share/system-config-printer/jobviewer.py", line 110, in lookup
    return self._map_printer (uri=uri, connection=connection)
  File "/usr/share/system-config-printer/jobviewer.py", line 136, in _map_printer
    raise KeyError
KeyError

Local variables in innermost frame:
self: <jobviewer.PrinterURIIndex instance at 0x1c59e60>
connection: <cups.Connection object for /var/run/cups/cups.sock at 0x1e183f0>
r: ['printer-name', 'printer-uri-supported', 'printer-more-info']
name: None
uri: u'ipp://hp.e-radical.ro:0/printers/HP-Officejet-5600-series'

Comment 1 Gabriel PREDA 2010-07-18 10:02:38 UTC
Created attachment 432683 [details]
File: backtrace

Comment 3 tomek 2010-08-12 23:17:49 UTC
Package: system-config-printer-1.2.3-3.fc13
Architecture: x86_64
OS Release: Fedora release 13 (Goddard)


How to reproduce
-----
1.Addition of printers in LAN without accepting authentication
2.Marked one of printers as default for system
3.Ordered to print test page
4.Task was waiting for execution
5.After an hour i clicked printing info in top right corner of the screen

Comment 4 Fedora Update System 2010-08-26 11:53:18 UTC
system-config-printer-1.2.4-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/system-config-printer-1.2.4-1.fc13

Comment 5 Fedora Update System 2010-08-26 11:55:50 UTC
system-config-printer-1.2.4-1.fc14 has been submitted as an update for Fedora 14.
http://admin.fedoraproject.org/updates/system-config-printer-1.2.4-1.fc14

Comment 6 Fedora Update System 2010-08-26 18:36:14 UTC
system-config-printer-1.2.4-1.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update system-config-printer'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/system-config-printer-1.2.4-1.fc14

Comment 7 Fedora Update System 2010-09-13 18:08:22 UTC
system-config-printer-1.2.4-2.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/system-config-printer-1.2.4-2.fc14

Comment 8 Fedora Update System 2010-09-15 05:27:58 UTC
system-config-printer-1.2.4-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2010-09-15 07:17:18 UTC
system-config-printer-1.2.4-2.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.