-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error on environment upgrade #7
Comments
Moreover, something broke in my Trac installation: I keep getting internal sever errors when trying to save anything. |
im having a similar issue using a Virtual machine on VMServer, i have instaled in a Worstation version and its working normally. Part of the error: "File "/usr/lib/python2.6/dist-packages/trac/db/sqlite_backend.py", line 51, in _rollback_on_error |
I have the same error here: |
I found a solution. I deleted the "subticktes" table in the database. Then i could upgrade the database. |
I followed all the steps of installation but last. Trac-admin upgrade results in an error:
Traceback (most recent call last):
File "/usr/bin/trac-admin", line 8, in
load_entry_point('Trac==0.11.4', 'console_scripts', 'trac-admin')()
File "/usr/lib/python2.5/site-packages/Trac-0.11.4-py2.5.egg/trac/admin/console.py", line 1317, in run
return admin.onecmd(command)
File "/usr/lib/python2.5/site-packages/Trac-0.11.4-py2.5.egg/trac/admin/console.py", line 133, in onecmd
rv = cmd.Cmd.onecmd(self, line) or 0
File "/usr/lib/python2.5/cmd.py", line 219, in onecmd
return func(arg)
File "/usr/lib/python2.5/site-packages/Trac-0.11.4-py2.5.egg/trac/admin/console.py", line 1154, in do_upgrade
self.__env.upgrade(backup=do_backup)
File "/usr/lib/python2.5/site-packages/Trac-0.11.4-py2.5.egg/trac/env.py", line 458, in upgrade
participant.upgrade_environment(db)
File "build/bdist.linux-i686/egg/tracsubtickets/api.py", line 87, in upgrade_environment
File "/usr/lib/python2.5/site-packages/Trac-0.11.4-py2.5.egg/trac/db/util.py", line 50, in execute
return self.cursor.execute(sql_escape_percent(sql), args)
File "/usr/lib/python2.5/site-packages/Trac-0.11.4-py2.5.egg/trac/db/sqlite_backend.py", line 58, in execute
args or [])
File "/usr/lib/python2.5/site-packages/Trac-0.11.4-py2.5.egg/trac/db/sqlite_backend.py", line 50, in _rollback_on_error
return function(self, _args, *_kwargs)
sqlite3.OperationalError: near "?": syntax error
The text was updated successfully, but these errors were encountered: