Code:
Oops…
Trac detected an internal error:
DatabaseError: database disk image is malformed
There was an internal error in Trac. It is recommended that you inform your local Trac administrator and give him all the information he needs to reproduce the issue.
To that end, you could ==== How to Reproduce ==== While doing a POST operation on `/login`, Trac issued an internal error. ''(please provide additional details here)'' Request parameters: {{{ {'__FORM_TOKEN': u'92cf77492d270523cf481f5c', 'password': u'**********', 'referer': u'http://calibre.kovidgoyal.net/', 'user': u'JSWolf'} }}} User Agent was: `Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.5) Gecko/2008122619 Firefox/3.0.2 (tete009 SSE PGO)` ==== System Information ==== || '''Trac''' || `0.11.2` || || '''Python''' || `2.5.2 (r252:60911, Nov 18 2008, 20:40:19) ` [[br]] `[GCC 4.2.3 (Gentoo 4.2.3 p1.0)]` || || '''setuptools''' || `0.6c9` || || '''SQLite''' || `3.6.10` || || '''pysqlite''' || `2.4.1` || || '''Genshi''' || `0.5.1` || || '''mod_python''' || `3.3.1` || || '''Pygments''' || `0.11.1` || || '''jQuery:''' || `1.2.6` || ==== Python Traceback ==== {{{ Traceback (most recent call last): File "/usr/lib64/python2.5/site-packages/trac/web/main.py", line 432, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib64/python2.5/site-packages/trac/web/main.py", line 204, in dispatch resp = chosen_handler.process_request(req) File "build/bdist.linux-x86_64/egg/acct_mgr/web_ui.py", line 371, in process_request return auth.LoginModule.process_request(self, req) File "/usr/lib64/python2.5/site-packages/trac/web/auth.py", line 104, in process_request self._redirect_back(req) File "build/bdist.linux-x86_64/egg/acct_mgr/web_ui.py", line 393, in _redirect_back req.redirect(referer or self.env.abs_href()) File "/usr/lib64/python2.5/site-packages/trac/web/api.py", line 294, in redirect self.session.save() # has to be done before the redirect is sent File "/usr/lib64/python2.5/site-packages/trac/web/session.py", line 133, in save (mintime,)) File "/usr/lib64/python2.5/site-packages/trac/db/util.py", line 50, in execute return self.cursor.execute(sql_escape_percent(sql), args) File "/usr/lib64/python2.5/site-packages/trac/db/sqlite_backend.py", line 58, in execute args or []) File "/usr/lib64/python2.5/site-packages/trac/db/sqlite_backend.py", line 50, in _rollback_on_error return function(self, *args, **kwargs) DatabaseError: database disk image is malformed }}} a ticket at this site.
The action that triggered the error was:
POST: /login
TracGuide — The Trac User and Administration Guide
I got the above when I just tried to login.