if (!module) {
module = wsgi_load_source(p, NULL, name, exists,
entry->handler_script,
entry->process_group,
entry->application_group);
}
Try changing that to:
if (!module) {
module = wsgi_load_source(p, NULL, name, exists,
entry->handler_script,
entry->process_group,
entry->application_group);
if (PyErr_Occurred())
PyErr_Clear();
}
Fix indenting as necessary.
If works, will fix code later.
Graham
2008/11/11 gert <gert.c...@gmail.com>:
http://code.google.com/p/modwsgi/issues/detail?id=78
is also somehow related to mod_wsgi not clearing Python exception
state when it wants to ignore the error, this subsequently causing a
problem. For that issue wasn't getting a full error log output, so
don't know full context.
Graham
2008/11/11 Graham Dumpleton <graham.d...@gmail.com>:
It means it should be:
ap_log_rerror(APLOG_MARK, WSGI_LOG_ERR(0), r, "%s", message);
I already fixed this in trunk a week or so ago.
------------------------------------------------------------------------
r1108 | Graham.Dumpleton | 2008-11-04 17:56:09 +1100 (Tue, 04 Nov 2008) | 3 line
s
Fix possibility of crash when logging of printf style modifier in
message being logged.