Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved]Trac: Internal serv Error / Application Error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Letharion
Veteran
Veteran


Joined: 13 Jun 2005
Posts: 1344
Location: Sweden

PostPosted: Tue Aug 04, 2009 3:05 pm    Post subject: [Solved]Trac: Internal serv Error / Application Error Reply with quote

That last line looks suspicous. Like someone mistakenly hardcoded the "VERSION" in, instead of a variable.
Is that something I've done? Any suggestions on what files to have a look at?
I tried grepping everything in /etc/apache from "VERSION", but didn't find anything.

Code:
[Tue Aug 04 17:03:39 2009] [error] [client 193.12.19.73] mod_python (pid=19198, interpreter='localhost', phase='PythonHandler', handler='trac.web.modpython_frontend'): Application error
[Tue Aug 04 17:03:39 2009] [error] [client 193.12.19.73] ServerName: 'localhost'
[Tue Aug 04 17:03:39 2009] [error] [client 193.12.19.73] DocumentRoot: '/var/www/localhost/htdocs'
[Tue Aug 04 17:03:39 2009] [error] [client 193.12.19.73] URI: '/trac/'
[Tue Aug 04 17:03:39 2009] [error] [client 193.12.19.73] Location: '/trac'
[Tue Aug 04 17:03:39 2009] [error] [client 193.12.19.73] Directory: None
[Tue Aug 04 17:03:39 2009] [error] [client 193.12.19.73] Filename: '/var/www/localhost/htdocs/trac/'
[Tue Aug 04 17:03:39 2009] [error] [client 193.12.19.73] PathInfo: ''
[Tue Aug 04 17:03:39 2009] [error] [client 193.12.19.73] Traceback (most recent call last):
[Tue Aug 04 17:03:39 2009] [error] [client 193.12.19.73]   File "//usr/lib/python2.5/site-packages/mod_python/importer.py", line 1537, in HandlerDispatch\n    default=default_handler, arg=req, silent=hlist.silent)
[Tue Aug 04 17:03:39 2009] [error] [client 193.12.19.73]   File "//usr/lib/python2.5/site-packages/mod_python/importer.py", line 1229, in _process_target\n    result = _execute_target(config, req, object, arg)
[Tue Aug 04 17:03:39 2009] [error] [client 193.12.19.73]   File "//usr/lib/python2.5/site-packages/mod_python/importer.py", line 1128, in _execute_target\n    result = object(arg)
[Tue Aug 04 17:03:39 2009] [error] [client 193.12.19.73]   File "//usr/lib/python2.5/site-packages/trac/web/modpython_frontend.py", line 149, in handler\n    gateway.run(dispatch_request)
[Tue Aug 04 17:03:39 2009] [error] [client 193.12.19.73]   File "/usr/lib/python2.5/site-packages/trac/web/wsgi.py", line 87, in run\n    response = application(self.environ, self._start_response)
[Tue Aug 04 17:03:39 2009] [error] [client 193.12.19.73]   File "//usr/lib/python2.5/site-packages/trac/web/main.py", line 390, in dispatch_request\n    env = open_environment(env_path, use_cache=not run_once)
[Tue Aug 04 17:03:39 2009] [error] [client 193.12.19.73]   File "/usr/lib/python2.5/site-packages/trac/env.py", line 575, in open_environment\n    env = env_cache.setdefault(env_path, open_environment(env_path))
[Tue Aug 04 17:03:39 2009] [error] [client 193.12.19.73]   File "/usr/lib/python2.5/site-packages/trac/env.py", line 579, in open_environment\n    env = Environment(env_path)
[Tue Aug 04 17:03:39 2009] [error] [client 193.12.19.73]   File "/usr/lib/python2.5/site-packages/trac/env.py", line 197, in __init__\n    self.verify()
[Tue Aug 04 17:03:39 2009] [error] [client 193.12.19.73]   File "/usr/lib/python2.5/site-packages/trac/env.py", line 256, in verify\n    fd = open(os.path.join(self.path, 'VERSION'), 'r')
[Tue Aug 04 17:03:39 2009] [error] [client 193.12.19.73] IOError: [Errno 2] No such file or directory: '/var/lib/trac/VERSION'


Last edited by Letharion on Tue Aug 04, 2009 3:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
Letharion
Veteran
Veteran


Joined: 13 Jun 2005
Posts: 1344
Location: Sweden

PostPosted: Tue Aug 04, 2009 3:11 pm    Post subject: Reply with quote

Clue: http://trac.edgewall.org/ticket/8392
Back to top
View user's profile Send private message
Letharion
Veteran
Veteran


Joined: 13 Jun 2005
Posts: 1344
Location: Sweden

PostPosted: Tue Aug 04, 2009 3:29 pm    Post subject: Reply with quote

Incorrectly configured PythonOption tracenv. Noted on the wiki.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum