Ticket #1463 (assigned defect)

Opened 2 years ago

Last modified 2 years ago

TracProjectMenu Python Error

Reported by: jared.griffith@farheap.com Assigned to: anonymous (accepted)
Priority: normal Component: TracProjManagerPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

I downloaded the TracProjectMenu? source, built the egg using the following command: python ./setup.py bdist_egg I then took the TracProjectMenu?.egg and put it in the /plugins/ folder of the project that I wanted to enable the plugin for. Once this was done, I got the following error message: Traceback (most recent call last):

File "/usr/lib64/python2.4/site-packages/trac/web/main.py", line 387, in dispatch_request

dispatcher.dispatch(req)

File "/usr/lib64/python2.4/site-packages/trac/web/main.py", line 208, in dispatch

chrome.populate_hdf(req, chosen_handler)

File "/usr/lib64/python2.4/site-packages/trac/web/chrome.py", line 319, in populate_hdf

for category, name, text in contributor.get_navigation_items(req):

File "build/bdist.linux-x86_64/egg/projectmenu/web_ui.py", line 21, in get_navigation_items File "/usr/lib64/python2.4/site-packages/trac/web/main.py", line 58, in _open_environment

env_cache[env_path] = open_environment(env_path)

File "/usr/lib64/python2.4/site-packages/trac/env.py", line 434, in open_environment

env = Environment(env_path)

File "/usr/lib64/python2.4/site-packages/trac/env.py", line 126, in init

self.verify()

File "/usr/lib64/python2.4/site-packages/trac/env.py", line 174, in verify

fd = open(os.path.join(self.path, 'VERSION'), 'r')

IOError: [Errno 2] No such file or directory: '/data/trac/etc/VERSION'

Attachments

Change History

04/23/07 10:18:36 changed by rsalveti

  • owner changed from rsalveti to anonymous.
  • status changed from new to assigned.

I didn't try to install it with any 0.10 trac release, the plugin was made for 0.9.6.

I'll try to verify this bug, and port it to 0.10.


Add/Change #1463 (TracProjectMenu Python Error)




Change Properties
Action