Cannot import desktopcouch in server environment

Bug #591039 reported by Jonathan Lange
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
desktopcouch
Fix Released
Medium
Chad Miller
desktopcouch (Ubuntu)
Fix Released
Medium
Chad Miller

Bug Description

On my Ubuntu 10.04 LTS linode server, running the packaged version of desktopcouch, I get the following error when I try to import desktopcouch:

$ python
Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import desktopcouch
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.6/dist-packages/desktopcouch/__init__.py", line 20, in <module>
    from desktopcouch.start_local_couchdb import process_is_couchdb, read_pidfile
  File "/usr/lib/python2.6/dist-packages/desktopcouch/start_local_couchdb.py", line 38, in <module>
    from desktopcouch import local_files
  File "/usr/lib/python2.6/dist-packages/desktopcouch/local_files.py", line 297, in <module>
    xdg_base_dirs.save_config_path("desktop-couch"))
  File "/usr/lib/python2.6/dist-packages/desktopcouch/local_files.py", line 237, in __init__
    self.configuration = _Configuration(self)
  File "/usr/lib/python2.6/dist-packages/desktopcouch/local_files.py", line 91, in __init__
    {'desktopcouch': 'basic'})
gnomekeyring.IOError

This is even though I have gnome-keyring installed.

Revision history for this message
Jonathan Lange (jml) wrote :

From the IRC conversation about this:

<CardinalFang> Well, that is a problem, jml. There's a configuration singleton that we make for the default execution context, and making it involves reading from the keyring, so far. If I were smarter, I would have made it lazily load so that no use of that execution context config would mean no gnomekeyring were required. I'm too dumb to have thought of that at the time.

Chad Miller (cmiller)
Changed in desktopcouch:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Chad Miller (cmiller)
Changed in desktopcouch:
milestone: none → 1.0
Changed in desktopcouch (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Chad Miller (cmiller)
milestone: none → natty-alpha-1
Chad Miller (cmiller)
Changed in desktopcouch:
milestone: 1.0 → 1.1
Changed in desktopcouch (Ubuntu):
milestone: natty-alpha-1 → natty-alpha-2
Changed in desktopcouch (Ubuntu):
milestone: natty-alpha-2 → natty-alpha-3
Changed in desktopcouch (Ubuntu):
milestone: natty-alpha-3 → ubuntu-11.04-beta-1
Chad Miller (cmiller)
Changed in desktopcouch (Ubuntu):
status: Confirmed → Fix Released
Changed in desktopcouch:
status: Confirmed → Fix Released
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.