Modify ↓
#66 closed task (invalid)
TracShowPathPatch for 0.9
Reported by: | Owned by: | Marius Huysamen | |
---|---|---|---|
Priority: | normal | Component: | TracShowPathPatch |
Severity: | normal | Keywords: | |
Cc: | shussey@… | Trac Release: |
Description
Rewrite TracShowPathPatch for Trac 0.9.
Attachments (1)
Change History (7)
Changed 19 years ago by
Attachment: | trac-showpath-trunc-r2472.diff added |
---|
comment:1 Changed 19 years ago by
comment:2 Changed 19 years ago by
The patch does not work on my installation. I'm getting 'Internal Server Error 500' after I added the codelines to web_ui.py
comment:3 Changed 19 years ago by
Traceback (most recent call last): PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.3/site-packages/mod_python/apache.py", line 299, in HandlerDispatch\n result = object(req) File "/usr/lib/python2.3/site-packages/trac/web/modpython_frontend.py", line 199, in handler\n env = get_environment(mpr, project_opts) File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 338, in get_environment\n return _open_environment(env_path, threaded) File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 51, in _open_environment\n env_cache[env_path] = open_environment(env_path) File "/usr/lib/python2.3/site-packages/trac/env.py", line 374, in open_environment\n env = Environment(env_path) File "/usr/lib/python2.3/site-packages/trac/env.py", line 86, in __init__\n load_components(self) File "/usr/lib/python2.3/site-packages/trac/loader.py", line 114, in load_components\n __import__(module) File "/usr/lib/python2.3/site-packages/trac/wiki/web_ui.py", line 120 hierarchy = prefix.split('/') ^ SyntaxError: invalid syntax
comment:4 Changed 19 years ago by
Cc: | shussey@… added; anonymous removed |
---|
comment:5 Changed 19 years ago by
leiss, are there other modifications you've made? The patch applied cleanly to my 0.9, too.
comment:6 Changed 19 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
I made a new installation of 0.9 and now it works. But I don't know why. There was only the Tag plugin as enhancement installed.
Note: See
TracTickets for help on using
tickets.
I created a patch agains trac trunc (revision r2472), which implements the ShowPathPatch functionality. It should apply cleanly to 0.9.