File synchronization fails with DBusException NoReply

Bug #851932 reported by Andrei Sosnin
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Confirmed
Undecided
Unassigned
ubuntuone-client (Ubuntu)
Confirmed
Undecided
Ubuntu One Client Engineering team

Bug Description

Possibly related to #672884.

I've discovered this issue, when Nautilus suddenly *became completely unresponsive*, preventing me from browsing the filesystem with it. Even a complete system restart didn't help.

After a bit of poking around for the possible reasons, Ubuntu Control Panel gave me that error: "DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply." in bold red in the window under both file sync and shared directory list tabs. As I had some pending file changes, it was obviously also trying to update the files, which was also constantly failing. The logs are given below.

Uninstalling ubuntuone-client-gnome helped me get back Nautilus to work, so that package is obviously related. Still, control panel reports the same error and I'm still getting the same exceptions in the syndaemon-exceptions.log.

Here's my ~/.cache/ubuntuone/log/syncdaemon.log:

2011-09-16 15:30:14,915 - ubuntuone.SyncDaemon.Main - INFO - Starting Ubuntu One client version 1.6.2
2011-09-16 15:30:14,915 - ubuntuone.SyncDaemon.tritcask - INFO - Initializing Tritcask on: /home/asosnin/.local/share/ubuntuone/syncdaemon/tritcask
2011-09-16 15:30:14,915 - ubuntuone.SyncDaemon.tritcask - INFO - found 3 data files and 0 dead files
2011-09-16 15:30:14,918 - ubuntuone.SyncDaemon.tritcask - INFO - keydir ready! (keys: 52)
2011-09-16 15:30:14,919 - ubuntuone.SyncDaemon.fsm - INFO - loading updated metadata
2011-09-16 15:30:14,924 - ubuntuone.SyncDaemon.fsm - INFO - initialized: idx_path: 50, idx_node_id: 50, shares: 2
2011-09-16 15:30:14,992 - ubuntuone.SyncDaemon.filesystem_notifications.GeneralProcessor - INFO - Ignoring files: ['\\A#.*\\Z', '\\A.*~\\Z', '\\A.*\\.py[oc]\\Z', '\\A.*\\.sw[nopx]\\Z', '\\A.*\\.swpx\\Z', '\\A\\..*\\.tmp\\Z', '\\A\\.~lock\\..*#\\Z']
2011-09-16 15:30:15,055 - ubuntuone.SyncDaemon.HQ - INFO - HashQueue: _hasher started

I also have some seemingly strange behavior in controlpanel.log:

2011-09-16 15:33:21,356 - ubuntuone.controlpanel.dbus_service - DEBUG - FileSyncStatusChanged: args (<ubuntuone.controlpanel.dbus_service.ControlPanelBackend at /preferences at 0x22ee050>, 'file-sync-starting'), kwargs {}.
2011-09-16 15:33:21,357 - ubuntuone.controlpanel.gtk.gui - INFO - on_file_sync_status_starting: args (<FileSyncStatus object at 0x28457d0 (GtkHBox at 0x29c14e0)>, dbus.String(u'doing local rescan (LOCAL_RESCAN)')), kwargs {}.
2011-09-16 15:33:21,358 - ubuntuone.controlpanel.gtk.gui - DEBUG - on_file_sync_status_changed: args (<FileSyncService object at 0x29fd460 (GtkVBox at 0x29f8e70)>, dbus.String(u'file-sync-starting')), kwargs {}.
2011-09-16 15:33:21,358 - ubuntuone.controlpanel.gtk.gui - INFO - FileSyncService: on_file_sync_status_changed: status dbus.String(u'file-sync-starting'), enabled? True
2011-09-16 15:33:22,423 - ubuntuone.controlpanel.dbus_service - INFO - process_status: new status received {'status': 'file-sync-starting', 'message': u'doing local rescan (LOCAL_RESCAN)'}
2011-09-16 15:33:22,423 - ubuntuone.controlpanel.dbus_service - DEBUG - FileSyncStatusStarting: args (<ubuntuone.controlpanel.dbus_service.ControlPanelBackend at /preferences at 0x22ee050>, u'doing local rescan (LOCAL_RESCAN)'), kwargs {}.
2011-09-16 15:33:22,424 - ubuntuone.controlpanel.dbus_service - DEBUG - FileSyncStatusChanged: args (<ubuntuone.controlpanel.dbus_service.ControlPanelBackend at /preferences at 0x22ee050>, 'file-sync-starting'), kwargs {}.
2011-09-16 15:33:22,425 - ubuntuone.controlpanel.gtk.gui - INFO - on_file_sync_status_starting: args (<FileSyncStatus object at 0x28457d0 (GtkHBox at 0x29c14e0)>, dbus.String(u'doing local rescan (LOCAL_RESCAN)')), kwargs {}.
2011-09-16 15:33:22,430 - ubuntuone.controlpanel.gtk.gui - DEBUG - on_file_sync_status_changed: args (<FileSyncService object at 0x29fd460 (GtkVBox at 0x29f8e70)>, dbus.String(u'file-sync-starting')), kwargs {}.
2011-09-16 15:33:22,430 - ubuntuone.controlpanel.gtk.gui - INFO - FileSyncService: on_file_sync_status_changed: status dbus.String(u'file-sync-starting'), enabled? True

This is what it looks when I called

$ cat syncdaemon-exceptions.log*
[...]
2011-09-16 15:36:06,047 - ubuntuone.SyncDaemon - ERROR - Unexpected error
Traceback (most recent call last):
 File "/usr/lib/ubuntuone-client/ubuntuone-syncdaemon", line 190, in <module>
   main(sys.argv)
 File "/usr/lib/ubuntuone-client/ubuntuone-syncdaemon", line 175, in main
   main.start()
 File "/usr/lib/pymodules/python2.7/ubuntuone-client/ubuntuone/syncdaemon/main.py", line 200, in start
   self.event_q.add_watch(self.root_dir)
 File "/usr/lib/pymodules/python2.7/ubuntuone-client/ubuntuone/syncdaemon/event_queue.py", line 215, in add_watch
   self.monitor.add_watch(dirpath)
 File "/usr/lib/pymodules/python2.7/ubuntuone-client/ubuntuone/platform/linux/filesystem_notifications.py", line 459, in add_watch
   w_dict[dirpath] = result[dirpath]
KeyError: '/home/asosnin/Ubuntu One'

      $ rm -rf '~/Ubuntu One'

didn't help to solve the issue.

That last log's exception sure looks like a bug to me and might as well be the culprit of the nautilus misbehavior

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: ubuntuone-client 1.6.2-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-11.48-generic 2.6.38.8
Uname: Linux 2.6.38-11-generic x86_64
NonfreeKernelModules: wl
Architecture: amd64
Date: Fri Sep 16 17:00:34 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ubuntuone-client
UbuntuOneSyncdaemonExceptionsLog:

UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Andrei Sosnin (deemoowoor) wrote :
description: updated
tags: added: syncdaemon ubuntuone
tags: added: keyerror python
Revision history for this message
Andrei Sosnin (deemoowoor) wrote :

I've tested it on another one of my computers, which I sync using Ubuntu One and it looks like it's in the same situation, except that file sync went fine up to the point, where the first computer failed. The error I get on the second machine is different though:

2011-09-16 20:46:03,278 - dbus.proxies - ERROR - Introspect error on :1.85:/org/gnome/zeitgeist/log/activity: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
2011-09-16 20:46:03,279 - ubuntuone.eventlog.zglog - ERROR - Zeitgeist support not started:
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/ubuntuone-client/ubuntuone/eventlog/zglog.py", line 35, in __init__
    self.client = ZeitgeistClient()
  File "/usr/lib/pymodules/python2.7/zeitgeist/client.py", line 361, in __init__
    self._iface = ZeitgeistDBusInterface()
  File "/usr/lib/pymodules/python2.7/zeitgeist/client.py", line 235, in __init__
    self.INTERFACE_NAME, self.OBJECT_PATH)
  File "/usr/lib/pymodules/python2.7/zeitgeist/client.py", line 149, in __init__
    self.__methods, self.__signals = self.get_members(proxy.Introspect())
  File "/usr/lib/pymodules/python2.7/dbus/proxies.py", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/pymodules/python2.7/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/pymodules/python2.7/dbus/connection.py", line 630, in call_blocking
    message, timeout)
DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.85 was not provided by any .service files

Could it be due to some broken configuration on one of the hosts?

dobey (dobey)
affects: ubuntuone-client-gnome → ubuntuone-client
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntuone-client (Ubuntu):
status: New → Confirmed
Rick McBride (rmcbride)
Changed in ubuntuone-client (Ubuntu):
assignee: nobody → Ubuntu One Desktop+ team (ubuntuone-desktop+)
Changed in ubuntuone-client:
status: New → Confirmed
Revision history for this message
Tamás Unyatinszki (unyatinszkitamas) wrote :

i seem to have the same problem with a fresh install of 12.04.1: ubuntu one client doesn't start (it worked in the beggining but not anymore). The following error message is in the syncdaemon-exceptions.log file:

2012-10-27 00:24:01,330 - twisted - ERROR - Unhandled error in Deferred:
2012-10-27 00:24:01,341 - twisted - ERROR - Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1181, in unwindGenerator
    return _inlineCallbacks(None, gen, Deferred())
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1039, in _inlineCallbacks
    result = g.send(result)
  File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/syncdaemon/main.py", line 285, in quit
    yield self.shutdown(with_restart)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1181, in unwindGenerator
    return _inlineCallbacks(None, gen, Deferred())
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1039, in _inlineCallbacks
    result = g.send(result)
  File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/syncdaemon/main.py", line 235, in shutdown
    self.external.shutdown(with_restart)
  File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/logger.py", line 283, in inner
    res = f(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/syncdaemon/interaction_interfaces.py", line 1222, in shutdown
    self.interface.shutdown(with_restart=with_restart)
  File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/platform/linux/dbus_interface.py", line 875, in shutdown
    self.bus.release_name(self.busName.get_name())
  File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 320, in release_name
    's', (name,))
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

Was there a resolution to this issue?

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.