Modify

Opened 17 years ago

Closed 12 years ago

#1463 closed defect (wontfix)

TracProjectMenu Python Error

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

Description (last modified by Ryan J Ollos)

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 17 years ago by Ricardo Salveti

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 12 years ago by Ryan J Ollos

Description: modified (diff)

comment:3 Changed 12 years ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ricardo Salveti.
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.