desktopcouch-pair crashed with DBusException in call_blocking()

Bug #564068 reported by Guillermo Gonzalez
This bug report is a duplicate of:  Bug #504282: desktopcouch should not require Avahi. Edit Remove
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
desktopcouch
Confirmed
Undecided
Ubuntu One Client Engineering team
desktopcouch (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: desktopcouch

if Avahi service isn't running, e.g: a .local domain is defined in the network. desktopcouch-pair fails to start with the following error.

guillermo@naug:~$ desktopcouch-pair
2010-04-15 14:30:12,434 [5807] root:DEBUG: starting couchdb pairing tool
2010-04-15 14:30:12,573 [5807] root:DEBUG: found 1 self_identity records
2010-04-15 14:30:12,574 [5807] root:DEBUG: paired back-connecting machine count is 2
2010-04-15 14:30:12,574 [5807] root:DEBUG: exiting couchdb pairing tool
Traceback (most recent call last):
  File "/usr/bin/desktopcouch-pair", line 908, in <module>
    main(sys.argv)
  File "/usr/bin/desktopcouch-pair", line 897, in main
    pick_or_listen = PickOrListen()
  File "/usr/bin/desktopcouch-pair", line 765, in __init__
    self.pick_pane = self.create_pick_pane(top_vbox)
  File "/usr/bin/desktopcouch-pair", line 560, in create_pick_pane
    remove_service_from_list, show_local=False)
  File "/usr/lib/python2.6/dist-packages/desktopcouch/pair/couchdb_pairing/dbus_io.py", line 239, in discover_services
    bus, server = get_dbus_bus_server()
  File "/usr/lib/python2.6/dist-packages/desktopcouch/pair/couchdb_pairing/dbus_io.py", line 54, in get_dbus_bus_server
    root_name = bus.get_object(avahi.DBUS_NAME, avahi.DBUS_PATH_SERVER)
  File "/usr/lib/pymodules/python2.6/dbus/bus.py", line 244, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 241, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/lib/pymodules/python2.6/dbus/bus.py", line 183, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/usr/lib/pymodules/python2.6/dbus/bus.py", line 281, in start_service_by_name
    'su', (bus_name, flags)))
  File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 620, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Avahi was not provided by any .service files

ProblemType: Crash
DistroRelease: Ubuntu 10.04
Package: desktopcouch-tools 0.6.4-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-19.28-generic 2.6.32.10+drm33.1
Uname: Linux 2.6.32-19-generic x86_64
NonfreeKernelModules: wl nvidia
Architecture: amd64
Date: Thu Apr 15 14:51:45 2010
ExecutablePath: /usr/bin/desktopcouch-pair
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100113)
InterpreterPath: /usr/bin/python2.6
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/desktopcouch-pair
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/desktopcouch-pair']
SourcePackage: desktopcouch
Title: desktopcouch-pair crashed with DBusException in call_blocking()
UserGroups: adm admin cdrom dialout libvirtd lpadmin plugdev sambashare

Revision history for this message
Guillermo Gonzalez (verterok) wrote :
visibility: private → public
Changed in desktopcouch:
status: New → Confirmed
assignee: nobody → Ubuntu One Desktop+ team (ubuntuone-desktop+)
tags: removed: need-duplicate-check
Revision history for this message
Chad Miller (cmiller) wrote :

There's no way to recover from this. I can, at best, catch the error, and quit the pairing tool.

dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Avahi was not provided by any .service files

That's pretty low level. Avahi doesn't know about itself.h

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.