Modify

Opened 7 years ago

Last modified 7 years ago

#1792 new defect

Error when installing

Reported by: anonymous Owned by: masariello
Priority: normal Component: ScrumPlugin
Severity: blocker Keywords:
Cc: Trac Release: 0.10

Description

When I try to run the trac-admin upgrade I get this error:

Command failed: unrecognized token: ":"

This is the same error message as reported for the ScrumBurndownPlugin Ticket#1730

I have never installed this plugin before.

I'm using Trac 0.10.3 on ubuntu 7.04 with SQLite

Attachments (0)

Change History (4)

comment:1 Changed 7 years ago by anonymous

Oh, sorry. I just saw that you closed another ScrumPlugin ticket refering to this same error because it was reported in #1730 .

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

  • Severity changed from critical to blocker

Am also getting the same error

Am using Windows XP/Apache/Python 2.5

1) I added the following lines in the trac.ini file

[ticket-custom]
estimatedwork = text
estimatedwork.label = Estimated Work
estimatedwork.order = 1
estimatedwork.value = 0
workdone = text
workdone.label = Work done
workdone.order = 2
workdone.value = 0

2) Created the .EGG file using the command 'python setup.py bdist_egg'.
3) Placed that egg file in the 'plugin' directory in the project folder
4) Restarted the server.

When I tried opening the project page, it said:

Trac Error
TracError: The Trac Environment needs to be upgraded.
Run "trac-admin d:/tracprojects\mworkstrac upgrade"

When I tried to upgrade trac from the command prompt, it gave the following error:

D:\Plugin\scrumplugin>trac-admin d:\tracpro
Internal error: unrecognized token: ":"
Traceback (most recent call last):
  File "c:\python25\lib\site-packages\Trac-
nsole.py", line 101, in onecmd
    rv = cmd.Cmd.onecmd(self, line) or 0
  File "C:\Python25\Lib\cmd.py", line 219,
    return func(arg)
  File "c:\python25\lib\site-packages\Trac-
nsole.py", line 1097, in do_upgrade
    self.__env.upgrade(backup=do_backup)
  File "c:\python25\lib\site-packages\Trac-
 line 407, in upgrade
    participant.upgrade_environment(db)
  File "build\bdist.win32\egg\scrumplugin\s
ment
    LANGUAGE 'sql' IMMUTABLE;""")
  File "c:\python25\lib\site-packages\Trac-
py", line 51, in execute
    return self.cursor.execute(sql)
  File "c:\python25\lib\site-packages\Trac-
e_backend.py", line 58, in execute
    args or [])
  File "c:\python25\lib\site-packages\Trac-
e_backend.py", line 50, in _rollback_on_err
    return function(self, *args, **kwargs)
OperationalError: unrecognized token: ":"

comment:3 in reply to: ↑ 2 Changed 7 years ago by aneez_backer@…

Please let us know when this issue will be resolved

comment:4 Changed 7 years ago by anonymous

People, I have no time to support the plugin these days (as I wrote on the plugin page) I'd be happy to give you write access to the code repo. Do you know how I can do that without giving you my password for the trac-hacks account?

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.