Modify

Opened 8 years ago

Closed 2 years ago

#1463 closed defect (wontfix)

TracProjectMenu Python Error

Reported by: jared.griffith@… Owned by: rsalveti
Priority: normal Component: TracProjManagerPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description (last modified by rjollos)

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 8 years ago by rsalveti

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.

comment:2 Changed 2 years ago by rjollos

  • Description modified (diff)

comment:3 Changed 2 years ago by rjollos

  • Resolution set to wontfix
  • Status changed from new to closed

Closing since this patch is for 0.9, and 0.9 is long dead now.

Add Comment

Modify Ticket

Action
as closed The owner will remain rsalveti.
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.