[viewvc-users] no module named handler
Sebastian Pieck <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Message-ID | <4AFD37D8.5040900__46544.8443349034$1258128186$gmane$org@pieck-it-systemtechnik.de> |
Hi everybody,
I have a problem with my viewvc setup:
When I call the url I get this error page:
======= snip ================================================
/MOD_PYTHON ERROR
ProcessId: 31226
Interpreter: 'cluster.systemhaus-vdp.local'
ServerName: 'cluster.systemhaus-vdp.local'
DocumentRoot: '/var/www/'
URI: '/viewvc'
Location: None
Directory: '/usr/lib/viewvc/'
Filename: '/usr/lib/viewvc/viewvc.py'
PathInfo: ''
Phase: 'PythonHandler'
Handler: 'handler'
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line 1537, in HandlerDispatch
default=default_handler, arg=req, silent=hlist.silent)
File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line 1202, in _process_target
module = import_module(module_name, path=path)
File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line 304, in import_module
return __import__(module_name, {}, {}, ['*'])
ImportError: No module named handler/
===================================================================
*I configured viewvc in apache 2.2 with the following settings:*
========= snip ====================================================
/ ScriptAlias /viewvc "/usr/lib/viewvc/viewvc.py"
<Directory "/usr/lib/viewvc">
AddHandler python-program .py
#PythonPath "[r'/usr/lib/viewvc/vclib']+sys.path"
PythonHandler handler
PythonDebug On
</Directory>/
===================================================================
*Enabling or disabling the PythonPath makes no difference. I also set and removed the "r" in the PythonPath with no difference.
I am running the system with Debian 5 and the packages from the main repository (viewvc 1.0.5).
I am a complete python newbie, so I have no idea how to debug my config or what is going wrong.
**
Please Help
Sebastian Pieck*
------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2417500
To unsubscribe from this discussion, e-mail: [[email protected]].