I just tried to reproduce the issue and i was wrong in my statement about it taking a short time for gwibber to be able to access the couchdb database instance. I'm guessing the failure happens during the time gwibber is checking for "accounts" & if the don't exists the account creation interface is displayed. I had to attempt to start gwibber 4 times before it would fully start. and created accounts.
Here is the output from my second, third or fourth run at this:
[<replacedUserName>@sdgl07lkktxax ~]$ gwibber
Traceback (most recent call last):
File "/usr/bin/gwibber", line 57, in <module>
client.Client()
File "/usr/lib/python2.6/site-packages/gwibber/client.py", line 332, in __init__
self.w = GwibberClient()
File "/usr/lib/python2.6/site-packages/gwibber/client.py", line 21, in __init__
self.settings = util.SettingsMonitor()
File "/usr/lib/python2.6/site-packages/gwibber/util.py", line 85, in __init__
DEFAULT_SETTINGS)
File "/usr/lib/python2.6/site-packages/gwibber/microblog/util/couch.py", line 71, in __init__
self.database.put_record(CouchRecord({}, record_type, recordid))
File "/usr/lib/python2.6/site-packages/desktopcouch/records/server_base.py", line 171, in put_record
self.db[record.record_id] = record._data
File "/usr/lib/python2.6/site-packages/couchdb/client.py", line 345, in __setitem__
resp, data = self.resource.put(id, content=content)
File "/usr/lib/python2.6/site-packages/couchdb/client.py", line 1027, in put
**params)
File "/usr/lib/python2.6/site-packages/couchdb/client.py", line 1069, in _request
raise ResourceConflict(error)
couchdb.client.ResourceConflict: ('conflict', 'Document update conflict.')
[<replacedUserName>@sdgl06lkktxax ~]$ gwibber
No dbus monitor yet
Updating...
Traceback (most recent call last):
File "/usr/bin/gwibber", line 57, in <module>
client.Client()
File "/usr/lib/python2.6/site-packages/gwibber/client.py", line 332, in __init__
self.w = GwibberClient()
File "/usr/lib/python2.6/site-packages/gwibber/client.py", line 22, in __init__
self.messages = CouchDatabase(COUCH_DB_MESSAGES, create=True)
File "/usr/lib/python2.6/site-packages/desktopcouch/records/server.py", line 58, 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 125, in __init__
self._server.create(database)
File "/usr/lib/python2.6/site-packages/couchdb/client.py", line 210, in create
self.resource.put(validate_dbname(name))
File "/usr/lib/python2.6/site-packages/couchdb/client.py", line 1027, in put
**params)
File "/usr/lib/python2.6/site-packages/couchdb/client.py", line 1071, in _request
raise PreconditionFailed(error)
couchdb.client.PreconditionFailed: ('file_exists', 'The database could not be created, the file already exists.')
[<replacedUserName>@sdgl06lkktxax ~]$ gwibber
No dbus monitor yet
Updating...
ERROR:dbus.proxies:Introspect error on com.Gwibber:/com/gwibber/Service: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 1
2010-01-30 23:09:01,112 - Introspect error on com.Gwibber:/com/gwibber/Service: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 1
DEBUG:dbus.proxies:Executing introspect queue due to error
[<replacedUserName>@sdgl06lkktxax ~]$
I just tried to reproduce the issue and i was wrong in my statement about it taking a short time for gwibber to be able to access the couchdb database instance. I'm guessing the failure happens during the time gwibber is checking for "accounts" & if the don't exists the account creation interface is displayed. I had to attempt to start gwibber 4 times before it would fully start. and created accounts.
Here is the output from my second, third or fourth run at this: ame>@sdgl07lkkt xax ~]$ gwibber python2. 6/site- packages/ gwibber/ client. py", line 332, in __init__ python2. 6/site- packages/ gwibber/ client. py", line 21, in __init__ nitor() python2. 6/site- packages/ gwibber/ util.py" , line 85, in __init__ SETTINGS) python2. 6/site- packages/ gwibber/ microblog/ util/couch. py", line 71, in __init__ database. put_record( CouchRecord( {}, record_type, recordid)) python2. 6/site- packages/ desktopcouch/ records/ server_ base.py" , line 171, in put_record db[record. record_ id] = record._data python2. 6/site- packages/ couchdb/ client. py", line 345, in __setitem__ put(id, content=content) python2. 6/site- packages/ couchdb/ client. py", line 1027, in put python2. 6/site- packages/ couchdb/ client. py", line 1069, in _request t(error) client. ResourceConflic t: ('conflict', 'Document update conflict.')
[<replacedUserN
Traceback (most recent call last):
File "/usr/bin/gwibber", line 57, in <module>
client.Client()
File "/usr/lib/
self.w = GwibberClient()
File "/usr/lib/
self.settings = util.SettingsMo
File "/usr/lib/
DEFAULT_
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
resp, data = self.resource.
File "/usr/lib/
**params)
File "/usr/lib/
raise ResourceConflic
couchdb.
[<replacedUserN ame>@sdgl06lkkt xax ~]$ gwibber python2. 6/site- packages/ gwibber/ client. py", line 332, in __init__ python2. 6/site- packages/ gwibber/ client. py", line 22, in __init__ COUCH_DB_ MESSAGES, create=True) python2. 6/site- packages/ desktopcouch/ records/ server. py", line 58, in __init__ class=server_ class, oauth_tokens= oauth_tokens, ctx=ctx) python2. 6/site- packages/ desktopcouch/ records/ server_ base.py" , line 125, in __init__ _server. create( database) python2. 6/site- packages/ couchdb/ client. py", line 210, in create resource. put(validate_ dbname( name)) python2. 6/site- packages/ couchdb/ client. py", line 1027, in put python2. 6/site- packages/ couchdb/ client. py", line 1071, in _request led(error) client. PreconditionFai led: ('file_exists', 'The database could not be created, the file already exists.')
No dbus monitor yet
Updating...
Traceback (most recent call last):
File "/usr/bin/gwibber", line 57, in <module>
client.Client()
File "/usr/lib/
self.w = GwibberClient()
File "/usr/lib/
self.messages = CouchDatabase(
File "/usr/lib/
server_
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
**params)
File "/usr/lib/
raise PreconditionFai
couchdb.
[<replacedUserN ame>@sdgl06lkkt xax ~]$ gwibber proxies: Introspect error on com.Gwibber: /com/gwibber/ Service: dbus.exceptions .DBusException: org.freedesktop .DBus.Error. Spawn.ChildExit ed: Launch helper exited with unknown return code 1 /com/gwibber/ Service: dbus.exceptions .DBusException: org.freedesktop .DBus.Error. Spawn.ChildExit ed: Launch helper exited with unknown return code 1 proxies: Executing introspect queue due to error ame>@sdgl06lkkt xax ~]$
No dbus monitor yet
Updating...
ERROR:dbus.
2010-01-30 23:09:01,112 - Introspect error on com.Gwibber:
DEBUG:dbus.
[<replacedUserN