Bug 560089 - dBus error traceback in new printer dialog
Summary: dBus error traceback in new printer dialog
Keywords:
Status: CLOSED DUPLICATE of bug 557695
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-printer
Version: 11
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-29 19:52 UTC by Scott R. Godin
Modified: 2010-01-31 17:47 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-01-31 17:47:19 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Scott R. Godin 2010-01-29 19:52:26 UTC
Description of problem:
>$ system-config-printer --debug
Connected as user webdragon
refresh
Created subscription 15
<monitor.Monitor instance at 0x9ec9fec>: 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 0x9edd5cc>
New IPPConnection
+<_IPPConnectionThread(Thread-1, initial daemon)>
Awaiting further instructions
+<asyncipp.IPPAuthConnection instance at 0x9edd5ac>
+<asyncpk0.PK0Connection instance at 0x9edd58c>
+<asyncpk0.PK0Connection instance at 0x9edd58c>
+<asyncconn.Connection object at 0x9edd4ac>
fetchDevices
Converted ()/{'exclude_schemes': ['dnssd', 'snmp'], 'reply_handler': <bound method _GetDevicesCall._reply_handler of <cupshelpers.cupshelpers._GetDevicesCall object at 0x9ee298c>>, 'error_handler': <bound method NewPrinterGUI.error_getting_devices of <__main__.NewPrinterGUI instance at 0x9ec93ec>>} to (0, [], ['dnssd', 'snmp'])
+_PK1AsyncMethodCall: <asyncpk0._PK0AsyncMethodCall instance at 0x9ee290c>
+_PK0AsyncMethodCall: <asyncpk0._PK0AsyncMethodCall instance at 0x9ee290c>
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 330, 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.ServiceUnknown: The name org.opensuse.CupsPkHelper.Mechanism was not provided by any .service files
Canceled subscription 15
<monitor.Monitor instance at 0x9ec9fec> exited
-_PK0AsyncMethodCall: <asyncpk0._PK0AsyncMethodCall instance at 0x9ee290c>
-_PK1AsyncMethodCall: <asyncpk0._PK0AsyncMethodCall instance at 0x9ee290c>


Version-Release number of selected component (if applicable):
system-config-printer-1.1.16-8.fc11.i586


How reproducible:
every time

Steps to Reproduce:
1. choose Printer from System>Administration menu in Gnome
2. give root password
3. click "New" button in gui
  
Actual results:
spinning cursor that goes on forever. traceback produced by running from the commandline with --debug option and following the above steps afterwards

Expected results:
normal new printer dialog setup

Additional info:

(guessing from the above that cups was somehow not running I checked, but service cups status returns running)

>$ service cups status
cupsd (pid  1386) is running...

Comment 1 Jiri Popelka 2010-01-31 17:47:19 UTC

*** This bug has been marked as a duplicate of bug 557695 ***


Note You need to log in before you can comment on or make changes to this bug.