CalendarPlugin: please consider documenting dependencies
|Reported by:||anonymous||Owned by:||ant_39|
It would be extremely helpful if there were some documentation on what things this plugin
requires in order to run correctly.
I did this to my trac.ini
--- trac.ini 2007/10/15 01:26:39 1.3 +++ trac.ini 2007/10/15 01:27:09 1.4 @@ -13,6 +13,9 @@ max_diff_files = 0 wiki_format_messages = true +[components] +azcalendar.azcalendar.userbasemodule = enabled + [header_logo] alt = height = -1
and restarted apache.
When I visited the trac I was rewarded with a traceback, that started with:
trac/web/_fcgi.py 569 try: 570 protocolStatus, appStatus = self.server.handler(self) 571 except: 572 traceback.print_exc(file=self.stderr)
and ending with:
trac/env.py 434 env = Environment(env_path) 435 if env.needs_upgrade(): 436 raise TraceError, 'The Trac Enviroment needs to be upgraded. Run' 437 'trac-admin %s upgrade"' % env_path 438 return env The Trac Environment needs to be upgraded. Run trac-admin <tracname> upgrade
I tried that, and it made no difference.
The missing piece was:
TracCtxtnavAdd (templates/redirect.cs uses this)
I did take a careful look through the .egg and source code and could not find this documented
but maybe I missed something.
The fix, in my case was:
--- trac.ini 2007/10/15 01:27:09 1.4 +++ trac.ini 2007/10/15 02:27:09 1.5 @@ -13,6 +13,9 @@ [components] azcalendar.azcalendar.userbasemodule = enabled +webadmin.* = enabled [header_logo] alt = height = -1
# trac-admin <tracname> upgrade # apache2ctl graceful
This was with trac 0.10.4 on Debian etch (python 2.4 fcgi)
Thanks for AzCalendar, it's useful.