Modify

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:

Description

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 web_ui.py

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/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 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

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


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

 
Note: See TracTickets for help on using tickets.