Modify

Opened 17 years ago

Closed 14 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

Description

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:

TracWebAdmin

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

 
 [components]
 azcalendar.azcalendar.userbasemodule = enabled
+webadmin.* = enabled

 [header_logo]
 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 14 years ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

Modify Ticket

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