Modify

Opened 7 years ago

Last modified 5 years ago

#2299 new defect

Problem installing in .11 trunk / sqlite

Reported by: ryansroberts@… Owned by: masariello
Priority: highest Component: ScrumPlugin
Severity: major Keywords:
Cc: Trac Release: 0.11

Description

I have an issue installing the plugin against .11 r6306, the upgrade script fails.

C:\Python24\Scripts>trac-admin G:\Trac\Meta upgrade
Traceback (most recent call last):
  File "C:\Python24\Scripts\trac-admin-script.py", line 7, in ?
    sys.exit(
  File "c:\python24\lib\site-packages\trac-0.11dev_r6306-py2.4.egg\trac\admin\co
nsole.py", line 1194, in run
    return admin.onecmd(command)
  File "c:\python24\lib\site-packages\trac-0.11dev_r6306-py2.4.egg\trac\admin\co
nsole.py", line 102, in onecmd
    rv = cmd.Cmd.onecmd(self, line) or 0
  File "C:\Python24\Lib\cmd.py", line 219, in onecmd
    return func(arg)
  File "c:\python24\lib\site-packages\trac-0.11dev_r6306-py2.4.egg\trac\admin\co
nsole.py", line 1105, in do_upgrade
    self.__env.upgrade(backup=do_backup)
  File "c:\python24\lib\site-packages\trac-0.11dev_r6306-py2.4.egg\trac\env.py",
 line 435, in upgrade
    participant.upgrade_environment(db)
  File "build\bdist.win32\egg\scrumplugin\scrum.py", line 47, in upgrade_environ
ment
  File "c:\python24\lib\site-packages\trac-0.11dev_r6306-py2.4.egg\trac\db\util.
py", line 51, in execute
    return self.cursor.execute(sql)
  File "c:\python24\lib\site-packages\trac-0.11dev_r6306-py2.4.egg\trac\db\sqlit
e_backend.py", line 58, in execute
    args or [])
  File "c:\python24\lib\site-packages\trac-0.11dev_r6306-py2.4.egg\trac\db\sqlit
e_backend.py", line 50, in _rollback_on_error
    return function(self, *args, **kwargs)
pysqlite2.dbapi2.OperationalError: near "OR": syntax error

Attachments (0)

Change History (3)

comment:1 follow-up: Changed 7 years ago by anonymous

  • Priority changed from normal to high

comment:2 in reply to: ↑ 1 Changed 6 years ago by anonymous

Replying to anonymous:
I got a error, too.

G:\trac>trac-admin G:\trac upgrade
Traceback (most recent call last):
  File "C:\Python25\Scripts\trac-admin-script.py", line 8, in <module>
    load_entry_point('Trac==0.11.1', 'console_scripts', 'trac-admin')()
  File "C:\Python25\Lib\site-packages\trac\admin\console.py", line 1295, in run
    return admin.onecmd(command)
  File "C:\Python25\Lib\site-packages\trac\admin\console.py", line 123, 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\admin\console.py", line 1145, in do_upgrade
    self.__env.upgrade(backup=do_backup)
  File "C:\Python25\Lib\site-packages\trac\env.py", line 442, in upgrade
    participant.upgrade_environment(db)
  File "build\bdist.win32\egg\scrumplugin\scrum.py", line 51, in upgrade_environment
  File "C:\Python25\Lib\site-packages\trac\db\util.py", line 51, in execute
    return self.cursor.execute(sql)
  File "C:\Python25\Lib\site-packages\trac\db\sqlite_backend.py", line 58, in execute args or [])
  File "C:\Python25\Lib\site-packages\trac\db\sqlite_backend.py", line 50, in _rollback_on_error
    return function(self, *args, **kwargs)
sqlite3.OperationalError: unrecognized token: ":"

comment:3 Changed 5 years ago by anonymous

  • Priority changed from high to highest

the same problem:

Traceback (most recent call last):
  File "/usr/local/bin/trac-admin", line 8, in <module>
    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/scrumplugin/scrum.py", line 51, in upgrade_environment
  File "/usr/lib/python2.5/site-packages/Trac-0.11.4-py2.5.egg/trac/db/util.py", line 51, in execute
    return self.cursor.execute(sql)
  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)
pysqlite2.dbapi2.OperationalError: near "OR": syntax error

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.