[Python-apps-team] Bug#626111: trac: custom logo location not clear
Boris Goranov
bgoranov at gmail.com
Sun May 8 22:12:13 UTC 2011
Package: trac
Version: 0.11.7-4
Severity: normal
As with bug #592734 where in squeeze the symlink for jsquery is not created in:
/usr/lib/python2.6/dist-packages/trac/htdocs
If one want to add a custom logo in trac by adding in trac.ini:
[header_logo]
...
src = site/logo.png
...
one would expect to either add the logo.png in either
/path/to/www/trac/htdocs/site/
or
/path/to/env/trac/htdocs
based in the command trac-admin /path/to/env deploy /path/to/www/trac
both doesn't work, the location in debian for the "chrome/common" is
/usr/lib/python2.6/dist-packages/trac/htdocs (as per jquery bug)
so a symlink from /usr/lib/python2.6/dist-packages/trac/htdocs/logo/png tp /path/to/www/trac/htdocs/logo.png
did the job for me. So a hind in the documentation would be nice.
The symptom is as with the jquery bug which affected me too is:
....GET /chrome/common/logo.png HTTP/1.1" 404 just as with the jquery bug
.... GET /chrome/common/js/jquery.js HTTP/1.1" 404
-- System Information:
Debian Release: 6.0.1
APT prefers squeeze-updates
APT policy: (500, 'squeeze-updates'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
kind regards,
Boris
More information about the Python-apps-team
mailing list