Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

#6116 closed defect (wontfix)

Error when submitting comment on existing ticket

Reported by: ftmichael@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: ticket system Version:
Severity: normal Keywords: needinfo
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christian Boos)

Error when submitting a new comment on an existing ticket at http://iriverter.thestaticvoid.org/ . Error simply says " Trac detected an internal error:" and gives no other details, except the following:

Traceback (most recent call last):
  File "/home/jlee/local/lib/python2.5/site-packages/trac/web/main.py", line 387, in dispatch_request
    dispatcher.dispatch(req)
  File "/home/jlee/local/lib/python2.5/site-packages/trac/web/main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "/home/jlee/local/lib/python2.5/site-packages/trac/ticket/web_ui.py", line 279, in process_request
    self._do_save(req, db, ticket)
  File "/home/jlee/local/lib/python2.5/site-packages/trac/ticket/web_ui.py", line 546, in _do_save
    cnum=internal_cnum):
  File "/home/jlee/local/lib/python2.5/site-packages/trac/ticket/model.py", line 250, in save_changes
    (self.id, when, author, cnum, comment))
  File "/home/jlee/local/lib/python2.5/site-packages/trac/db/util.py", line 50, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "/home/jlee/local/lib/python2.5/site-packages/trac/db/sqlite_backend.py", line 56, in execute
    args or [])
  File "/home/jlee/local/lib/python2.5/site-packages/trac/db/sqlite_backend.py", line 48, in _rollback_on_error
    return function(self, *args, **kwargs)
DatabaseError: database disk image is malformed

Attachments (0)

Change History (3)

comment:1 by Jonas Borgström, 17 years ago

Hmm, sounds like your sqlite database is corrupt for some reason. Can you run the following without getting any error messages:

sqlite /path/to/tracenv/db/sqlite.db .dump > /tmp/mydb.dump

comment:2 by sid, 17 years ago

Keywords: needinfo added

comment:3 by Christian Boos, 17 years ago

Description: modified (diff)
Resolution: wontfix
Status: newclosed

Nothing we can do here besides the advice given by jonas in comment:1.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.