Opened 14 years ago

Closed 14 years ago

#2784 closed defect (fixed)

upgrade database dose not work

Reported by: trac@… Owned by: Russ Tyndall
Priority: normal Component: EstimatorPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10


when trying to upgrade the database you get an error;-

Traceback (most recent call last):

File "C:\Python25\Scripts\", line 8, in <module>

load_entry_point('Trac==0.11b2', 'console_scripts', 'trac-admin')()

File "c:\python25\lib\site-packages\Trac-0.11b2-py2.5.egg\trac\admin\", line 1227, in run

return admin.onecmd(command)

File "c:\python25\lib\site-packages\Trac-0.11b2-py2.5.egg\trac\admin\", line 103, in onecmd

rv = cmd.Cmd.onecmd(self, line) or 0

File "C:\Python25\lib\", line 219, in onecmd

return func(arg)

File "c:\python25\lib\site-packages\Trac-0.11b2-py2.5.egg\trac\admin\", line 1106, in do_upgrade


File "c:\python25\lib\site-packages\Trac-0.11b2-py2.5.egg\trac\", line 435, in upgrade


File "build\bdist.win32\egg\estimatorplugin\", line 63, in upgrade_environment

TypeError: unsupported operand type(s) for &=: 'bool' and 'OperationalError'

I found if i just changed the &= to a = on line 48 in fixes the problem

Attachments (0)

Change History (1)

comment:1 Changed 14 years ago by Russ Tyndall

Resolution: fixed
Status: newclosed

(In [3415]) closes #2784

Thanks, this was causing other people problems as well.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Russ Tyndall.
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.