Modify ↓
Opened 18 years ago
Closed 13 years ago
#937 closed defect (wontfix)
TracNavHider crashes my server
Reported by: | Owned by: | Noah Kantrowitz | |
---|---|---|---|
Priority: | normal | Component: | NavHiderPlugin |
Severity: | major | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description (last modified by )
When I install the TracNavHider egg in /usr/lib/python2.3/site-packages, my server (apache2, using mod_python) crashes, when I want to access trac.
Traceback: [Sat Nov 25 14:59:14 2006] [error] [client 192.168.30.170] PythonHandler trac.web.modpython_frontend: Traceback (most recent call last): [Sat Nov 25 14:59:14 2006] [error] [client 192.168.30.170] PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.3/site-packages/mod_python/apache.py", line 299, in HandlerDispatch\n result = object(req) [Sat Nov 25 14:59:14 2006] [error] [client 192.168.30.170] PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.3/site-packages/trac/web/modpython_frontend.py", line 87, in handler\n gateway.run(dispatch_request) [Sat Nov 25 14:59:14 2006] [error] [client 192.168.30.170] PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.3/site-packages/trac/web/wsgi.py", line 87, in run\n response = application(self.environ, self._start_response) [Sat Nov 25 14:59:14 2006] [error] [client 192.168.30.170] PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 346, in dispatch_request\n env = _open_environment(env_path, run_once=environ['wsgi.run_once']) [Sat Nov 25 14:59:14 2006] [error] [client 192.168.30.170] PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 57, in _open_environment\n env_cache[env_path] = open_environment(env_path) [Sat Nov 25 14:59:14 2006] [error] [client 192.168.30.170] PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.3/site-packages/trac/env.py", line 433, in open_environment\n env = Environment(env_path) [Sat Nov 25 14:59:14 2006] [error] [client 192.168.30.170] PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.3/site-packages/trac/env.py", line 121, in __init__\n load_components(self) [Sat Nov 25 14:59:14 2006] [error] [client 192.168.30.170] PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.3/site-packages/trac/loader.py", line 101, in load_components\n entry_point.load() [Sat Nov 25 14:59:14 2006] [error] [client 192.168.30.170] PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.3/site-packages/pkg_resources.py", line 1830, in load\n entry = __import__(self.module_name, globals(),globals(), ['__name__']) [Sat Nov 25 14:59:14 2006] [error] [client 192.168.30.170] PythonHandler trac.web.modpython_frontend: File "build/bdist.linux-i686/egg/navhider/filter.py", line 6, in ? [Sat Nov 25 14:59:14 2006] [error] [client 192.168.30.170] PythonHandler trac.web.modpython_frontend: NameError: name 'set' is not defined
Attachments (1)
Change History (5)
comment:1 Changed 18 years ago by
comment:2 Changed 18 years ago by
Description: | modified (diff) |
---|
comment:4 Changed 13 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Plugin is deprecated as of 0.11.
Note: See
TracTickets for help on using
tickets.
To fix this, just change ImportError to NameError in the top of filter.py and reinstall. I'll attach a patch shortly. I think this will only affect python2.3 installations.