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.
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.