Modify ↓
Opened 19 years ago
Closed 13 years ago
#1463 closed defect (wontfix)
TracProjectMenu Python Error
| Reported by: | Owned by: | Ricardo Salveti | |
|---|---|---|---|
| Priority: | normal | Component: | TracProjManagerPlugin |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 0.10 |
Description (last modified by )
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 (0)
Change History (3)
comment:1 Changed 19 years ago by
comment:2 Changed 13 years ago by
| Description: | modified (diff) |
|---|
comment:3 Changed 13 years ago by
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |
Closing since this patch is for 0.9, and 0.9 is long dead now.
Note: See
TracTickets for help on using
tickets.



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.