Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#66 closed task (invalid)

TracShowPathPatch for 0.9

Reported by: leiss@… Owned by: mhuysamen
Priority: normal Component: TracShowPathPatch
Severity: normal Keywords:
Cc: shussey@… Trac Release:


Rewrite TracShowPathPatch for Trac 0.9.

Attachments (1)

trac-showpath-trunc-r2472.diff (1.7 KB) - added by anonymous 9 years ago.

Download all attachments as: .zip

Change History (7)

Changed 9 years ago by anonymous

comment:1 Changed 9 years ago by emilk@…

I created a patch agains trac trunc (revision r2472), which implements the ShowPathPatch functionality. It should apply cleanly to 0.9.

comment:2 Changed 9 years ago by leiss@…

The patch does not work on my installation. I'm getting 'Internal Server Error 500' after I added the codelines to

comment:3 Changed 9 years ago by leiss@…

Traceback (most recent call last):
PythonHandler trac.web.modpython_frontend:
File "/usr/lib/python2.3/site-packages/mod_python/", line 299, in HandlerDispatch\n    result = object(req)
File "/usr/lib/python2.3/site-packages/trac/web/", line 199, in handler\n    env = get_environment(mpr, project_opts)
File "/usr/lib/python2.3/site-packages/trac/web/", line 338, in get_environment\n    return _open_environment(env_path, threaded)
File "/usr/lib/python2.3/site-packages/trac/web/", line 51, in _open_environment\n    env_cache[env_path] = open_environment(env_path)
File "/usr/lib/python2.3/site-packages/trac/", line 374, in open_environment\n    env = Environment(env_path)
File "/usr/lib/python2.3/site-packages/trac/", line 86, in __init__\n    load_components(self)
File "/usr/lib/python2.3/site-packages/trac/", line 114, in load_components\n    __import__(module)
File "/usr/lib/python2.3/site-packages/trac/wiki/", line 120
hierarchy = prefix.split('/')
SyntaxError: invalid syntax

comment:4 Changed 9 years ago by anonymous

  • Cc shussey@… added

comment:5 Changed 9 years ago by shussey@…

leiss, are there other modifications you've made? The patch applied cleanly to my 0.9, too.

comment:6 Changed 9 years ago by anonymous

  • Resolution set to invalid
  • Status changed from new to 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.

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.