Description of problem: When run from a command prompt minor errors are reported. Version-Release number of selected component (if applicable): Latest F-24 How reproducible: Every time Steps to Reproduce: Start system-config-printer from a command prompt. Actual results: See below. Expected results: No warnings or errors displayed Additional info: $ sudo system-config-printer /usr/share/system-config-printer/system-config-printer.py:31: PyGIWarning: Polkit was imported without specifying a version first. Use gi.require_version('Polkit', '1.0') before import to ensure that the right version gets loaded. from gi.repository import Polkit /usr/share/system-config-printer/system-config-printer.py:35: PyGIWarning: GdkPixbuf was imported without specifying a version first. Use gi.require_version('GdkPixbuf', '2.0') before import to ensure that the right version gets loaded. from gi.repository import GdkPixbuf /usr/share/system-config-printer/system-config-printer.py:37: PyGIWarning: Gdk was imported without specifying a version first. Use gi.require_version('Gdk', '3.0') before import to ensure that the right version gets loaded. from gi.repository import Gdk /usr/share/system-config-printer/system-config-printer.py:38: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded. from gi.repository import Gtk /usr/share/system-config-printer/jobviewer.py:28: PyGIWarning: Notify was imported without specifying a version first. Use gi.require_version('Notify', '0.7') before import to ensure that the right version gets loaded. from gi.repository import Notify /usr/share/system-config-printer/jobviewer.py:55: PyGIWarning: GnomeKeyring was imported without specifying a version first. Use gi.require_version('GnomeKeyring', '1.0') before import to ensure that the right version gets loaded. from gi.repository import GnomeKeyring Caught non-fatal exception. Traceback: File "/usr/share/system-config-printer/newprinter.py", line 1671, in setNPButtons uri = self.getDeviceURI () File "/usr/share/system-config-printer/newprinter.py", line 3221, in getDeviceURI type = self.device.type AttributeError: 'NoneType' object has no attribute 'type' Continuing anyway..
(In reply to Peter Trenholme from comment #0) > PyGIWarning: Polkit was imported without specifying a version first. Use > gi.require_version('Polkit', '1.0') before import to ensure that the right > version gets loaded. > ... Already fixed upstream: https://github.com/twaugh/system-config-printer/commit/5b4785782d75e45efde182d1c07d25ddd9c03eb3 > Caught non-fatal exception. Traceback: > File "/usr/share/system-config-printer/newprinter.py", line 1671, in > setNPButtons > uri = self.getDeviceURI () > File "/usr/share/system-config-printer/newprinter.py", line 3221, in > getDeviceURI > type = self.device.type > AttributeError: 'NoneType' object has no attribute 'type' > Continuing anyway.. Looks similar to bug #618640
*** Bug 1383869 has been marked as a duplicate of this bug. ***
system-config-printer-1.5.7-10.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-96e780df17
system-config-printer-1.5.7-10.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.