Opened 11 years ago

Closed 8 years ago

#2090 closed enhancement (wontfix)

CalendarPlugin: please consider documenting dependencies

Reported by: anonymous Owned by: Petr Machata
Priority: normal Component: CalendarPlugin
Severity: minor Keywords:
Cc: Trac Release: 0.10


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
+azcalendar.azcalendar.userbasemodule = enabled
 alt = 
 height = -1

and restarted apache.

When I visited the trac I was rewarded with a traceback, that started with:

  569 try:
  570     protocolStatus, appStatus = self.server.handler(self)
  571 except:
  572     traceback.print_exc(file=self.stderr)

and ending with:

  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:


and probably

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 @@

 azcalendar.azcalendar.userbasemodule = enabled
+webadmin.* = enabled

 alt = 
 height = -1

Followed by:

  # 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.

Attachments (0)

Change History (1)

comment:1 Changed 8 years ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

Modify Ticket

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