Opened 7 years ago

Closed 6 years ago

#5451 closed defect (duplicate)

VotePlugin failing on trac-admin upgrade

Reported by: p.pover@… Owned by: rjollos
Priority: high Component: VotePlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


Fails to run the trac-admin upgrade.


Traceback (most recent call last):
  File "/usr/bin/trac-admin", line 7, in ?
  File "/usr/lib64/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/admin/", line 1249, in run
    return admin.onecmd(command)
  File "/usr/lib64/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/admin/", line 104, in onecmd
    rv = cmd.Cmd.onecmd(self, line) or 0
  File "/usr/lib64/python2.4/", line 219, in onecmd
    return func(arg)
  File "/usr/lib64/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/admin/", line 1103, in do_upgrade
    if not self.__env.needs_upgrade():
  File "/usr/lib64/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/", line 414, in needs_upgrade
    if participant.environment_needs_upgrade(db):
  File "build/bdist.linux-x86_64/egg/tracvote/", line 142, in environment_needs_upgrade
  File "/usr/lib64/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/db/", line 36, in __getattr__
    return getattr(self.cursor, name)
  File "/usr/lib64/python2.4/site-packages/sqlite/", line 421, in __getattr__
    raise AttributeError, key
AttributeError: rollback

I noticed others had similar problems. Any way to fix this? I'm a bit of a Python novice, but a quick explanation on how to fix should get me going. Thanks.

Attachments (0)

Change History (2)

comment:1 Changed 6 years ago by rjollos

  • Owner changed from athomas to rjollos

Reassigning ticket to new maintainer.

comment:2 Changed 6 years ago by rjollos

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

Duplicate of #5245. Should be fixed with latest 0.11 version.

Add Comment

Modify Ticket

as closed The owner will remain rjollos.
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.