Ticket #10138 (closed defect: worksforme)

Opened 11 months ago

Last modified 3 months ago

T & E plugin always in need of an upgrade even though log says it is fine

Reported by: mgara Assigned to: bobbysmith007
Priority: normal Component: TimingAndEstimationPlugin
Severity: blocker Keywords: upgrade loop constant waiting-for-feedback
Cc: Trac Release: 0.12

Description (Last modified by rjollos)

I have been trying to install your plugin from svn source. I did the setup and copied the egg file into the plugins/ directory.

After adding the line

timingandestimationplugin.* = enabled

and running a trac-admin upgrade, I still get the error message that

TracError: The Trac Environment needs to be upgraded.

Even though

sudo trac-admin . upgrade
Database is up to date, no upgrade necessary.

And futhermore, in the trac log I have:

2012-07-05 18:27:56,785 Trac[api] DEBUG: T&E BEGIN Reports need an upgrade check
2012-07-05 18:27:56,786 Trac[reportmanager] DEBUG: T&E Checking for custom_report upgrade
2012-07-05 18:27:56,948 Trac[reportmanager] DEBUG: T&E END Checking for custom_report upgrade
2012-07-05 18:27:56,949 Trac[api] DEBUG: T&E END Reports need an upgrade check
2012-07-05 18:27:56,950 Trac[api] DEBUG: T&E NEEDS UP?: sys:False, rep:False, stats:False, fields:False, man:False

which I take to mean that T&E needs an upgrade.

The only way I can stop the error is by disabling this component in the trac.ini.

Attachments

Change History

07/06/12 03:47:32 changed by rjollos

  • description changed.

09/20/12 22:41:04 changed by bobbysmith007

  • keywords changed from upgrade loop constant to upgrade loop constant waiting-for-feedback.

Sorry, not sure how I missed this ticket.

This line implies that T&E does not need an upgrade. Though obviously if disabling this plugin fixes the bug then it must be to blame. I have had bug reports of this in the past, and have traditionally been able to track down whats up, but usually one of the falses is true (below).

2012-07-05 18:27:56,950 Trac[api] DEBUG: T&E NEEDS UP?: sys:False, rep:False, stats:False, fields:False, man:False

One bug that has occasionally manifested itself this way is that sometimes trac loses access to the trac.ini during the upgrade and permission to that file must be reenabled.

  • Are there any exceptions?
  • Do you have any other plugins installed?
  • What db backend are you using? (If you can just copy the section in about trac that lists all the relevent versions of everything).

Thanks for filing this bug, sorry it took so long for a reply. Cheers, Russ

09/21/12 19:50:22 changed by bobbysmith007

I was able to install the latest version of the plugin on a fresh latest copy of trac12 and everything worked ok. Please get back to me with more info if you can,

Thanks, Russ

02/25/13 22:26:01 changed by bobbysmith007

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

No response in forever and it still works for me, so going to close as fixed. Please reopen with more information if this is still an issue


Add/Change #10138 (T & E plugin always in need of an upgrade even though log says it is fine)




Change Properties
Action