Skip to content

Instantly share code, notes, and snippets.

@jamii
Created May 3, 2011 14:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamii/953472 to your computer and use it in GitHub Desktop.
Save jamii/953472 to your computer and use it in GitHub Desktop.
jamie@alien:~$ pkill ubuntuone
jamie@alien:~$ pkill couch
jamie@alien:~$ pkill beam
jamie@alien:~$ pgrep beam
jamie@alien:~$ pgrep couch
jamie@alien:~$ pgrep ubuntu
15317
jamie@alien:~$ pkill ubuntu-sso
jamie@alien:~$ rm -rf ~/.cache/desktop-couch ~/.config/desktop-couch ~/.local/share/desktop-couch
jamie@alien:~$ ubuntuone-preferences
ERROR:dbus.proxies:Introspect error on com.ubuntuone.SyncDaemon:/config: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/lib/ubuntuone-client/ubuntuone-syncdaemon exited with status 1
Apache CouchDB has started, time to relax.
Browse your desktop CouchDB at file:///home/jamie/.local/share/desktop-couch/couchdb.html
ERROR:dbus.connection:Exception in handler for D-Bus signal:
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 214, in maybe_handle_message
self._handler(*args, **kwargs)
File "/usr/bin/ubuntuone-preferences", line 1059, in got_newcredentials
self.present()
File "/usr/bin/ubuntuone-preferences", line 1039, in present
self.dialog.connect_desktopcouch_exclusion()
File "/usr/bin/ubuntuone-preferences", line 713, in connect_desktopcouch_exclusion
self.dcouch = dcouch.ReplicationExclusion()
File "/usr/lib/python2.6/dist-packages/desktopcouch/replication_services/ubuntuone.py", line 124, in __init__
ctx=ctx)
File "/usr/lib/python2.6/dist-packages/desktopcouch/records/server.py", line 56, in __init__
server_class=server_class, oauth_tokens=oauth_tokens, ctx=ctx)
File "/usr/lib/python2.6/dist-packages/desktopcouch/records/server_base.py", line 155, in __init__
self._reconnect()
File "/usr/lib/python2.6/dist-packages/desktopcouch/records/server.py", line 60, in _reconnect
port = desktopcouch.find_port(ctx=self.ctx)
File "/usr/lib/python2.6/dist-packages/desktopcouch/__init__.py", line 106, in find_port
return _direct_access_find_port(pid=pid, ctx=ctx)
File "/usr/lib/python2.6/dist-packages/desktopcouch/__init__.py", line 131, in __find_port__linux
pid = find_pid(start_if_not_running=True, ctx=ctx)
File "/usr/lib/python2.6/dist-packages/desktopcouch/__init__.py", line 93, in find_pid
start_local_couchdb.update_pairing_service()
File "/usr/lib/python2.6/dist-packages/desktopcouch/start_local_couchdb.py", line 228, in update_pairing_service
pair_with_ubuntuone()
File "/usr/lib/python2.6/dist-packages/desktopcouch/pair/couchdb_pairing/ubuntuone_pairing.py", line 41, in pair_with_ubuntuone
management_db = CouchDatabase("management", create=True)
File "/usr/lib/python2.6/dist-packages/desktopcouch/records/server.py", line 56, in __init__
server_class=server_class, oauth_tokens=oauth_tokens, ctx=ctx)
File "/usr/lib/python2.6/dist-packages/desktopcouch/records/server_base.py", line 155, in __init__
self._reconnect()
File "/usr/lib/python2.6/dist-packages/desktopcouch/records/server.py", line 64, in _reconnect
super(CouchDatabase, self)._reconnect(uri=uri)
File "/usr/lib/python2.6/dist-packages/desktopcouch/records/server_base.py", line 187, in _reconnect
if self._database_name not in self._server:
File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 124, in __contains__
self.resource.head(validate_dbname(name))
File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 981, in head
return self._request('HEAD', path, headers=headers, **params)
File "/usr/lib/pymodules/python2.6/couchdb/client.py", line 1035, in _request
raise ServerError((status_code, error))
ServerError: (401, '')
ERROR:ubuntuone-preferences:org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/lib/ubuntuone-client/ubuntuone-syncdaemon exited with status 1
ERROR:ubuntuone-preferences:org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/lib/ubuntuone-client/ubuntuone-syncdaemon exited with status 1
^Cjamie@alien:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment