Modify

Opened 2 years ago

Closed 17 months 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: 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 (0)

Change History (4)

comment:1 Changed 2 years ago by rjollos

  • Description modified (diff)

comment:2 Changed 22 months ago by bobbysmith007

  • 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 22 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 17 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

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from bobbysmith007. Next status will be '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.