<div dir="ltr">Package: system-config-printer<br>Version: 1.4.3-4~bpo70+1<br>Severity: important<br>Tags: patch<br><br>Dear Maintainer,<br><br>Installing a new printer through the interface, at the final step of selecting the<br>

(correctly recognized and pre-selected printer (e.g. Xerox Phaser 3140), the<br>wizard doesn't proceed -- it can be Closed, but Forward doesn't do anthing,<br>particularly it doesn't install the printer!<br><br>

Running `system-config-printer --debug` reveals the following Python error:<br><br>Traceback (most recent call last):<br>  File "/usr/share/system-config-printer/newprinter.py", line 912, in on_btnNPForward_clicked<br>

    self.nextNPTab()<br>  File "/usr/share/system-config-printer/newprinter.py", line 1459, in nextNPTab<br>    self.ppd = self.getNPPPD()<br>  File "/usr/share/system-config-printer/newprinter.py", line 3786, in getNPPPD<br>

    nr = model.get_path(iter)[0]<br>TypeError: 'TreePath' object does not support indexing<br><br>I did manage to fix it by changing the offending line (and another similar line<br>futher below in the file) to:<br>

<br>  nr = int(str(model.get_path(iter)))<br><br>Not sure if it has something to do with Gtk3's PyGObject introspection (et al.)<br>incompletely migrated into stable or whether it's a genuine overlooked bug,<br>I'm tagging it patch.<br>

<br><br>-- System Information:<br>Debian Release: 7.6<br><br>Versions of packages system-config-printer depends on:<br>ii  gir1.2-gdkpixbuf-2.0       2.26.1-1<br>ii  gir1.2-glib-2.0            1.32.1-1<br>ii  gir1.2-gtk-3.0             3.4.2-7<br>

ii  gir1.2-notify-0.7          0.7.5-1<br>ii  gir1.2-packagekitglib-1.0  0.7.6-3<br>ii  gir1.2-pango-1.0           1.30.0-1<br>ii  gnome-icon-theme           3.4.0-2<br>ii  python                     2.7.3-4+deb7u1<br>ii  python-cairo               1.8.8-1+b2<br>

ii  python-cups                1.9.63-1~bpo70+1<br>ii  python-cupshelpers         1.4.3-4~bpo70+1<br>ii  python-dbus                1.1.1-1<br>ii  python-gi                  3.2.2-2<br>ii  python-gobject-2           2.28.6-10<br>

ii  python-libxml2             2.8.0+dfsg1-7+wheezy1<br><br>Versions of packages system-config-printer recommends:<br>pn  cups-pk-helper              <none><br>ii  gir1.2-gnomekeyring-1.0     3.4.1-1<br>ii  python-smbc                 1.0.6-1+b1<br>

ii  system-config-printer-udev  1.4.3-4~bpo70+1<br><br>Versions of packages system-config-printer suggests:<br>pn  python-gnomekeyring  <none><br>pn  sessioninstaller     <none><br><br>-- no debconf information<br>

<br></div>