Opened 17 years ago
Closed 15 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 |
Description
Traceback (most recent call last):
File "/var/lib/python-support/python2.4/trac/web/main.py", line 406, in dispatch_request
dispatcher.dispatch(req)
File "/var/lib/python-support/python2.4/trac/web/main.py", line 208, in dispatch
chrome.populate_hdf(req, chosen_handler)
File "/var/lib/python-support/python2.4/trac/web/chrome.py", line 319, in populate_hdf
for category, name, text in contributor.get_navigation_items(req):
File "build/bdist.linux-i686/egg/projectmenu/web_ui.py", line 21, in get_navigation_items File "/var/lib/python-support/python2.4/trac/web/main.py", line 58, in _open_environment
env_cache[env_path] = open_environment(env_path)
File "/var/lib/python-support/python2.4/trac/env.py", line 462, in open_environment
env = Environment(env_path)
File "/var/lib/python-support/python2.4/trac/env.py", line 147, in init
self.verify()
File "/var/lib/python-support/python2.4/trac/env.py", 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 16 years ago by
comment:2 Changed 15 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Summary: | Error just after installing → [PATCH] Error just after installing |
Seems to be a duplicate of #1301. If different, please reopen this ticket.
It can be easily fixed by the following patch:
+ if project != this_project and os.path.isdir(os.path.join(search_path, project)):