Opened 11 years ago

Closed 11 years ago

#968 closed defect (worksforme)

creating ticket causes an OperationalError

Reported by: Antti Kaihola Owned by: Russ Tyndall
Priority: normal Component: TimingAndEstimationPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10


I'm running Trac from trunk, revision 4407 and the timingandestimation plugin revision 1651. Here's the environment:

Python:  	2.4 (#2, Feb 12 2005, 00:29:46) [GCC 3.4.3 (Mandrakelinux 10.2 3.4.3-3mdk)]
Subversion: 	1.1.4
SQLite: 	3.2.2
pysqlite: 	2.0.4

I tried to create a simple ticket with estimated hours 2 and add one hour, and got the OperationalError with the message near "00": syntax error. I'll attach the traceback.

Attachments (1)

ticket_create_operationalerror.traceback (11.1 KB) - added by Antti Kaihola 11 years ago.

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by Antti Kaihola

comment:1 Changed 11 years ago by Russ Tyndall

I grepped for '00' in my source code and also looked at the traceback, and was unable to figure out what was going on.

The only thing I can think of is that maybe your sqlite needs updating.

According to

"sqlite CAST operator breaks things for sqlite<3.2.3)"

As I notice you are below that number, and that I am not experiencing these errors, the best I can say is try an upgrade.

If that doesnt work, please let me know.

comment:2 Changed 11 years ago by Russ Tyndall

Resolution: worksforme
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Russ Tyndall.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.