Modify

Opened 5 years ago

Closed 5 years ago

#10138 closed defect (worksforme)

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

Reported by: mgara Owned by: Russ Tyndall
Priority: normal Component: TimingAndEstimationPlugin
Severity: blocker Keywords: upgrade loop constant waiting-for-feedback
Cc: Trac Release: 0.12

Description (last modified by Ryan J Ollos)

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 (0)

Change History (4)

comment:1 Changed 5 years ago by Ryan J Ollos

Description: modified (diff)

comment:2 Changed 5 years ago by Russ Tyndall

Keywords: waiting-for-feedback added

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

comment:3 Changed 5 years ago by Russ Tyndall

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

comment:4 Changed 5 years ago by Russ Tyndall

Resolution: worksforme
Status: newclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Russ Tyndall.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.