abrt version: 1.1.13
cmdline: /usr/bin/python /usr/share/system-config-printer/applet.py
reason: jobviewer.py:2080:_set_job_document_text:KeyError: 20
release: Fedora release 14 (Laughlin)
How to reproduce: Editing a printer via http://localhost:631
Traceback (most recent call last):
File "/usr/share/system-config-printer/jobviewer.py", line 2080, in _set_job_document_text
job = self.jobs[jobid]
Local variables in innermost frame:
column: <gtk.TreeViewColumn object at 0xb294ee64 (GtkTreeViewColumn at 0x8b34c10)>
self: <jobviewer.JobViewer instance at 0x8dde56c>
iter: <GtkTreeIter at 0xbfeb4898>
cell: <gtk.CellRendererText object at 0xb2959234 (GtkCellRendererText at 0x8cb1278)>
model: <gtk.TreeStore object at 0x8de20a4 (GtkTreeStore at 0x8cae9d0)>
Created an attachment (id=446486)
I'm not able to reproduce it.
Are you able to reproduce it ?
Can you better describe the 'Editing a printer via http://localhost:631' step ? thanks
Created attachment 446953 [details]
If the TreeStore is getting out-of-sync with self.jobs there it would be better to fix that by: whenever a job is removed from self.jobs, make sure it is removed from the TreeStore first. Otherwise we'll end up with a stale entry left on the screen.
That *ought* to be happening already, but it sounds like it isn't in one place or other.
I'm not 110% sure what I did to make this happen. I was tinkering a lot with another bug at the time with ghostscript causing printing issues - however I will be testing this again later today - I'll see if I can get something more concrete.
That being said, even if I can't reproduce it, then its probably good that a fix is done anyhow :)
Best guess at what happened:
In this situation, update_job returns early before setting self.jobs[job], but add_job carries on and adds it to the TreeStore and to self.jobiters.
Should be fixed in 3038c9d.
*** Bug 693055 has been marked as a duplicate of this bug. ***
*** Bug 708989 has been marked as a duplicate of this bug. ***
system-config-printer-1.3.3-1.fc15 has been submitted as an update for Fedora 15.
*** Bug 710354 has been marked as a duplicate of this bug. ***
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing system-config-printer-1.3.3-1.fc15'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
*** Bug 714330 has been marked as a duplicate of this bug. ***
Oh, this was never fixed on the 1.2.x branch by the look of it. I've cherry-picked it now as 6c6aeda.
system-config-printer-1.3.3-1.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
system-config-printer-1.3.4-1.fc15 has been submitted as an update for Fedora 15.
system-config-printer-1.3.5-3.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
system-config-printer-1.2.9-1.fc14 has been submitted as an update for Fedora 14.
system-config-printer-1.2.9-1.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.