Modify

Opened 9 years ago

Closed 9 years ago

#405 closed defect (duplicate)

Crash when creating or replying to a topic

Reported by: anonymous Owned by: Blackhex
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 9 years ago by Blackhex

  • Status changed from new to assigned

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 9 years ago by Blackhex

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

comment:3 Changed 9 years ago by Blackhex

  • Resolution set to duplicate
  • Status changed from assigned to closed

I think that this is duplicate to #485.

Add Comment

Modify Ticket

Action
as closed The owner will remain Blackhex.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.