Modify

Opened 6 years ago

Closed 6 years ago

#9412 closed defect (fixed)

Upgrade fails for AnnouncerPlugin

Reported by: gzuercher@… Owned by: Robert Corsaro
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@… 6 years ago.
Configuration options in trac.ini for section [components]
exception.png (172.0 KB) - added by gzuercher@… 6 years ago.
Exception thrown - seems logical since upgrade is not succesful
env.png (133.1 KB) - added by gzuercher@… 6 years ago.
Info about enabled plugins and environment
fix-9412.patch (4.5 KB) - added by gzuercher@… 6 years ago.

Download all attachments as: .zip

Change History (6)

Changed 6 years ago by gzuercher@…

Attachment: config-opts.txt added

Configuration options in trac.ini for section [components]

Changed 6 years ago by gzuercher@…

Attachment: exception.png added

Exception thrown - seems logical since upgrade is not succesful

Changed 6 years ago by gzuercher@…

Attachment: env.png added

Info about enabled plugins and environment

comment:1 Changed 6 years ago by gzuercher@…

Severity: blockercritical

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 6 years ago by gzuercher@…

Attachment: fix-9412.patch added

comment:2 Changed 6 years ago by anonymous

Resolution: fixed
Status: newclosed

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

Modify Ticket

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