Can't get desktopcouch-service to start

Bug #546751 reported by DimStar
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
desktopcouch
New
Undecided
Unassigned

Bug Description

Whatever I do, I can not get my desktopcouch-service to start up.
To be sure nothing is lying around causing mess, I delete the desktop-couch stuff first.

$> rm -rf .local/share/desktop-couch/ .config/desktop-couch/ .cache/desktop-couch/
$> /usr/lib/desktopcouch/desktopcouch-service
2010-03-25 10:38:02,427 - Starting up personal couchdb.
Apache CouchDB has started, time to relax.
Browse your desktop CouchDB at file:///home/user/.local/share/desktop-couch/couchdb.html
2010-03-25 10:38:03,467 - Unable to set arguments (-1, -1, dbus.UInt32(0L), 'desktopcouch 27821f5e-142f-43e3-ada7-96424bb3375d', '_couchdb_location._tcp', '', '', dbus.UInt16(57292), []) according to signature None: <type 'exceptions.ValueError'>: Unable to guess signature from an empty list
2010-03-25 10:38:03,468 - uncaught exception makes us shut down.
Traceback (most recent call last):
  File "/usr/lib/desktopcouch/desktopcouch-service", line 93, in main
    replication_runtime = replication.set_up(lambda: port)
  File "/usr/lib/python2.6/site-packages/desktopcouch/replication.py", line 226, in set_up
    b.publish()
  File "/usr/lib/python2.6/site-packages/desktopcouch/pair/couchdb_pairing/dbus_io.py", line 85, in publish
    dbus.UInt16(self.port), self.text)
  File "/usr/lib/python2.6/site-packages/dbus/proxies.py", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python2.6/site-packages/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/python2.6/site-packages/dbus/connection.py", line 612, in call_blocking
    message.append(signature=signature, *args)
ValueError: Unable to guess signature from an empty list
2010-03-25 10:38:03,470 - shutting down personal couchdb.
Apache CouchDB has been killed.

Surprisingly enough, the 'error' is not consistent when trying to reproduce:

$> rm -rf .local/share/desktop-couch/ .config/desktop-couch/ .cache/desktop-couch/
$> /usr/lib/desktopcouch/desktopcouch-service
2010-03-25 10:38:47,925 - Starting up personal couchdb.
Apache CouchDB has started, time to relax.
Browse your desktop CouchDB at file:///home/user/.local/share/desktop-couch/couchdb.html
2010-03-25 10:38:48,719 - uncaught exception makes us shut down.
Traceback (most recent call last):
  File "/usr/lib/desktopcouch/desktopcouch-service", line 93, in main
    replication_runtime = replication.set_up(lambda: port)
  File "/usr/lib/python2.6/site-packages/desktopcouch/replication.py", line 220, in set_up
    couchdb_io.mkuri("localhost", int(port)), create=True)
  File "/usr/lib/python2.6/site-packages/desktopcouch/pair/couchdb_pairing/couchdb_io.py", line 155, in get_my_host_unique_id
    db = _get_db("management", uri=uri, ctx=ctx)
  File "/usr/lib/python2.6/site-packages/desktopcouch/pair/couchdb_pairing/couchdb_io.py", line 62, in _get_db
    return server.CouchDatabase(name, create=create, uri=uri, ctx=ctx)
  File "/usr/lib/python2.6/site-packages/desktopcouch/records/server.py", line 57, in __init__
    server_class=server_class, oauth_tokens=oauth_tokens, ctx=ctx)
  File "/usr/lib/python2.6/site-packages/desktopcouch/records/server_base.py", line 147, in __init__
    if database not in self._server:
  File "/usr/lib64/python2.6/site-packages/couchdb/client.py", line 120, in __contains__
    self.resource.head(validate_dbname(name))
  File "/usr/lib64/python2.6/site-packages/couchdb/client.py", line 1019, in head
    return self._request('HEAD', path, headers=headers, **params)
  File "/usr/lib64/python2.6/site-packages/couchdb/client.py", line 1073, in _request
    raise ServerError((status_code, error))
ServerError: (500, '')
2010-03-25 10:38:48,722 - shutting down personal couchdb.
Apache CouchDB has been killed.

There are even more variations of this happening (trying to just restart it afterwards typically does not help in any way to get to another error).

Revision history for this message
DimStar (dominique-launchpad-net) wrote :

Forgot to mention: Started 'experimenting' with desktopcouch 0.6.3, as this failed I forwarded to bzr rev 142 (was latest as of yesterday evening)

Revision history for this message
James Ogley (riggwelter) wrote :
tags: added: desktop+ desktopcouch
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.