Opened 12 months ago

Closed 4 months ago

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

Reported by: Owned by: mgara bobbysmith007 normal TimingAndEstimationPlugin blocker upgrade loop constant waiting-for-feedback 0.12

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

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.

### comment:1 Changed 12 months ago by rjollos

• Description modified (diff)

### comment:2 Changed 9 months ago by bobbysmith007

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 9 months ago 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

### comment:4 Changed 4 months ago by bobbysmith007

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

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
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.