Description of problem: system-config-printer fails to start Version-Release number of selected component (if applicable): How reproducible: 100% everytime Steps to Reproduce: 1. run system-config-printer 2. You get this stack trace /usr/lib64/python2.7/site-packages/gi/overrides/Gtk.py:49: RuntimeWarning: You have imported the Gtk 2.0 module. Because Gtk 2.0 was not designed for use with introspection some of the interfaces and API will fail. As such this is not supported by the pygobject development team and we encourage you to port your app to Gtk 3 or greater. PyGTK is the recomended python module to use with Gtk 2.0 warnings.warn(warn_msg, RuntimeWarning) Traceback (most recent call last): File "/usr/share/system-config-printer/newprinter.py", line 2627, in on_expNPDeviceURIs_expanded padding, pack_type) = parent.query_child_packing (widget) TypeError: query_child_packing() takes exactly 6 arguments (2 given) Traceback (most recent call last): File "/usr/share/system-config-printer/system-config-printer.py", line 2132, in <module> main(show_jobs) File "/usr/share/system-config-printer/system-config-printer.py", line 2106, in main mainwindow = GUI() File "/usr/share/system-config-printer/system-config-printer.py", line 428, in __init__ [Gtk.TargetEntry.new("queue", 0, 0)], AttributeError: type object 'TargetEntry' has no attribute 'new'
What do the following commands show ? # rpm -q system-config-printer gtk2 gtk3 pygobject3-base gobject-introspection # rpm -V system-config-printer gtk2 gtk3 pygobject3-base gobject-introspection
This system is a minimal (server) install, onto which I installed system-config-printer on, along with a vnc server. Maybe it's a missing dependency thing # rpm -q system-config-printer gtk2 gtk3 pygobject3-base gobject-introspection system-config-printer-1.4.4-1.fc20.x86_64 gtk2-2.24.22-2.fc20.x86_64 package gtk3 is not installed pygobject3-base-3.10.2-1.fc20.x86_64 gobject-introspection-1.38.0-1.fc20.x86_64
Ahmed, can you install gtk3 package to see if that solves the problem ? Tim, we still require gtk2 for s-c-printer. Shouldn't we require gtk3 instead since the move to gobject introspection (1.4.0)?
Yes, I bet that's it.
Confirmed, installing gtk3 solves it Perhaps all other system-config-* should be looked at
Thanks
system-config-printer-1.4.5-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/system-config-printer-1.4.5-1.fc20
Package system-config-printer-1.4.5-1.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing system-config-printer-1.4.5-1.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-8100/system-config-printer-1.4.5-1.fc20 then log in and leave karma (feedback).
system-config-printer-1.4.5-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
I just discovered the very same bug in CentOS 7. I started with a minimal install and then did 'yum install system-config-printer' which resulted in the same error as above. So, the bug is not fixed in RHEL7, so I filed #1296815
I mean, bug #1296815