-
airplanemania
django nginx flup
I’m trying to deploy a very simple django app to linode, but I keep getting “Unhandled Exception / An unhandled exception was thrown by the application,” which is horribly unhelpful. I’m using nginx as my webserver, and I’ve gone into its error logs to find this: 2013/07/13 11:41:52 [error] 6673#0: *1 FastCGI sent in stderr:”Traceback (most recent call last): File”/usr/lib/pymodules/python2.7/flup/server/fcgi_base.py”, line 558, inrunprotocolStatus, appStatus = self.server.handler(self) Fil
-
EndangeredMassa
django error-handling middleware fcgi flup
I am facing the dreaded “Unhandled Exception” raised by Flup. The sad part is its raised at the webserver (lighttpd+flup) level and not at the application level(Django). So no 500 email is raised about where the problem is. Our entire team struggled hard to cleanup the codebase, incase of any ambigous imports and someones of that sort, just to be eliminate the chances of raising errors due to the ambiguous imports. And we cleaned up many things in the code. Still the same exception. To be frank
-
Justin M
django postgresql connection fastcgi flup
I am pulling my hair over this and am about ready to do something dirty.I am running nginx + django + postgresql. Half the time I am trying to test my site and open a page, I get the following:<class ‘psycopg2.InterfaceError’> Python 2.7.2: /home/webapp/newavenue/bin/python Fri Feb 24 08:28:58 2012 A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred./home/webapp/newavenue/lib/python2.7/site-packages/flup/server