I came across this bug just now. Initially (and with the desktopcouch
package installed):

$ ls /usr/lib/python2.6/dist-packages/desktopcouch/ -l
total 24
drwxr-xr-x 2 root root 4096 2010-10-09 11:11 bookmarks
drwxr-xr-x 3 root root 4096 2010-10-09 11:11 contacts
drwxr-xr-x 2 root root 4096 2010-10-09 11:11 notes
drwxr-xr-x 2 root root 4096 2010-10-09 11:11 records
drwxr-xr-x 2 root root 4096 2010-10-09 11:11 replication_services
drwxr-xr-x 2 root root 4096 2010-10-09 11:11 tasks

I was expecting at least a __init__.py, so I then simply did "sudo
aptitude reinstall desktopcouch", and then:

$ ls /usr/lib/python2.6/dist-packages/desktopcouch/ -l
total 72
drwxr-xr-x 2 root root  4096 2010-11-20 10:55 bookmarks
drwxr-xr-x 3 root root  4096 2010-11-20 10:55 contacts
lrwxrwxrwx 1 root root    44 2010-11-20 10:55 __init__.py -> 
/usr/share/pyshared/desktopcouch/__init__.py
-rw-r--r-- 1 root root  5958 2010-11-20 10:55 __init__.pyc
lrwxrwxrwx 1 root root    47 2010-11-20 10:55 local_files.py -> 
/usr/share/pyshared/desktopcouch/local_files.py
-rw-r--r-- 1 root root 13173 2010-11-20 10:55 local_files.pyc
drwxr-xr-x 2 root root  4096 2010-11-20 10:55 notes
drwxr-xr-x 3 root root  4096 2010-11-20 10:55 pair
drwxr-xr-x 2 root root  4096 2010-11-20 10:55 records
lrwxrwxrwx 1 root root    47 2010-11-20 10:55 replication.py -> 
/usr/share/pyshared/desktopcouch/replication.py
-rw-r--r-- 1 root root  6478 2010-11-20 10:55 replication.pyc
drwxr-xr-x 2 root root  4096 2010-11-20 10:55 replication_services
lrwxrwxrwx 1 root root    55 2010-11-20 10:55 start_local_couchdb.py -> 
/usr/share/pyshared/desktopcouch/start_local_couchdb.py
-rw-r--r-- 1 root root  7956 2010-11-20 10:55 start_local_couchdb.pyc
lrwxrwxrwx 1 root root    54 2010-11-20 10:55 stop_local_couchdb.py -> 
/usr/share/pyshared/desktopcouch/stop_local_couchdb.py
-rw-r--r-- 1 root root   992 2010-11-20 10:55 stop_local_couchdb.pyc
drwxr-xr-x 2 root root  4096 2010-11-20 10:55 tasks

Now running "import desktopcouch" in python works fine. I don't know why
this happened, but the desktop couch service now starts with
"/usr/lib/desktopcouch/desktopcouch-service &".

Hopefully this helps those who know better to identify the source of the
problem!

-- 
desktopcouch-service crashed with ImportError in <module>()
https://bugs.launchpad.net/bugs/461356
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to