Public bug reported:
When I just open the software:
```
$ system-config-printer --debug
(system-config-printer.py:99199): Handy-WARNING **: 13:35:43.492: Using
GtkSettings:gtk-application-prefer-dark-theme together with HdyStyleManager is
unsupported. Please use HdyStyleManager:color-scheme instead.
/usr/share/system-config-printer/system-config-printer.py:325:
DeprecationWarning: Gtk.ActionGroup.list_actions is deprecated
for action in printer_manager_action_group.list_actions ():
/usr/share/system-config-printer/system-config-printer.py:326:
DeprecationWarning: Gtk.Action.set_sensitive is deprecated
action.set_sensitive (False)
/usr/share/system-config-printer/system-config-printer.py:334:
DeprecationWarning: Gtk.ActionGroup.get_action is deprecated
act = printer_manager_action_group.get_action (action)
/usr/share/system-config-printer/system-config-printer.py:364:
DeprecationWarning: Gtk.UIManager.ensure_update is deprecated
self.ui_manager.ensure_update ()
/usr/share/system-config-printer/system-config-printer.py:365:
DeprecationWarning: Gtk.UIManager.get_accel_group is deprecated
self.PrintersWindow.add_accel_group (self.ui_manager.get_accel_group ())
/usr/share/system-config-printer/system-config-printer.py:374:
DeprecationWarning: Gtk.UIManager.get_action is deprecated
action = self.ui_manager.get_action ("/new-printer")
/usr/share/system-config-printer/system-config-printer.py:375:
DeprecationWarning: Gtk.Action.create_menu_item is deprecated
newprinteritem = action.create_menu_item ()
+<newprinter.NewPrinterGUI object at 0x759d77835200 (newprinter+NewPrinterGUI
at 0x39bcb990)>
Connected as user guillaume.muller
/usr/share/system-config-printer/system-config-printer.py:673:
DeprecationWarning: Gtk.Action.get_proxies is deprecated
for widget in action.get_proxies ():
+<printerproperties.PrinterPropertiesDialog object at 0x759d7785b380
(printerproperties+PrinterPropertiesDialog at 0x3a04bd10)>
<authconn.Connection object at 0x759d82b92480>: Operation += obtaining queue
details
Authentication pass: 1
Authentication: password callback set
Authentication pass: 1
Authentication: password callback set
Authentication pass: 1
Authentication: password callback set
<authconn.Connection object at 0x759d82b92480>: Operation ended
+<ppdcache.PPDCache object at 0x759d778525a0>
/usr/share/system-config-printer/system-config-printer.py:2253:
DeprecationWarning: Gdk.threads_enter is deprecated
Gdk.threads_enter ()
refresh
Created subscription 269, events=['printer-added', 'printer-modified',
'printer-deleted', 'printer-state-changed']
Next notifications fetch in 1s
update_jobs
Deferred populateList by 200ms
<authconn.Connection object at 0x759d82b92480>: Operation += obtaining queue
details
Authentication pass: 1
Authentication: password callback set
Authentication pass: 1
Authentication: password callback set
Authentication pass: 1
Authentication: password callback set
<authconn.Connection object at 0x759d82b92480>: Operation ended
/usr/share/system-config-printer/system-config-printer.py:2204:
DeprecationWarning: Gdk.threads_leave is deprecated
Gdk.threads_leave ()
get_notifications
update_jobs
Next notifications fetch in 60s
+<ppdcache.PPDCache object at 0x759d77853110>
refresh
Created subscription 270, events=['printer-added', 'printer-modified',
'printer-deleted', 'printer-state-changed', 'job-created', 'job-completed',
'job-stopped', 'job-state-changed', 'job-progress']
Next notifications fetch in 1s
update_jobs
+<ppdcache.PPDCache object at 0x759d778532c0>
refresh
Created subscription 271, events=['printer-added', 'printer-modified',
'printer-deleted', 'printer-state-changed', 'job-created', 'job-completed',
'job-stopped', 'job-state-changed', 'job-progress']
Next notifications fetch in 1s
update_jobs
Got 0 jobs, asked for 1
update_jobs
Got 0 jobs, asked for 1
update_jobs
get_notifications
update_jobs
Next notifications fetch in 60s
get_notifications
update_jobs
Next notifications fetch in 60s
Canceled subscription 270
Canceled subscription 271
Canceled subscription 269
DESTROY: <printerproperties.PrinterPropertiesDialog object at 0x759d7785b380
(printerproperties+PrinterPropertiesDialog at 0x3a04bd10)>
DESTROY: <newprinter.NewPrinterGUI object at 0x759d77835200
(newprinter+NewPrinterGUI at 0x39bcb990)>
```
When I try to go in one of the printer's settings and just cancel/save the
dialog box:
```
Caught non-fatal exception. Traceback:
File "/usr/share/system-config-printer/printerproperties.py", line 1425, in load
option.reinit (value, supported=supported)
File "/usr/share/system-config-printer/options.py", line 225, in reinit
model.set_value (iter, 0, self.combobox_dict[each])
~~~~~~~~~~~~~~~~~~^^^^^^
KeyError: 96
Continuing anyway..
```
** Affects: system-config-printer (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to system-config-printer in Ubuntu.
https://bugs.launchpad.net/bugs/2091715
Title:
Deprecation warning and errors
Status in system-config-printer package in Ubuntu:
New
Bug description:
When I just open the software:
```
$ system-config-printer --debug
(system-config-printer.py:99199): Handy-WARNING **: 13:35:43.492: Using
GtkSettings:gtk-application-prefer-dark-theme together with HdyStyleManager is
unsupported. Please use HdyStyleManager:color-scheme instead.
/usr/share/system-config-printer/system-config-printer.py:325:
DeprecationWarning: Gtk.ActionGroup.list_actions is deprecated
for action in printer_manager_action_group.list_actions ():
/usr/share/system-config-printer/system-config-printer.py:326:
DeprecationWarning: Gtk.Action.set_sensitive is deprecated
action.set_sensitive (False)
/usr/share/system-config-printer/system-config-printer.py:334:
DeprecationWarning: Gtk.ActionGroup.get_action is deprecated
act = printer_manager_action_group.get_action (action)
/usr/share/system-config-printer/system-config-printer.py:364:
DeprecationWarning: Gtk.UIManager.ensure_update is deprecated
self.ui_manager.ensure_update ()
/usr/share/system-config-printer/system-config-printer.py:365:
DeprecationWarning: Gtk.UIManager.get_accel_group is deprecated
self.PrintersWindow.add_accel_group (self.ui_manager.get_accel_group ())
/usr/share/system-config-printer/system-config-printer.py:374:
DeprecationWarning: Gtk.UIManager.get_action is deprecated
action = self.ui_manager.get_action ("/new-printer")
/usr/share/system-config-printer/system-config-printer.py:375:
DeprecationWarning: Gtk.Action.create_menu_item is deprecated
newprinteritem = action.create_menu_item ()
+<newprinter.NewPrinterGUI object at 0x759d77835200 (newprinter+NewPrinterGUI
at 0x39bcb990)>
Connected as user guillaume.muller
/usr/share/system-config-printer/system-config-printer.py:673:
DeprecationWarning: Gtk.Action.get_proxies is deprecated
for widget in action.get_proxies ():
+<printerproperties.PrinterPropertiesDialog object at 0x759d7785b380
(printerproperties+PrinterPropertiesDialog at 0x3a04bd10)>
<authconn.Connection object at 0x759d82b92480>: Operation += obtaining queue
details
Authentication pass: 1
Authentication: password callback set
Authentication pass: 1
Authentication: password callback set
Authentication pass: 1
Authentication: password callback set
<authconn.Connection object at 0x759d82b92480>: Operation ended
+<ppdcache.PPDCache object at 0x759d778525a0>
/usr/share/system-config-printer/system-config-printer.py:2253:
DeprecationWarning: Gdk.threads_enter is deprecated
Gdk.threads_enter ()
refresh
Created subscription 269, events=['printer-added', 'printer-modified',
'printer-deleted', 'printer-state-changed']
Next notifications fetch in 1s
update_jobs
Deferred populateList by 200ms
<authconn.Connection object at 0x759d82b92480>: Operation += obtaining queue
details
Authentication pass: 1
Authentication: password callback set
Authentication pass: 1
Authentication: password callback set
Authentication pass: 1
Authentication: password callback set
<authconn.Connection object at 0x759d82b92480>: Operation ended
/usr/share/system-config-printer/system-config-printer.py:2204:
DeprecationWarning: Gdk.threads_leave is deprecated
Gdk.threads_leave ()
get_notifications
update_jobs
Next notifications fetch in 60s
+<ppdcache.PPDCache object at 0x759d77853110>
refresh
Created subscription 270, events=['printer-added', 'printer-modified',
'printer-deleted', 'printer-state-changed', 'job-created', 'job-completed',
'job-stopped', 'job-state-changed', 'job-progress']
Next notifications fetch in 1s
update_jobs
+<ppdcache.PPDCache object at 0x759d778532c0>
refresh
Created subscription 271, events=['printer-added', 'printer-modified',
'printer-deleted', 'printer-state-changed', 'job-created', 'job-completed',
'job-stopped', 'job-state-changed', 'job-progress']
Next notifications fetch in 1s
update_jobs
Got 0 jobs, asked for 1
update_jobs
Got 0 jobs, asked for 1
update_jobs
get_notifications
update_jobs
Next notifications fetch in 60s
get_notifications
update_jobs
Next notifications fetch in 60s
Canceled subscription 270
Canceled subscription 271
Canceled subscription 269
DESTROY: <printerproperties.PrinterPropertiesDialog object at 0x759d7785b380
(printerproperties+PrinterPropertiesDialog at 0x3a04bd10)>
DESTROY: <newprinter.NewPrinterGUI object at 0x759d77835200
(newprinter+NewPrinterGUI at 0x39bcb990)>
```
When I try to go in one of the printer's settings and just cancel/save the
dialog box:
```
Caught non-fatal exception. Traceback:
File "/usr/share/system-config-printer/printerproperties.py", line 1425, in
load
option.reinit (value, supported=supported)
File "/usr/share/system-config-printer/options.py", line 225, in reinit
model.set_value (iter, 0, self.combobox_dict[each])
~~~~~~~~~~~~~~~~~~^^^^^^
KeyError: 96
Continuing anyway..
```
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/system-config-printer/+bug/2091715/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp