Modify ↓
#2761 closed defect (fixed)
Trac upgrade fails
Reported by: | anonymous | Owned by: | Russ Tyndall |
---|---|---|---|
Priority: | normal | Component: | EstimatorPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
Trac 0.11b1's trac-admin upgrade fails with current revision (3399 from today, 19Mar08).
It fails in different ways. When I ran 'easy_install http://trac-hacks.org/svn/estimatorplugin/0.11/' it failed like this:
C:\trac>trac-admin FlexConn upgrade --no-backup Traceback (most recent call last): File "C:\Python25\Scripts\trac-admin-script.py", line 8, in <module> load_entry_point('trac==0.11b1', 'console_scripts', 'trac-admin')() File "c:\python25\lib\site-packages\Trac-0.11b1-py2.5.egg\trac\admin\console.py", line 1194, in run return admin.onecmd(command) File "c:\python25\lib\site-packages\Trac-0.11b1-py2.5.egg\trac\admin\console.py", line 102, in onecmd rv = cmd.Cmd.onecmd(self, line) or 0 File "c:\Python25\lib\cmd.py", line 219, in onecmd return func(arg) File "c:\python25\lib\site-packages\Trac-0.11b1-py2.5.egg\trac\admin\console.py", line 1105, in do_upgrade self.__env.upgrade(backup=do_backup) File "c:\python25\lib\site-packages\Trac-0.11b1-py2.5.egg\trac\env.py", line 435, in upgrade participant.upgrade_environment(db) File "build\bdist.win32\egg\estimatorplugin\api.py", line 66, in upgrade_environment File "build\bdist.win32\egg\estimatorplugin\dbhelper.py", line 114, in set_system_value TypeError: get_system_value() takes exactly 2 arguments (1 given )
When I created a SVN working set from the same URL and installed from it, this was the failure:
C:\trac>trac-admin FlexConn upgrade --no-backup Traceback (most recent call last): File "C:\Python25\Scripts\trac-admin-script.py", line 8, in <module> load_entry_point('trac==0.11b1', 'console_scripts', 'trac-admin')() File "c:\python25\lib\site-packages\Trac-0.11b1-py2.5.egg\trac\admin\console.py", line 1194, in run return admin.onecmd(command) File "c:\python25\lib\site-packages\Trac-0.11b1-py2.5.egg\trac\admin\console.py", line 102, in onecmd rv = cmd.Cmd.onecmd(self, line) or 0 File "c:\Python25\lib\cmd.py", line 219, in onecmd return func(arg) File "c:\python25\lib\site-packages\Trac-0.11b1-py2.5.egg\trac\admin\console.py", line 1105, in do_upgrade self.__env.upgrade(backup=do_backup) File "c:\python25\lib\site-packages\Trac-0.11b1-py2.5.egg\trac\env.py", line 435, in upgrade participant.upgrade_environment(db) File "build\bdist.win32\egg\estimatorplugin\api.py", line 63, in upgrade_environment TypeError: unsupported operand type(s) for &=: 'bool' and 'ProgrammingError'
Attachments (0)
Change History (2)
comment:1 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 17 years ago by
I tested upgrading our environment with the most recent fix and I had no problems
Russ
Note: See
TracTickets for help on using
tickets.
(In [3404]) closes #2761
Sorry for the continuing errors. Please upgrade again (from svn up is fine, if you still have the source control copy available).
There was recently a large refactoring on this very young plugin, and while I thought it was pretty fully working, apparently I missed a few code paths related to the upgrade process.
Hopefully this will be the last of your troubles