Modify

Opened 19 years ago

Closed 18 years ago

#405 closed defect (duplicate)

Crash when creating or replying to a topic

Reported by: anonymous Owned by: Radek Bartoň
Priority: normal Component: DiscussionPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

A colleage of mine encountered this problem when trying to create a topic. Apparently he also got the same error when trying to reply to another topic:

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 300, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 190, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.linux-i686/egg/tracdiscussion/core.py", line 201, in process_request
  File "build/bdist.linux-i686/egg/tracdiscussion/core.py", line 383, in add_topic
  File "/usr/lib/python2.4/site-packages/trac/db/util.py", line 48, in execute
    return self.cursor.execute(sql)
  File "/usr/lib/python2.4/site-packages/trac/db/sqlite_backend.py", line 44, in execute
    args or [])
  File "/usr/lib/python2.4/site-packages/trac/db/sqlite_backend.py", line 36, in _rollback_on_error
    return function(self, *args, **kwargs)
OperationalError: near "my": syntax error

Again, this is running against trac trunk.

Attachments (0)

Change History (3)

comment:1 Changed 19 years ago by Radek Bartoň

Status: newassigned

Weird, If this error is evokable, then I wonder what values you entered in form. In next changeset I'll append debug outputs for database access.

comment:2 Changed 19 years ago by Radek Bartoň

Could you evoke this error with new changeset? I you could please send cut of debug log too.

comment:3 Changed 18 years ago by Radek Bartoň

Resolution: duplicate
Status: assignedclosed

I think that this is duplicate to #485.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Radek Bartoň.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.