Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#1054 closed defect (fixed)

After Installing TimingAndEstimation and ScrumBurnDownPlugIn Can't Update Existing Tickets

Reported by: swithin@… Owned by: bobbysmith007
Priority: high Component: TimingAndEstimationPlugin
Severity: blocker Keywords: timing estimation plugin burndown parameter error
Cc: swithin@…, schandler@… Trac Release: 0.10

Description (last modified by athomas)

I'm running Trac 0.10.3 on Windows w/SQLite db and Python 2.3.

I installed the timingandestimationplugin-0.1.5-py2.3.egg and TracBurndown-01.04.10-py2.3.egg plug-ins, updated the environment/db.

Then I went into the Admin page and turned all check boxes for both new plug-ins.

I could view the Burndown page as well as the Billing And Estimation pages.

When I opened an existing ticket so I could enter some hours, I got the following error after hitting the Submit button. (I also tried merely adding a new comment with no changes to other fields and got the same error).

Python Traceback
Traceback (most recent call last):
  File "C:\Python23\Lib\site-packages\trac\web\", line 387, in dispatch_request
  File "C:\Python23\Lib\site-packages\trac\web\", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "C:\Python23\Lib\site-packages\trac\ticket\", line 279, in process_request
    self._do_save(req, db, ticket)
  File "C:\Python23\Lib\site-packages\trac\ticket\", line 546, in _do_save
  File "C:\Python23\Lib\site-packages\trac\ticket\", line 262, in save_changes
    listener.ticket_changed(self, comment, author, old_values)
TypeError: ticket_changed() takes exactly 4 arguments (5 given)

Attachments (1)

Trac Plug-Ins.JPG (69.2 KB) - added by anonymous 10 years ago.
Screen shot of plug-ins from the admin page

Download all attachments as: .zip

Change History (7)

Changed 10 years ago by anonymous

Screen shot of plug-ins from the admin page

comment:1 Changed 10 years ago by anonymous

  • Component changed from ScrumBurndownPlugin to TimingAndEstimationPlugin
  • Owner changed from sambloomquist to bobbysmith007

Additional Analysis:

I disabled the Burndown plug-in via the web Admin page, bounced Apache, and the problem still happened.

I then disabled the TimingAndEstimation plug-in via the web Admin page, bounced Apache, and the problem went away.

This leads me to believe that the problem is with the TimingAndEstimation plug-in rather than with the BurnDown plug-in.

comment:2 Changed 10 years ago by anonymous

  • Keywords timing estimation plugin burndown parameter error added

comment:3 Changed 10 years ago by anonymous

  • Cc swithin@… schandler@… added; anonymous removed

comment:4 Changed 10 years ago by bobbysmith007

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

The version of trac you are using is incompatable with the old version of the TimingAndEstimationPlugin that you are using. They changed some internal interfaces in trac 10.1 or 10.2. You probably want to instead use the latest revision of the TimingAndEstimationPlugin ([download:timingandestimationplugin version 0.3.6]). You will also need to ensure that the version of sqlite you are using is >=3.2.3

This should hopefully resolve your problem, if not please reopen the ticket, Russ

comment:5 Changed 10 years ago by athomas

  • Description modified (diff)

comment:6 Changed 10 years ago by schandler@…

Bobby, I followed your advice and all is well. Thanks. Perhaps there should be a new Type added called "Question" for issues that end up not being defects nor enhancements.

Add Comment

Modify Ticket

as closed The owner will remain bobbysmith007.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.