From: Stefan S. <ste...@tu...> - 2003-04-10 20:16:15
|
Hi Peter On Mon, 7 Apr 2003, Peter Lyons wrote: > I'm trying to get going again after a hard drive failure. I installed > Webware 0.8, compiled and installed mod_webkit, and the apache and > python sides of things appear to be working. However, when I try to hit > any context I get the error below. Do I need to create a new AppWorkDir > if my current one was made by 0.8b1? I've also listed the Contexts > section of my Application.config. > > Traceback (most recent call last): > File "./WebKit/ThreadedAppServer.py", line 293, in threadloop > File "./WebKit/ThreadedAppServer.py", line 532, in handleRequest > File "./WebKit/Application.py", line 375, in dispatchRawRequest > File "./WebKit/Application.py", line 438, in dispatchRequest > File "./WebKit/HTTPRequest.py", line 315, in serverSidePath > File "./WebKit/Application.py", line 1189, in serverSideInfoForRequest > File "./WebKit/Application.py", line 1137, in defaultContextNameAndPath > File "./WebKit/Application.py", line 843, in context > KeyError: default > > 'Contexts': { > 'Admin': '%(WebKitPath)s/Admin', > 'Examples': '%(WebKitPath)s/Examples', > 'Docs': '%(WebKitPath)s/Docs', > 'Testing': '%(WebKitPath)s/Testing', > 'pytact': 'wk', > 'default': 'Examples' > }, I had this recently, I had forgotten to set my PYTHONPATH variable in the WebKit startup script. Stefan |