Edgewall Software

Opened 12 years ago

Closed 12 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:

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
  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
  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, 12 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, 12 years ago

Keywords: needinfo added

comment:3 by Christian Boos, 12 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
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to as closed 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.