Bug 557695
Summary: | Clicking new printer cause s-c-p to traceback.. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jóhann B. Guðmundsson <johannbg> |
Component: | system-config-printer | Assignee: | Tim Waugh <twaugh> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 11 | CC: | jpopelka, rhbugzilla, twaugh |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 1.1.16-13.fc11 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-02-05 01:35:37 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jóhann B. Guðmundsson
2010-01-22 09:08:10 UTC
Still present in 1.1.16 from koji Whoops Still present in 1.1.16-10 <-- from koji Not sure what version you're trying but please try this one: https://admin.fedoraproject.org/updates/F11/FEDORA-2010-0776 *** This bug has been marked as a duplicate of bug 556170 *** I used this one http://koji.fedoraproject.org/koji/buildinfo?buildID=151890 which is the latest available build for F11 from koji and it's still present... I installed cups-pk-helper as you suggested in bug 556170 and s-c-p tracebacks Thou differently now.. [johannbg@valhalla ~]$ system-config-printer --debug Connected as user johannbg refresh Created subscription 43 <monitor.Monitor instance at 0x2f3fd88>: printers and jobs lists provided update_jobs Authentication pass: 1 Authentication: password callback set Authentication pass: 1 Authentication: password callback set Authentication pass: 1 Authentication: password callback set get_notifications update_jobs Using PolicyKit (pre-polkit-1) connection class +<asyncipp._IPPAuthOperation instance at 0x2f49908> New IPPConnection +<_IPPConnectionThread(Thread-1, initial daemon)> +<asyncipp.IPPAuthConnection instance at 0x2f498c0>Awaiting further instructions +<asyncpk0.PK0Connection instance at 0x2f49488> +<asyncpk0.PK0Connection instance at 0x2f49488> +<asyncconn.Connection object at 0x2f40990> fetchDevices Converted ()/{'exclude_schemes': ['dnssd', 'snmp'], 'reply_handler': <bound method _GetDevicesCall._reply_handler of <cupshelpers.cupshelpers._GetDevicesCall object at 0x2f40e90>>, 'error_handler': <bound method NewPrinterGUI.error_getting_devices of <__main__.NewPrinterGUI instance at 0x2f2bcf8>>} to (0, [], ['dnssd', 'snmp']) +_PK1AsyncMethodCall: <asyncpk0._PK0AsyncMethodCall instance at 0x2f50518> +_PK0AsyncMethodCall: <asyncpk0._PK0AsyncMethodCall instance at 0x2f50518> Calling PK method DevicesGet Traceback (most recent call last): File "/usr/share/system-config-printer/system-config-printer.py", line 3465, in on_new_printer_activate self.newPrinterGUI.init("printer") File "/usr/share/system-config-printer/system-config-printer.py", line 3900, in init self.fillDeviceTab() File "/usr/share/system-config-printer/system-config-printer.py", line 5172, in fillDeviceTab self.fetchDevices (network=False, current_uri=current_uri) File "/usr/share/system-config-printer/system-config-printer.py", line 4769, in fetchDevices error_handler=error_handler) File "/usr/lib/python2.6/site-packages/cupshelpers/cupshelpers.py", line 580, in getDevices return op.call (connection, kw) File "/usr/lib/python2.6/site-packages/cupshelpers/cupshelpers.py", line 552, in call return connection.getDevices (**kwds) File "/usr/share/system-config-printer/asyncconn.py", line 142, in <lambda> return lambda *args, **kwds: fn (*args, **kwds) File "/usr/share/system-config-printer/asyncpk1.py", line 336, in getDevices self._conn.getDevices, args, kwds) File "/usr/share/system-config-printer/asyncpk0.py", line 135, in _call_with_pk asyncmethodcall.call () File "/usr/share/system-config-printer/asyncpk1.py", line 72, in call object = self._bus.get_object(CUPS_PK_NAME, CUPS_PK_PATH) File "/usr/lib/python2.6/site-packages/dbus/bus.py", line 244, in get_object follow_name_owner_changes=follow_name_owner_changes) File "/usr/lib/python2.6/site-packages/dbus/proxies.py", line 241, in __init__ self._named_service = conn.activate_name_owner(bus_name) File "/usr/lib/python2.6/site-packages/dbus/bus.py", line 183, in activate_name_owner self.start_service_by_name(bus_name) File "/usr/lib/python2.6/site-packages/dbus/bus.py", line 281, in start_service_by_name 'su', (bus_name, flags))) File "/usr/lib/python2.6/site-packages/dbus/connection.py", line 630, in call_blocking message, timeout) dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 1 Canceled subscription 43 <monitor.Monitor instance at 0x2f3fd88> exited -_PK0AsyncMethodCall: <asyncpk0._PK0AsyncMethodCall instance at 0x2f50518> -_PK1AsyncMethodCall: <asyncpk0._PK0AsyncMethodCall instance at 0x2f50518> Ah, this isn't a duplicate after all. The fix that was already included was for PolicyKit 1.0. For the old-style PolicyKit code the fix needed to be applied there as well. Confirmed fixed with system-config-printer-1.1.16-11.fc11 Great work. system-config-printer-1.1.16-11.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update system-config-printer'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2010-0776 system-config-printer-1.1.16-13.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update system-config-printer'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2010-0776 *** Bug 560089 has been marked as a duplicate of this bug. *** Updated: system-config-printer.i586 0:1.1.16-13.fc11 Dependency Updated: system-config-printer-libs.i586 0:1.1.16-13.fc11 running s-c-p now does allow the new printer dialog box to run properly. system-config-printer-1.1.16-13.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report. |