Edgewall Software
Modify

Ticket #6116 (closed defect: wontfix)

Opened 4 years ago

Last modified 4 years ago

Error when submitting comment on existing ticket

Reported by: ftmichael@… Owned by: jonas
Priority: normal Milestone:
Component: ticket system Version:
Severity: normal Keywords: needinfo
Cc:
Release Notes:
API Changes:

Description (last modified by cboos) (diff)

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

Change History

comment:1 Changed 4 years ago by jonas

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 Changed 4 years ago by sid

  • Keywords needinfo added

comment:3 Changed 4 years ago by cboos

  • Description modified (diff)
  • Resolution set to wontfix
  • Status changed from new to closed

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

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from jonas. Next status will be 'closed'
Author


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

 
Note: See TracTickets for help on using tickets.