[Trac-tickets] [The Trac Project] #2328: Trac web unaccessable
since debian system upgrade
The Trac Project
noreply at edgewall.com
Wed Nov 9 08:02:27 CST 2005
#2328: Trac web unaccessable since debian system upgrade
------------------------------------------------------------------------------------------------------------+
Reporter: oliviez at free.fr | Owner: jonas
Type: defect | Status: new
Priority: high | Milestone:
Component: general | Version: 0.8.4
Severity: major | Keywords: trac.cgi, python, platform independent libraries,SyntaxError, Premature end of script headers |
------------------------------------------------------------------------------------------------------------+
Hi,
I recently updated my debian system, and python's librairies have changed
(but it's still python2.3); since I got issues when trying to access my
trac system web site : I got the following error message in apache2 error
log :[[BR]]
[Mon Nov 07 12:04:31 2005] [error] [client 82.238.xxx.xxx] Could not find
platform independent libraries <prefix>[[BR]]
[Mon Nov 07 12:04:31 2005] [error] [client 82.238.xxx.xxx] Could not find
platform dependent libraries <exec_prefix>[[BR]]
[Mon Nov 07 12:04:31 2005] [error] [client 82.238.xxx.xxx] Consider
setting $PYTHONHOME to <prefix>[:<exec_prefix>][[BR]]
[Mon Nov 07 12:04:31 2005] [error] [client 82.238.xxx.xxx] 'import site'
failed; use -v for traceback[[BR]]
[Mon Nov 07 12:04:31 2005] [error] [client 82.238.xxx.xxx] File "[[BR]]
[Mon Nov 07 12:04:31 2005] [error] [client 82.238.xxx.xxx] /usr/share/trac
/cgi-bin/trac.cgi[[BR]]
[Mon Nov 07 12:04:31 2005] [error] [client 82.238.xxx.xxx] ", line[[BR]]
[Mon Nov 07 12:04:31 2005] [error] [client 82.238.xxx.xxx] 2[[BR]]
[Mon Nov 07 12:04:31 2005] [error] [client 82.238.xxx.xxx][[BR]]
[Mon Nov 07 12:04:31 2005] [error] [client 82.238.xxx.xxx]
SyntaxError[[BR]]
[Mon Nov 07 12:04:31 2005] [error] [client 82.238.xxx.xxx] :[[BR]]
[Mon Nov 07 12:04:31 2005] [error] [client 82.238.xxx.xxx] "no codec
search functions registered: can't find encoding"[[BR]]
[Mon Nov 07 12:04:31 2005] [error] [client 82.238.xxx.xxx][[BR]]
[Mon Nov 07 12:04:31 2005] [error] [client 82.238.xxx.xxx] Premature end
of script headers: trac.cgi[[BR]]
[[BR]]
Below is the releases i'm using :
Name / Release / Description
$$::dpkg -l trac
ii trac / 0.8.4-2 / Enhanced wiki and issue tracking system for software
development p
$$:: dpkg -l subversion
ii subversion / 1.1.4-2 / advanced version control system (aka. svn)
$$:: dpkg -l apache2
ii apache2 / 2.0.54-5 / next generation, scalable, extendable web server
$$:: dpkg -l python
ii python / 2.3.5-3 / An interactive high-level object-oriented language
(default versio
[[BR]][[BR]]
The software was correctly running before that damn apt-get upgrade on my
testing debian... I previously followed your TracOnDebian guide to install
it.
[[BR]][[BR]]
The Trac web site can still be accessed using the tracd standalone server
with following command :
nohup tracd --port 8000 /<path_to_my_project> &
But there is no user right management with it (can't login) so I can't
really use it that way now.
[[BR]][[BR]]
I made a quick search on Trac's ticket history but haven't found any
useful information related to my problem... I'm pretty sure that's it's
due to python but don't know what to do to resolve that... probably an env
variable to set somewhere...
[[BR]][[BR]]
Thanks for your help.
Olivier
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/2328>
The Trac Project <http://trac.edgewall.com/>
More information about the Trac-Tickets
mailing list