mod_python
mod_python copied to clipboard
UnboundLocalError in apache.py
Received follow error when running PythonHandlerModule Directive in logs
[Thu Aug 02 19:03:40.742572 2018] [:error] [pid 6985] [client 98.155.150.52:33808] PythonTransHandler handler: Traceback (most recent call last):
[Thu Aug 02 19:03:40.742597 2018] [:error] [pid 6985] [client 98.155.150.52:33808] PythonTransHandler handler: File "/usr/lib64/python2.7/site-packages/mod_python/apache.py", line 367, in HandlerDispatch\n if not hlist.silent or obj is not None:
[Thu Aug 02 19:03:40.742603 2018] [:error] [pid 6985] [client 98.155.150.52:33808] PythonTransHandler handler: UnboundLocalError: local variable 'obj' referenced before assignment
Compiled from master branch