Modify

Opened 3 years ago

Closed 3 years ago

#9412 closed defect (fixed)

Upgrade fails for AnnouncerPlugin

Reported by: gzuercher@… Owned by: doki_pen
Priority: normal Component: AnnouncerPlugin
Severity: critical Keywords:
Cc: Trac Release: 0.12

Description

After having checked out the AnnouncerPlugin and enabled it, the necessary upgrade fails:

~ # trac-admin /home/trac/trac-envs/env123 upgrade
KeyError: 'announcer/locale'

More information about our installation is available in the attached files.

Attachments (4)

config-opts.txt (1.9 KB) - added by gzuercher@… 3 years ago.
Configuration options in trac.ini for section [components]
exception.png (172.0 KB) - added by gzuercher@… 3 years ago.
Exception thrown - seems logical since upgrade is not succesful
env.png (133.1 KB) - added by gzuercher@… 3 years ago.
Info about enabled plugins and environment
fix-9412.patch (4.5 KB) - added by gzuercher@… 3 years ago.

Download all attachments as: .zip

Change History (6)

Changed 3 years ago by gzuercher@…

Configuration options in trac.ini for section [components]

Changed 3 years ago by gzuercher@…

Exception thrown - seems logical since upgrade is not succesful

Changed 3 years ago by gzuercher@…

Info about enabled plugins and environment

comment:1 Changed 3 years ago by gzuercher@…

  • Severity changed from blocker to critical

With the help of one of our programmers i was able to solve it. Here's what we did:

  1. Babel installation is mandatory
  2. Update to Trac 0.12.2 (because of Babel)

But still, lots of errors occured. The errors were due to development for MySQL. But since we use PostgreSQL lots of the SQL statements were not working.

Attached is a ugly hack, since we did not change the schema. But it works for now. Would be nice if the maintainer would fix the support for Postgres in AnnouncerPlugin (see ticket #8065).

Hope this helps anybody.

Changed 3 years ago by gzuercher@…

comment:2 Changed 3 years ago by anonymous

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

Forget about this.
The latest patch of ticket #8065 works like a charm.

Add Comment

Modify Ticket

Action
as closed .
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.