[mod_python] problem creating an instance and debugging

Daniel Rubin dlrubin at yahoo.com
Thu Jul 3 09:11:20 EST 2003


I get the stack dump from the client program that
calls the function in xmlrpc.py running on the apache
server.  The client program gets the stack dump from a
call inside xmlrpclib that is trying to get a response
back from the xmlrpc.py running on the server.  An
error is happening in the xmlrpc.py program, and this
isn't making it's own stack dump or errors written to
the apache logs on the server. So I can't debug what
the nature of the error that is happening in the
remotely called function.

My main concern is that or that I get a stack dump
under mod_python whereas as a CGI it works ok. I'm
concerned about the lack of error logging to apache
only because it might help me figure out what's going
wrong with the code running in mod_python.


--- "Gregory (Grisha) Trubetskoy"
<grisha at modpython.org> wrote:
> 
> 
> On Wed, 2 Jul 2003, Daniel Rubin wrote:
> 
> > within xmlrpc.py just fine, but right at the line
> where I create a new
> > instance of obj (foo = obj()) I get a stack dump
> (see below), and there
> > are no errors in the apache logs.
> 
> I'm confused - how do you know you get a stack dump?
> 
> Also - which are you most concerned with - the fact
> that there is nothing
> in the logs, or that you get a stack dump under
> mod_python whereas as a
> CGI it works ok?
> 
> Grisha


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com


More information about the Mod_python mailing list