Ticket #2205 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

TimingAndEstimationPlugin Plugin Errors

Reported by: awzm Assigned to: bobbysmith007
Priority: normal Component: TimingAndEstimationPlugin
Severity: blocker Keywords:
Cc: Trac Release: 0.11

Description

Following on from ticket #2192 (http://trac-hacks.org/ticket/2192) I'm still have trouble running this plugin. I upgraded to the newest Genshi and used TracPlugins to extract the .egg file and put in the plugins directory. I added the new line to trac.ini and used the upgrade command. When I start up tracd and go to http://localhost:8000/ my project environment isn't listed. My cmd windows states..

raise UndefinedError?(key, owner=owner) Undefined Error: {'name': ProjectName?', 'description': u'The Trac Environment needs to be upgraded. \n\nRun "trac-admin C:\\Projectfolder upgrade";} has no member named href"


I've already used the upgrade command only for it to make no difference. I followed the instructions on TracPlugins & TimingAndEstimationPlugin Installation to the word.

Thanks :)

Attachments

trac.log (5.5 kB) - added by awzm on 11/21/07 10:29:36.
log file
traceback.JPG (83.1 kB) - added by awzm on 11/21/07 10:30:34.
Traceback from cmd
tracv2.log (33.5 kB) - added by awzm on 11/22/07 07:46:30.
trac v2 log

Change History

11/21/07 09:34:33 changed by bobbysmith007

  • Does trac work without the plugin installed?
    • Remove the line from the trac.ini and pull the egg out of the plugin directory to be sure. I want to make sure that the problem is with the plugin.
  • I dont have any experience with tracd, is it reporting the same error messages as the trac log? Normally an error refers to some place in code, instead of a referencing "Env Needs to Be Upgraded"
  • the only error I raise in the whole plugin is in report manager we raise a single TracError? and I have verified that that error type exists. Also I think that this error is not possible to hit (because it is only raised with conflicting versions of that file and there is only one version of that file available)
  • Are you getting any other tracebacks?

11/21/07 10:29:10 changed by awzm

I started from the beginning and this is what I get.

1. Remove .egg file and line from trac.ini and boot up tracd. Trac works fine. 2. Start up tracd and start logging (Type: File, Log Level: Error). Stop tracd. 3. Put the .egg file in plugins dir and put the line in trac.ini 4. Run trac-admin /path/to/projenv upgrade and get the expected return. 5. Start tracd back up and go to http://localhost:8000 to find a blank screen 6. Go to http://localhost:8000/projectname to find the error message: "Trac Error - TracError?: The Trac Environment needs to be upgraded. - Run "trac-admin c:\essentialtravel upgrade" ". 7. Stop tracd.

I've attached a screenshot of the last traceback in cmd and my log file. Hope that helps.

11/21/07 10:29:36 changed by awzm

  • attachment trac.log added.

log file

11/21/07 10:30:34 changed by awzm

  • attachment traceback.JPG added.

Traceback from cmd

11/21/07 10:45:17 changed by bobbysmith007

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

(In [2813]) closes #2205

Fixed bug in report manager where it was throwing an error while trying to (None+1).

T&E trac11 version 0.5.5

11/21/07 10:46:44 changed by bobbysmith007

Thank you very much for your persistence in helping me track down this bug. The trac log gave me everything I needed to locate and exterminate this bug. Hopefully it will be the last you have to deal with in this process.

Russ

11/22/07 07:45:24 changed by awzm

  • status changed from closed to reopened.
  • resolution deleted.

Sorry to be a pain but that change doesn't seem to have fixed it. As before I started from fresh and did everything to get the plugin working. I get the same blank screen when trying to list the project environments and the same error message when trying to access the project environment I setup.

I've attached the new log file ('tracv2.log') so you can see what errors are coming up. It looks like SQL errors but I'm no expert. It may help you to note that I'm using pysqlite-2.3.5.win32-py2.5

Thanks for all the time and effort you're putting to getting this fixed :)

11/22/07 07:46:30 changed by awzm

  • attachment tracv2.log added.

trac v2 log

11/26/07 09:31:38 changed by bobbysmith007

I was out of town over the weekend and I am looking at this now.

11/26/07 09:50:35 changed by bobbysmith007

  • status changed from reopened to closed.
  • resolution set to fixed.

(In [2823]) closes #2205 TandE (trac11) version 0.5.6

Fixed a few bugs related to starting an environment from scratch. Fixed a bug in get scalar that caused every execute to fail.

11/26/07 09:56:39 changed by awzm

thanks for the continued help with the plugin bobbysmith007 :)

i'll give the new version a go this afternoon

11/26/07 10:06:52 changed by bobbysmith007

no problem. I am sorry this didnt get as thoroughly tested as it could have been.

I have installed this version of the plugin from scratch, so hopefully this one actually works!

If it fails please reopen the ticket and post your logfile again.

Thanks for your help debugging this matter,

Russ


Add/Change #2205 (TimingAndEstimationPlugin Plugin Errors)




Change Properties
Action