[mod_python] This is just friggin' weird...

Joshua Ginsberg listspam at flowtheory.net
Thu Jun 23 12:28:12 EDT 2005

I have an application that I developed using PSP pages. It is seven 
steps to sign somebody up with our company. It worked just great 
yesterday, this morning, it hangs going from step 1 to step 2, but only 
with certain input data. Nothing in any of my logs is of any use.

I have a development server for it that queries the same MySQL and 
MSSQL databases -- it hangs too at the same point. I inserted some 
debug output in the development server to see where it's hanging up.

When I don't have a Session defined, it hangs up at a section that is:
- a call to an API that inserts some data in a MySQL server
- a call to psp.redirect (which should throw an error because i've 
already returned stuff to the client, but it doesn't throw an error)

Trying that API from command line by hand works like a charm, so I'm 
not convinced it's the API.

When I do have a Session defined, it hangs up on trying to import the 
session. I've got a wrapper around the Session,DbmSession class which 
basically does nothing but return an empty string instead of raising an 
error if a key doesn't exist. I've already cleared the dbm file, 
started over from scratch, and ensured that the dbm file is 
readable/writable by apache.

I cleared the semaphore array for Apache, I've restarted Apache, I've 
restarted MySQL, and none of it has helped...

Anybody have any ideas? I'm just stumped at this point. If you need 
code snippets or the site to test it out on, let me know. Thanks!


-------------- next part --------------
A non-text attachment was scrubbed...
Name: unknown.jpg
Type: image/jpeg
Size: 1984 bytes
Desc: not available
Url : http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20050623/2e6dd26f/unknown.jpg
-------------- next part --------------

Joshua Ginsberg -- joshg at brainstorminternet.net
Brainstorm Internet Network Operations
970-247-1442 x131

More information about the Mod_python mailing list