You are probably the first person to try using the mod_python adapter on Windows with Apache 2.0. Sounds like it's broken. I'd recommend you try using mod_webkit insted. It's easier to set up and works well.
There's a precompiled version of mod_webkit for Apache 2.0 available in CVS here: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/webware/Webware/WebKit/Adapte rs/mod_webkit2/mod_webkit.dll I'll enter a bug report about mod_python not working, but I don't expect I'll be able to investigate for a while. - Geoff > -----Original Message----- > From: jose [mailto:[EMAIL PROTECTED]] > Sent: Sunday, December 08, 2002 4:08 AM > To: [EMAIL PROTECTED] > Subject: [Webware-discuss] Mod_python error > > > Hi all, > I am trying to get mod_python to work, but I am getting some strainge > errors. If anyone has any insight or ideas what is going > wrong the help > would be great. First let me say that I have has webware running fine > using the wkcgi.exe approach. > > First my configuaration: > -------------------------------------------------------------- > ---------- > ---------------- > PC windows xp pro 512 mem > Apache 2.0.43, mod_python 3.0.1 python 2.2.1 > > Httpd.conf > > <Directory "C:/Program Files/Apache Group/Apache2/htdocs"> > AddHandler python-program .py > PythonPath "sys.path+['C:/Program Files/Webware/webkit']" > PythonHandler ModPythonAppServer > PythonOption AppWorkDir "C:/Program Files/Webware/WebKit" > PythonDebug On > </Directory> > -------------------------------------------------------------- > ---------- > ------------------- > > When I run one of my python files I get this error message: > > -------------------------------------------------------------- > ---------- > ------------------= > > Mod_python error: "PythonHandler ModPythonAppServer" > > Traceback (most recent call last): > > File "C:\Python22\Lib\site-packages\mod_python\apache.py", line 335, > in HandlerDispatch > result = object(req) > > File "C:/Program Files/Webware/WebKit\ModPythonAppServer.py", line > 208, in handler > return _adapter(req).handler(req) > > File "C:/Program Files/Webware/WebKit\ModPythonAppServer.py", line > 203, in _adapter > __adapter = ModpApacheAdapter(appWorkDir) > > File "C:/Program Files/Webware/WebKit\ModPythonAppServer.py", line > 131, in __init__ > self._AppServer=InProcessAppServer(workDir) > > File "WebKit\AppServer.py", line 60, in __init__ > self.loadPlugIns() > > File "WebKit\AppServer.py", line 224, in loadPlugIns > plugIn = self.loadPlugIn(plugInPath) > > File "WebKit\AppServer.py", line 193, in loadPlugIn > self.error('Plug-in %s raised exception.' % path) > > File "WebKit\AppServer.py", line 282, in error > sys.exit(1) # @@ 2000-05-29 ce: Doesn't work. Perhaps because of > threads > > SystemExit: 1 > > -------------------------------------------------------------- > ---------- > -------------------- > > > Any Ideas what I am doing wrong? > > Thanks for any and all help > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Webware-discuss mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/webware-discuss > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
