Opened 10 years ago

Closed 8 years ago

#3091 closed defect (duplicate)

[PATCH] Error just after installing

Reported by: anonymous Owned by: Noah Kantrowitz
Priority: highest Component: ProjectMenuPlugin
Severity: blocker Keywords:
Cc: Trac Release: 0.10


Traceback (most recent call last):

File "/var/lib/python-support/python2.4/trac/web/", line 406, in dispatch_request


File "/var/lib/python-support/python2.4/trac/web/", line 208, in dispatch

chrome.populate_hdf(req, chosen_handler)

File "/var/lib/python-support/python2.4/trac/web/", line 319, in populate_hdf

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

File "build/bdist.linux-i686/egg/projectmenu/", line 21, in get_navigation_items File "/var/lib/python-support/python2.4/trac/web/", line 58, in _open_environment

env_cache[env_path] = open_environment(env_path)

File "/var/lib/python-support/python2.4/trac/", line 462, in open_environment

env = Environment(env_path)

File "/var/lib/python-support/python2.4/trac/", line 147, in init


File "/var/lib/python-support/python2.4/trac/", line 195, in verify

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

IOError: [Errno 20] Not a directory: '/var/lib/trac/trac.htpasswd/VERSION'

Attachments (0)

Change History (2)

comment:1 Changed 9 years ago by anonymous

It can be easily fixed by the following patch:

for project in os.listdir(search_path):

  • if project != this_project:

+ if project != this_project and os.path.isdir(os.path.join(search_path, project)):

proj_env = open_environment(os.path.join(search_path, project),use_cache=True)

comment:2 Changed 8 years ago by Adrian Fritz

Resolution: duplicate
Status: newclosed
Summary: Error just after installing[PATCH] Error just after installing

Seems to be a duplicate of #1301. If different, please reopen this ticket.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Noah Kantrowitz.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.