Re: [modwsgi] 404 on first requests for daemon process

2012-11-06 Thread Graham Dumpleton
This sounds like your typical problem with code which is not thread safe, or where you have import order dependencies in code and things will only work properly if URLs requested in certain order. Once the critical URL has been hit and the modules finally imported properly, then all works fine.

[modwsgi] daemon mode question

2012-11-06 Thread Ferencik Ioan
Hello folks, I am facing following issue and was wondering whether anybody could have a suggestion. I am running mod_wsgi /python 2.7.3 on a ubuntu 12.04 box. My web application is django based but is is using just one view. The issue i have is following. I have a class A. This class uses a

Re: [modwsgi] Make apache transmit RAW URLs to mod_wsgi

2012-11-06 Thread Graham Dumpleton
Sorry, this got lost in my inbox. Did you ever resolve it? In general, it is up to the web framework/application to convert % escapes back into the original characters. There are certain characters one should be very careful about using in URLs, such as ?, =, and / as they have meaning within a

Re: [modwsgi] ImportError: No module named threading

2012-11-06 Thread Graham Dumpleton
Did you ever sort out why this was happening? Graham On 30 October 2012 02:29, Gnarlodious gnarlodi...@gmail.com wrote: The two paths are identical at the *.wsgi script and also at the *.py script that crashes. -- Gnarlie On Monday, October 29, 2012 5:55:02 AM UTC-6, Graham Dumpleton

Re: [modwsgi] daemon mode question

2012-11-06 Thread Graham Dumpleton
Sounds like it is more of a specific issue with that database which you would want to ask the developers/community of that database. That is, how to use from multiple processes at the same time. I can only offer up general advice at end of: