Traceback in apache error_log : "TypeError: issubclass() arg 1 must be a class"
|Reported by:||sdegrande||Owned by:||Noah Kantrowitz|
|Cc:||John Hampton||Trac Release:||0.11|
I have several Trac projects that are partly protected (some parts are publicly available).
When a public URL is accessed, I've got a Python Traceback in the apache error_logs files, which does however not prevent Trac to work (I only reproduce the last lines) :
[date...] [error] [client...] File "/usr/local/lib/python2.5/site-packages/trac/web/main.p y", line 310, in _post_process_request\n f.post_process_request(req, *(None,)*extra_arg_count) [date...] [error] [client...] File "/pkgs/trac/distrib/usr/local/lib/python2.5/site-packag es/TracPermRedirect-2.0-py2.5.egg/permredirect/filter.py", line 27, in post_process_request [date...] [error] [client...] TypeError: issubclass() arg 1 must be a class
The attached patch seems to fix the error.