FS#57364 - [system-config-printer] Crash on adding printer

Attached to Project: Arch Linux
Opened by Nick Price (DominoTree) - Sunday, 04 February 2018, 14:31 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 14 February 2018, 16:45 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

Looks to be a mismatch with GTK versions

➜ ~ system-config-printer

(system-config-printer:2736): Gtk-CRITICAL **: gtk_tree_store_insert_after: assertion 'G_NODE (sibling->user_data)->parent == G_NODE (parent->user_data)' failed

(system-config-printer:2736): Gtk-CRITICAL **: gtk_tree_store_set_value: assertion 'VALID_ITER (iter, tree_store)' failed

(system-config-printer:2736): Gtk-CRITICAL **: gtk_tree_store_set_value: assertion 'VALID_ITER (iter, tree_store)' failed
Caught non-fatal exception. Traceback:
File "/usr/share/system-config-printer/newprinter.py", line 4229, in getNPPPD
ppd = cups.PPD(f)
RuntimeError: ppdOpenFile failed
Continuing anyway..

(system-config-printer:2736): Gtk-CRITICAL **: gtk_grid_attach: assertion 'width > 0' failed
Caught fatal exception. Traceback:
File "/usr/share/system-config-printer/newprinter.py", line 4358, in on_btnNPApply_clicked
device=uri, info=info, location=location)
File "/usr/share/system-config-printer/authconn.py", line 234, in <lambda>
return lambda *args, **kwds: self._authloop (fname, fn, *args, **kwds)
File "/usr/share/system-config-printer/authconn.py", line 242, in _authloop
if self._perform_authentication () == 0:
File "/usr/share/system-config-printer/authconn.py", line 433, in _perform_authentication
self._perform_authentication_with_dialog ()
File "/usr/share/system-config-printer/authconn.py", line 485, in _perform_authentication_with_dialog
parent=self._parent)
File "/usr/share/system-config-printer/authconn.py", line 85, in __init__
grid.attach (entry, 1, 2, i, i + 1, 0, 0)
TypeError: Gtk.Grid.attach() takes exactly 6 arguments (8 given)
Exiting


Steps to reproduce:

Try to add a printer using system-config-printer v1.5.11
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Wednesday, 14 February 2018, 16:45 GMT
Reason for closing:  No response
Additional comments about closing:  seems fixed
Comment by Jan Alexander Steffens (heftig) - Thursday, 08 February 2018, 16:06 GMT
Should be fixed in 1.5.11-2. Please check and report back.

Loading...