← Back to team overview

gtg team mailing list archive

[Bug 572502] Re: ImportError: No module named couchdb

 

eh, I didn't read the report till the end. Still, "gtg 0.2.4-1ubuntu1", which is the same as my version, do not mention couchdb. The only implemented backend is "localfile".
It seems you have a spurious file under /usr/share/gtg/GTG/backends/.

Try to remove anything which is not in here:

/usr/share/gtg/GTG/backends/$ ls
__init__.py  __init__.pyc  localfile.py  localfile.pyc

-- 
ImportError: No module named couchdb
https://bugs.launchpad.net/bugs/572502
You received this bug notification because you are a member of Gtg
contributors, which is subscribed to Getting Things GNOME!.

Status in Getting Things GNOME!: Incomplete
Status in “gtg” package in Ubuntu: Invalid

Bug description:
Binary package hint: gtg

Admittedly, I haven't tested GTG during the Lucid development process much, but wanted to switch back to it.

I have experienced the same result after mv .config/gtg to a backup dir.

greg@zen:~$ gtg -d
2010-04-30 13:09:21,148 - DEBUG - gtg:main:105 - Debug output enabled.
Traceback (most recent call last):
  File "/usr/bin/gtg", line 52, in <module>
    sys.exit(GTG.gtg.main(options, args))
  File "/usr/share/gtg/GTG/gtg.py", line 109, in main
    backends_list = config.get_backends_list()
  File "/usr/share/gtg/GTG/core/__init__.py", line 138, in get_backends_list
    module   = __import__(module_name)
ImportError: No module named couchdb


greg@zen:~/.config$ apt-cache policy python-couchdb python-desktopcouch gtg
python-couchdb:
  Installed: 0.6-1
  Candidate: 0.6-1
  Version table:
 *** 0.6-1 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status
python-desktopcouch:
  Installed: 0.6.4-0ubuntu3
  Candidate: 0.6.4-0ubuntu3
  Version table:
 *** 0.6.4-0ubuntu3 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status
gtg:
  Installed: 0.2.4-1ubuntu1
  Candidate: 0.2.4-1ubuntu1
  Version table:
 *** 0.2.4-1ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/universe Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: gtg 0.2.4-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic x86_64
Architecture: amd64
CheckboxSubmission: 728e74e7cabefd6ace4aa97ae53a1ff2
CheckboxSystem: bb422ca46d02494cdbc459927a98bc2f
Date: Fri Apr 30 13:10:15 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100113)
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: gtg





References