Conversation
Notices
-
does anyone know how to get !lighttpd to actually display !python errors in cgi scripts? !linux !fedora !ubuntu
-
@durand so, failing that, maybe you can redirect STDERR to STDOUT so it goes to the browser?
-
@durand look at http://docs.python.org/library/cgitb.html just use these 2 lines mentioned. Its much more infomative than stdout
Durand D'souza likes this. -
@apolyton: Oh wow, I didn't know about this, it's perfect! Thank you sooo much!
-
@apolyton: Do you know if it's possible to customise cgitb's output?
-
@durand as I understand it, there is no customization around cgitb except from deriving from "Exception"-class to build your own exceptions
-
@apolyton: Ah, that's a shame. Well, thanks anyway!
-