Your message dated Thu, 16 Feb 2006 17:44:04 -0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#353187: ImportError: cannot import name db_default
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
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


--- End Message ---
--- Begin Message ---
Package: trac
Version: 0.9.4-2

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

The 0.9.4-2 fixed it.

-- 
        O T A V I O    S A L V A D O R
---------------------------------------------
 E-mail: [EMAIL PROTECTED]      UIN: 5906116
 GNU/Linux User: 239058     GPG ID: 49A5F855
 Home Page: http://www.freedom.ind.br/otavio
---------------------------------------------
"Microsoft gives you Windows ... Linux gives
 you the whole house."

--- End Message ---

Reply via email to