Ticket #8043 (closed defect: worksforme)

Opened 3 years ago

Last modified 2 years ago

trac-tags broken with env needs upgrade error

Reported by: anonymous Assigned to: rjollos
Priority: high Component: TagsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description (Last modified by rjollos)

On a 'clean' install of trac (eg: webfaction one-click installer 0.12, as well as from trac trunk), I tried to add the tractags plugin (both 0.6 and trunk, same issue). After upgrading the environment, it kept insisting I upgrade, and when I tried that, it gave an error (tag table already exists). After poking around, I found this is what triggers it:

WARNING: Component <tractags.model.TagModelProvider object at 0x9afe44c> requires environment upgrade

I added this to [components], which seems to work-around it for now:

tractags.model.tagmodelprovider = disabled

Without this, it's not possible to run this plugin.

be well, --craig

Attachments

Change History

11/20/10 09:02:39 changed by shentonfreude

I've been fighting with this the past couple days as well, with a buildout-installed 0.12 and a handful of other plugins, on python-2.7. (I found that the trunk/ version did install, but didn't play with the keywordsuggest autocomplete patch so I had to use tractags-0.6.

Your work-around really helped me out, thanks.

But I still don't understand the problem. I have tractags-0.6 running successfully on another Trac, but it's 0.11.

12/02/10 10:26:32 changed by guardian

Used the workaround given by craig on a Trac 0.12 installation with 0.6 version of the TagsPlugin.

What's the consequence of setting tractags.model.tagmodelprovider = disabled exactly?

12/04/10 12:27:11 changed by rjollos

  • description changed.

01/03/11 15:40:37 changed by guardian

  • owner changed from athomas to otaku42.

took the liberty to reassign ticket

01/12/11 19:48:17 changed by matthew

We also found this workaround successful on Trac 0.12 with plugin v0.6, but would also like to know what consequences, if any, we're suffering. Before we upgraded from 0.11, we had no problems.

04/20/11 17:58:39 changed by brian@slowpoke.de

+1

(just commenting to get notified if someone fixed this :) )

04/26/11 10:17:08 changed by anonymous

Issue on Trac 0.12.1 with plugin v0.6 - plugin works fine for wiki pages but tags from tickets do not register.

YMMV but when I set changed ticket_fields = keywords, component to just ticket_fields = keywords the tickets started showing up...

07/15/11 10:42:54 changed by rjollos

  • owner changed from otaku42 to rjollos.
  • status changed from new to assigned.

This might be resolved by [10382] (refs #5345). Can someone install the latest version of the trunk, test and report back? Thanks.

08/03/11 07:00:26 changed by rjollos

  • status changed from assigned to closed.
  • resolution set to worksforme.

Closing since there was no response. Please reopen if you continue to experience the issue with the latest version of the trunk.


Add/Change #8043 (trac-tags broken with env needs upgrade error)




Change Properties
Action