OK, figured it out. This points out a problem with our testing - we
don't generally test with non-HP or no-HPLIP installed printers. The fix
will be in 2.7.5 or the newly coded function is here (all that was added
was the exception handling around the line that was in the traceback):
def UpdatePrinterCombos(self):
self.PrintSettingsPrinterCombo.clear()
self.PrintJobPrinterCombo.clear()
if self.cur_device is not None and \
self.cur_device.supported:
printers = cups.getPrinters()
self.cur_device.cups_printers = []
cur_device_uri_tail = self.cur_device_uri.split(':')[1]
for p in printers:
try:
p_tail = p.device_uri.split(':')[1]
except IndexError:
continue
if p_tail == cur_device_uri_tail:
self.cur_device.cups_printers.append(p.name)
for c in self.cur_device.cups_printers:
self.PrintSettingsPrinterCombo.insertItem(c)
self.PrintJobPrinterCombo.insertItem(c)
self.current_printer =
str(self.PrintSettingsPrinterCombo.currentText())
--
[apport] toolbox crashed with IndexError in UpdatePrinterCombos()
https://bugs.launchpad.net/bugs/112441
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs