Modify

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#66 closed task (invalid)

TracShowPathPatch for 0.9

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

Description

Rewrite TracShowPathPatch for Trac 0.9.

Attachments (1)

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

Download all attachments as: .zip

Change History (7)

Changed 18 years ago by anonymous

comment:1 Changed 18 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 18 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 web_ui.py

comment:3 Changed 18 years ago by leiss@…

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 18 years ago by anonymous

Cc: shussey@… added; anonymous removed

comment:5 Changed 18 years ago by shussey@…

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

comment:6 Changed 18 years ago by anonymous

Resolution: invalid
Status: newclosed

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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Marius Huysamen.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.