[kforge-user] Internal server error, kforgevirtualenvhandlers not found.
John Bywater
john.bywater at appropriatesoftware.net
Tue May 18 18:43:39 UTC 2010
Hi Alex,
When using KForge within a virtualenv, you need a copy of this file:
http://knowledgeforge.net/kforge/trac/browser/trunk/src/kforge/handlers/kforgevirtualenvhandlers.py
in the bin/ folder of the virtualenv installation. The kforge.conf file
needs to be set to point to that bin/ folder.
[virtualenv]
bin_path = /path/to/virtualenv/bin
Does that sort it out? Either way, please let us know?
Best wishes,
John.
PS The installer should do all of this correctly, so if you used the
kforge installer, this is a bug. However, I think it's been fixed in the
next release (0.18), which is about to ship.
Alex Nordlund wrote:
> After having installed kforge and setup Apache I now get this:
>
> [Tue May 18 15:28:17 2010] [error] [client x] mod_python (pid=9829,
> interpreter='devel.website', phase='PythonHandler',
> handler='kforgevirtualenvhandlers::djangohandler'): Application error
> [Tue May 18 15:28:17 2010] [error] [client x] ServerName: 'devel.website'
> [Tue May 18 15:28:17 2010] [error] [client x] DocumentRoot:
> '/home/public/website'
> [Tue May 18 15:28:17 2010] [error] [client x] URI: '/'
> [Tue May 18 15:28:17 2010] [error] [client x] Location: '/'
> [Tue May 18 15:28:17 2010] [error] [client x] Directory: None
> [Tue May 18 15:28:17 2010] [error] [client x] Filename: '/home/public/website/'
> [Tue May 18 15:28:17 2010] [error] [client x] PathInfo: ''
> [Tue May 18 15:28:17 2010] [error] [client x] Traceback (most recent call last):
> [Tue May 18 15:28:17 2010] [error] [client x] File
> "/usr/pkg/lib/python2.5/site-packages/mod_python/importer.py", line
> 1537, in HandlerDispatch\n default=default_handler, arg=req,
> silent=hlist.silent)
> [Tue May 18 15:28:17 2010] [error] [client x] File
> "/usr/pkg/lib/python2.5/site-packages/mod_python/importer.py", line
> 1202, in _process_target\n module = import_module(module_name,
> path=path)
> [Tue May 18 15:28:17 2010] [error] [client x] File
> "/usr/pkg/lib/python2.5/site-packages/mod_python/importer.py", line
> 304, in import_module\n return __import__(module_name, {}, {},
> ['*'])
> [Tue May 18 15:28:17 2010] [error] [client x] ImportError: No module
> named kforgevirtualenvhandlers
>
> How do I solve this?
>
> ---
> //Alex
>
> _______________________________________________
> kforge-user mailing list
> kforge-user at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/kforge-user
More information about the kforge-user
mailing list