= bug description = I put some short comment to the ticket https://fedorahosted.org/389/ticket/344, then clicked "Submit changes", then I got this error:
Oops… Trac detected an internal error:
DatabaseError: database disk image is malformed
This is probably a local installation issue. Found a bug in Trac?
If you think this should work and you can reproduce the problem, you should consider creating a bug report.
Note that the following plugins seem to be involved: BatchModify, IniAdmin, NavAdd, TracBzr, TracCustomFieldAdmin, TracGit, TracTocMacro, tracvatar, TracXMLRPC Please report this issue to the plugin maintainer.
Before you do that, though, please first try searching for similar issues, as it is quite likely that this problem has been reported before. For questions about installation and configuration of Trac or its plugins, please try the mailing list instead of creating a ticket.
Otherwise, please a new bug report describing the problem and explain how to reproduce it. Python Traceback Most recent call last:
File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 525, in _dispatch_request File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 246, in dispatch File "/usr/lib/python2.6/site-packages/trac/ticket/web_ui.py", line 169, in process_request File "/usr/lib/python2.6/site-packages/trac/ticket/web_ui.py", line 541, in _process_ticket_request File "/usr/lib/python2.6/site-packages/trac/ticket/web_ui.py", line 1238, in _do_save File "/usr/lib/python2.6/site-packages/trac/ticket/model.py", line 289, in save_changes File "/usr/lib/python2.6/site-packages/trac/db/api.py", line 77, in transaction_wrapper File "/usr/lib/python2.6/site-packages/trac/ticket/model.py", line 349, in do_save File "/usr/lib/python2.6/site-packages/trac/db/util.py", line 65, in execute File "/usr/lib/python2.6/site-packages/trac/db/sqlite_backend.py", line 78, in execute File "/usr/lib/python2.6/site-packages/trac/db/sqlite_backend.py", line 56, in execute File "/usr/lib/python2.6/site-packages/trac/db/sqlite_backend.py", line 48, in _rollback_on_error
System Information:
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0 Trac 0.12.3 Babel 0.9.4 Bazaar 2.1.1 CustomFieldAdmin 0.2.6 Docutils 0.6 Genshi 0.6 GIT 1.7.2.1 mod_wsgi 3.2 (WSGIProcessGroup WSGIApplicationGroup %{GLOBAL}) Pygments 1.1.1 pysqlite 2.3.5 Python 2.6.6 (r266:84292, Aug 28 2012, 10:56:20) [GCC 4.4.6 20120305 (Red Hat 4.4.6-4)] pytz 2010h RPC 1.1.0 setuptools 0.6 SQLite 3.6.20 Subversion 1.6.11 (r934486) TracBzr 0.4.2 jQuery 1.4.4 Enabled Plugins: BatchModify 0.8.0-trac0.12 /usr/lib/python2.6/site-packages IniAdmin 0.2 /usr/lib/python2.6/site-packages NavAdd 0.1 /usr/lib/python2.6/site-packages TracBzr 0.4.2 /usr/lib/python2.6/site-packages TracCustomFieldAdmin 0.2.6 /usr/lib/python2.6/site-packages TracGit 0.12.0.5dev /usr/lib/python2.6/site-packages TracTocMacro 11.0.0.3 /usr/lib/python2.6/site-packages tracvatar 1.7 /usr/lib/python2.6/site-packages TracXMLRPC 1.1.0 /usr/lib/python2.6/site-packages
I repeated a couple of times, but every time I got the same errors.
= bug analysis =
= fix recommendation =
Can you try now?
It's fixed! Thanks so much, Kevin.
We saw this the other day on another project. Somehow in the past some corruption crept in and a dump/restore of the trac db fixed it. :)
Glad it was the case here too... although I am still puzzled when/where the corruption happened.
Login to comment on this ticket.