Opened 15 years ago

Closed 14 years ago

#2330 closed defect (fixed)

How to enable ScrumBurndownPlugin in 0.11b1

Reported by: anonymous Owned by: daan
Priority: high Component: ScrumBurndownPlugin
Severity: major Keywords: ScrumBurndownPlugin Error
Cc: Trac Release: 0.11


I recevied these error messages, after I enabled ScrumBurndownPlugin component in trac.ini file and execute trac-admin ./project-name upgrade.

Traceback (most recent call last):
  File "/.../bin/trac-admin", line 7, in ?
  File "/.../lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/admin/", line 1194, in run
    return admin.onecmd(command)
  File "/.../lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/admin/", line 102, in onecmd
    rv = cmd.Cmd.onecmd(self, line) or 0
  File "/.../lib/python2.4/", line 219, in onecmd
    return func(arg)
  File "/.../lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/admin/", line 1105, in do_upgrade
  File "/.../lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/", line 427, in upgrade
    if participant.environment_needs_upgrade(db):
  File "../bdist.linux-i686/egg/timingandestimationplugin/", line 232, in environment_needs_upgrade
  File "../bdist.linux-i686/egg/timingandestimationplugin/", line 129, in reports_need_upgrade
  File "../bdist.linux-i686/egg/timingandestimationplugin/", line 16, in __init__
  File "../bdist.linux-i686/egg/timingandestimationplugin/", line 22, in upgrade
  File "/.../lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/db/", line 50, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "/.../lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/db/", line 50, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
psycopg2.ProgrammingError: current transaction is aborted, commands ignored until end of transaction block

Who knows what's going on here?

Attachments (0)

Change History (3)

comment:1 Changed 14 years ago by anonymous

I found putting a db.commt(); in burndown/ works. i.e., make it like so:

    def upgrade_environment(self, db):
        cursor = db.cursor()

        needsCreate = False
            cursor.execute('SELECT * FROM burndown LIMIT 1')
            needsCreate = True

comment:2 Changed 14 years ago by daan

Owner: changed from Sam Bloomquist to daan

comment:3 Changed 14 years ago by daan

Resolution: fixed
Status: newclosed

(In [4736]) Release of version 1.9 of the Trac Scrum burndown plugin. See for more information.

The Scrum burndown plugin is currently compatible and tested with Trac 0.10.5, Trac 0.11.1, Python 2.4 and Python 2.5.

Issues fixed: Fixed #3498 Incompatible with Genshi 0.5 Fixed #1743 No support for 0.11 version on trac Fixed #2330 How to enable ScrumBurndownPlugin in 0.11b1 Fixed #1590 printing to stderr causes svn post-commit hook to crash Fixed #1510 Porting to Trac 0.11 and Genshi templates Fixed #2936 problem installing plugin Fixed #1668 Environment Not Found Fixed #1472 URL Not Found when click Burndown menu Fixed #3017 Trac 0.11 - Burndown Chart does not show tickets with status 'accepted'

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain daan.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

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

Note: See TracTickets for help on using tickets.