Comment 10 for bug 1248303

Revision history for this message
Jussi Lind (jussi-lind) wrote :

I think that this is an (UI?) issue in system-config-printer, because I was now able to install the driver like this:

1) Start system-config-printer from terminal (I didn't test otherwise)
2) Select your printer from the list once detected and start installing the gutenprint driver
3) Hit CTRL-C (possible a couple of times) in the terminal when the "installing gutenprint" dialog gets stuck, select Cancel for the crash report etc
4) Now a "New Printer" dialog opens in which you can select your printer manufacturer and model
5) Choose your printer => Forward => Forward => Apply

The first crash again here:

-- clip --

Traceback (most recent call last):
  File "/usr/share/system-config-printer/newprinter.py", line 3678, in on_tvNPDownloadableDrivers_cursor_changed
    iter = model.get_iter (path)

-- clip --

These are the corresponding lines in the code:

-- clip --

        selection = widget.get_selection ()
        if selection == None:
            return

        model, iter = selection.get_selected ()
        if not iter:
            path, column = widget.get_cursor()
            iter = model.get_iter (path)

-- clip --

So in our case widget.get_cursor() returns so that path is None.

I assume that this happens, because the code expects user data from the "New Printer" dialog, which is not opened.