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

Joshua Ginsberg listspam at flowtheory.net
Thu Jun 23 18:06:59 EDT 2005


Posted off list...

Forgot to mention...

Full query logging shows the query going through as expected. Running 
the API command including the SQL from the python command line works 
just fine as does running from the mysql cli client...

:-/ Yeah -- weird, I know. Any other ideas anybody?

-jag


-------------- 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/b12cfae9/unknown.jpg
-------------- next part --------------

Joshua Ginsberg -- joshg at brainstorminternet.net
Brainstorm Internet Network Operations
970-247-1442 x131
On Jun 23, 2005, at 7:53 AM, jamie at jamiebecker.com wrote:

> Don't know. Can you turn on debug (full query logging) logs for MySQL?
> Can you run the SQL from the mysql command line client ok?
>
> Joshua Ginsberg wrote:
>
>> 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!
>>
>> -jag
>>
>>
>>
>> ---------------------------------------------------------------------- 
>> --
>>
>>
>> Joshua Ginsberg -- joshg at brainstorminternet.net
>> Brainstorm Internet Network Operations
>> 970-247-1442 x131
>>
>> ---------------------------------------------------------------------- 
>> --
>>
>> _______________________________________________
>> Mod_python mailing list
>> Mod_python at modpython.org
>> http://mailman.modpython.org/mailman/listinfo/mod_python
>>
>>
>


More information about the Mod_python mailing list