Package: trac
Version: 0.9.4-1
Severity: normal

I realize this is a bit early, because Trac 0.9.4 is still incoming, but
nonetheless. :)

After upgrading to Trac 0.9.4 trac-admin gives the following error:

$ trac-admin /var/trac/project
Traceback (most recent call last):
  File "/usr/bin/trac-admin", line 21, in ?
    from trac.scripts.admin import run
  File "/usr/lib/python2.3/site-packages/trac/scripts/admin.py", line 30, in ?
    from trac import perm, util, db_default
ImportError: cannot import name db_default

This seems to be because of a dangling symlink:

$ ls -l /usr/lib/python2.3/site-packages/trac/db_default.py
lrwxrwxrwx  1 root root 22 2006-02-16 19:50 
/usr/lib/python2.3/site-packages/trac/db_default.py -> etc/trac/db_default.py

I.e., the symlink has a relative path to etc/ instead of an absolute path to
/etc. After changing the symlink to point the file /etc/trac/db_default.py,
trac-admin works again.

Great job in packaging Trac, by the way. Especially the almost instant
packaging of every new Trac release!

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686-smp
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages trac depends on:
ii  python                        2.3.5-2    An interactive high-level object-o
ii  python-clearsilver            0.9.13-3.2 python bindings for clearsilver
ii  python-sqlite                 1.0.1-2    python interface to SQLite
ii  python2.3-subversion          1.1.4-2    python modules for interfacing wit
ii  subversion                    1.1.4-2    advanced version control system (a

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to