Thanks for the advice Geoff, I was unaware that mod_webkit had been
compiled for apache2 already.  I will give it a try since I am sure that
this would be the preferred solution.

Jose

-----Original Message-----
From: Geoffrey Talvola [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, December 10, 2002 8:45 AM
To: Geoffrey Talvola; 'jose'; [EMAIL PROTECTED]
Subject: RE: [Webware-discuss] Mod_python error


Actually, I take that back.  It looks like you're trying to use the
"ModPythonAppServer" which tries to embed WebKit completely within
Apache. I've never tested it, and I can't remember ever hearing it
discussed on the mailing lists.  I'd recommend not trying to do it this
way.  Instead, either use the ModPythonAdapter or preferably mod_webkit
with a separate AppServer process -- that's how almost everyone uses
WebKit.

I think ModPythonAppServer.py should be removed from WebKit completely
(or maybe moved to the Experimental directory).  Does anyone actually
use it?

- Geoff

> -----Original Message-----
> From: Geoffrey Talvola
> Sent: Tuesday, December 10, 2002 11:34 AM
> To: 'jose'; [EMAIL PROTECTED]
> Subject: RE: [Webware-discuss] Mod_python error
> 
> 
> 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
> 





-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to