Opened 15 years ago
Closed 15 years ago
#8392 closed defect (invalid)
/var/lib/trac/VERSION missing
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.11.2 |
Severity: | normal | Keywords: | version apache error gentoo var lib |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Whenever I attempt to access my new Trac environment page, I receive a 500 Internal Server Error on my browser and this error in my Apache error_log (NOTE: if for some reason this looks all clumped together and is hard to read, every [error] is the beginning of a new line):
mod_python (pid=8101, interpreter='localhost', phase='PythonHandler', handler='trac.web.modpython_frontend'): Application error [error] ServerName: 'localhost' [error] DocumentRoot: '/var/www/localhost/htdocs' [error] URI: '/trac/' [error] Location: '/trac' [error] Directory: None [error] Filename: '/var/www/localhost/htdocs/trac/' [error] PathInfo: [error] Traceback (most recent call last): [error] File "usr/lib/python2.5/site-packages/mod_python/importer.py", line 1537, in HandlerDispatch\n default=default_handler, arg=req, silent=hlist.silent) [error] File "usr/lib/python2.5/site-packages/mod_python/importer.py", line 1229, in _process_target\n result = _execute_target(config, req, object, arg) [error] File "usr/lib/python2.5/site-packages/mod_python/importer.py", line 1128, in _execute_target\n result = object(arg) [error] File "/usr/lib/python2.5/site-packages/trac/web/modpython_frontend.py", line 149, in handler\n gateway.run(dispatch_request) [error] File "/usr/lib/python2.5/site-packages/trac/web/wsgi.py", line 87, in run\n response = application(self.environ, self._start_response) [error] 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) [error] 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)) [error] File "/usr/lib/python2.5/site-packages/trac/env.py", line 579, in open_environment\n env = Environment(env_path) [error] File "/usr/lib/python2.5/site-packages/trac/env.py", line 197, in init\n self.verify() [error] File "/usr/lib/python2.5/site-packages/trac/env.py", line 256, in verify\n fd = open(os.path.join(self.path, 'VERSION'), 'r') [error] IOError: [Errno 2] No such file or directory: '/var/lib/trac/VERSION'
I was following the instructions here: http://en.gentoo-wiki.com/wiki/Trac
OS: Gentoo Python: 2.5.4 DB: MySQL Version System: SVN
Those instructions have some inconsistencies regarding how you should set up a single-environment install versus a multiple-environment install. Regardless, this is an InstallationIssue.