Modify

Opened 7 years ago

Closed 4 years ago

#2090 closed enhancement (wontfix)

CalendarPlugin: please consider documenting dependencies

Reported by: anonymous Owned by: ant_39
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 4 years ago by rjollos

  • Resolution set to wontfix
  • Status changed from new to closed

Add Comment

Modify Ticket

Action
as closed The owner will remain ant_39.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.