Crash at startup in Natty 11.04

Bug #768664 reported by markba
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gmail Watcher
Fix Released
Undecided
Unassigned

Bug Description

After startup, the gmailwatcher screen does not come up.
Version of gmailwatcher is 11.03.1
Installed by ppa:loneowais/ppa

In the terminal, this is what is shows:

Traceback (most recent call last):
  File "/usr/bin/gmailwatcher", line 28, in <module>
    from gmailwatcher import shared,indicator,template,prompts,gmail,AboutGmailwatcherDialog,PreferencesGmailwatcherDialog
  File "/usr/lib/pymodules/python2.7/gmailwatcher/template.py", line 2, in <module>
    from gmailwatcher import PreferencesGmailwatcherDialog
  File "/usr/lib/pymodules/python2.7/gmailwatcher/PreferencesGmailwatcherDialog.py", line 17, in <module>
    from desktopcouch.records.server import CouchDatabase
  File "/usr/lib/pymodules/python2.7/desktopcouch/records/server.py", line 9, in <module>
    from desktopcouch.application.server import *
  File "/usr/lib/pymodules/python2.7/desktopcouch/application/server.py", line 29, in <module>
    from desktopcouch.application.local_files import DEFAULT_CONTEXT
  File "/usr/lib/pymodules/python2.7/desktopcouch/application/local_files.py", line 48, in <module>
    raise ImportError("Could not find couchdb")

ImportError: Could not find couchdb

markba (mark-baaijens)
description: updated
description: updated
Revision history for this message
Owais Lone (loneowais) wrote :

Please upgrade to 11.04 and confirm if the bug still exists.

Changed in gmailwatcher:
status: New → Fix Released
Revision history for this message
markba (mark-baaijens) wrote :

Still no go with 11.04 of gmailwatcher. The error command is different though:

$ gmailwatcher
Traceback (most recent call last):
  File "/usr/bin/gmailwatcher", line 66, in <module>
    load_preferences()
  File "/usr/bin/gmailwatcher", line 54, in load_preferences
    dlg = PreferencesGmailwatcherDialog.PreferencesGmailwatcherDialog()
  File "/usr/lib/pymodules/python2.7/gmailwatcher/PreferencesGmailwatcherDialog.py", line 43, in __new__
    new_object.finish_initializing(builder)
  File "/usr/lib/pymodules/python2.7/gmailwatcher/PreferencesGmailwatcherDialog.py", line 82, in finish_initializing
    self._database = CouchDatabase(self._db_name, create=True)
  File "/usr/lib/pymodules/python2.7/desktopcouch/application/server.py", line 101, in __init__
    oauth_tokens=oauth_tokens, ctx=ctx)
  File "/usr/lib/pymodules/python2.7/desktopcouch/application/server.py", line 75, in __init__
    oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory)
  File "/usr/lib/pymodules/python2.7/desktopcouch/records/database.py", line 123, in __init__
    self._reconnect()
  File "/usr/lib/pymodules/python2.7/desktopcouch/application/server.py", line 81, in _reconnect
    port = find_port(ctx=self.ctx)
  File "/usr/lib/pymodules/python2.7/desktopcouch/application/platform/__init__.py", line 48, in find_port
    return platform_find_port(pid, ctx)
  File "/usr/lib/pymodules/python2.7/desktopcouch/application/platform/linux/__init__.py", line 100, in platform_find_port
    proxy = bus.get_object('org.desktopcouch.CouchDB', '/')
  File "/usr/lib/pymodules/python2.7/dbus/bus.py", line 244, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/usr/lib/pymodules/python2.7/dbus/proxies.py", line 241, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/lib/pymodules/python2.7/dbus/bus.py", line 183, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/usr/lib/pymodules/python2.7/dbus/bus.py", line 281, in start_service_by_name
    'su', (bus_name, flags)))
  File "/usr/lib/pymodules/python2.7/dbus/connection.py", line 630, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.desktopcouch.CouchDB was not provided by any .service files

Revision history for this message
Owais Lone (loneowais) wrote :

Do you have desktopcouch and python-desktopcouch installed?

Revision history for this message
markba (mark-baaijens) wrote :

Package desktopcouch was NOT installed. Apparantly this dependency is not in the installation package. Under 10.10, this package is installed automatically. However, I cannot recall if this was done by the gmailwatcher package. Maybe it was already there before installing gmailwatcher.
Package python-desktopcouch was already installed (by automatic dependency).

After installation of desktopcouch, the indicator notifies me that there is no configuration yet (which is correct). Trying to start gmailwatcher from the indicator-button does nothing. Starting gmailwatcher from the terminal just does nothing: no error messages, no screen but it stays there as if it's in a infinite loop.

Revision history for this message
markba (mark-baaijens) wrote :

After restart, the interface was displayed. For the dependency-issue, I'll test this is an clean situation and I report a bug if needed. This bug can be closed.

Revision history for this message
Owais Lone (loneowais) wrote :

Thanks for you testing. I'm working on it to make it as less dependent on other packages as possible. Probably I'll get rid of couchdb all together.

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.