Bug 226703 - system-config-printer goes on a traceback binge after a printer removal
system-config-printer goes on a traceback binge after a printer removal
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: system-config-printer (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
:
Depends On:
Blocks: FC6Update
  Show dependency treegraph
 
Reported: 2007-01-31 19:43 EST by Michal Jaegermann
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version: 0.7.52-1.fc6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-02-15 04:54:50 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Michal Jaegermann 2007-01-31 19:43:36 EST
Description of problem:

Trying to figure out why I am getting an output scaled down by
a factor of 0.8 I removed the only configured printer and tried
to configure one from scratch.  Actually of a precisely the same
type and configuration as the one which was there previously.
'system-config-printer' decided to throw many errors while doing
that.  To wit:

 Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 2298,
in on_tvNPMakes_cursor_changed
    self.NPMake = model.get(iter, 0)[0]
TypeError: iter must be a GtkTreeIter
Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 2298,
in on_tvNPMakes_cursor_changed
    self.NPMake = model.get(iter, 0)[0]
TypeError: iter must be a GtkTreeIter
Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 2298,
in on_tvNPMakes_cursor_changed
    self.NPMake = model.get(iter, 0)[0]
TypeError: iter must be a GtkTreeIter
Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 2342,
in on_tvNPModels_cursor_changed
    pmodel = model.get(iter, 0)[0]
TypeError: iter must be a GtkTreeIter
Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 2342,
in on_tvNPModels_cursor_changed
    pmodel = model.get(iter, 0)[0]
TypeError: iter must be a GtkTreeIter
Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 2342,
in on_tvNPModels_cursor_changed
    pmodel = model.get(iter, 0)[0]
TypeError: iter must be a GtkTreeIter
Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 2342,
in on_tvNPModels_cursor_changed
    pmodel = model.get(iter, 0)[0]
TypeError: iter must be a GtkTreeIter
Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 2342,
in on_tvNPModels_cursor_changed
    pmodel = model.get(iter, 0)[0]
TypeError: iter must be a GtkTreeIter
Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 2342,
in on_tvNPModels_cursor_changed
    pmodel = model.get(iter, 0)[0]
TypeError: iter must be a GtkTreeIter
Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 2342,
in on_tvNPModels_cursor_changed
    pmodel = model.get(iter, 0)[0]
TypeError: iter must be a GtkTreeIter
Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 2342,
in on_tvNPModels_cursor_changed
    pmodel = model.get(iter, 0)[0]
TypeError: iter must be a GtkTreeIter
Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 2342,
in on_tvNPModels_cursor_changed
    pmodel = model.get(iter, 0)[0]
TypeError: iter must be a GtkTreeIter
/usr/lib/cups/filter/foomatic-rip: found
Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 1065,
in on_btnPMakeDefault_clicked
    os.remove (tmpfname)
OSError: [Errno 2] No such file or directory: '/tmp/tmpF56Yyw'
Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 1065,
in on_btnPMakeDefault_clicked
    os.remove (tmpfname)
OSError: [Errno 2] No such file or directory: '/tmp/tmp-w7DUI'
Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 1065,
in on_btnPMakeDefault_clicked
    os.remove (tmpfname)
OSError: [Errno 2] No such file or directory: '/tmp/tmperqsQu'

After all that noise I got a configured printer back.  There is only
one on that system.

Version-Release number of selected component (if applicable):
system-config-printer-0.7.49-1.fc7

How reproducible:
no idea
Comment 1 Tim Waugh 2007-02-07 11:03:45 EST
Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 1065,
in on_btnPMakeDefault_clicked
    os.remove (tmpfname)
OSError: [Errno 2] No such file or directory: '/tmp/tmperqsQu'

I can see how this one happens, so I've fixed it.

As for the others, I can't see a way to reproduce it with the current code. :-/
 Please re-open if you see them again.
Comment 2 Tim Waugh 2007-02-07 12:02:39 EST
Built in rawhide as 0.7.50-1.fc7.
Comment 3 Tim Waugh 2007-02-08 05:27:08 EST
FC6 test update: 0.7.50-1.fc6.
Comment 4 Fedora Update System 2007-02-14 14:59:54 EST
Fixed in update: system-config-printer-0.7.52-1.fc6

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