Edgewall Software

Opened 18 years ago

Closed 18 years ago

#341 closed defect (fixed)

Exception display in trac.cgi incorrect

Reported by: daniel Owned by: Jonas Borgström
Priority: highest Milestone: 0.7
Component: general Version: devel
Severity: blocker Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:


The exception handler shows the wrong traceback when an unknown/unhandled exception is thrown. Instead of showing the relevant traceback, it always shows 'database is locked'.



Trac detected an internal error:

database is locked

Traceback (most recent call last):
  File "/home/daniel/Work/trac/trunk/cgi-bin/trac.cgi", line 25, in ?
  File "/home/daniel/trac/trac/core.py", line 427, in cgi_start
    send_pretty_error(e, open_environment())
  File "/home/daniel/trac/trac/core.py", line 167, in open_environment
    version = env.get_version()
  File "/home/daniel/Work/trac/trunk/trac/Environment.py", line 136, in get_version
    cursor.execute("SELECT value FROM system WHERE name='database_version'")
  File "/usr/lib/python2.3/site-packages/sqlite/main.py", line 237, in execute
  File "/usr/lib/python2.3/site-packages/sqlite/main.py", line 508, in _begin
OperationalError: database is locked

Attachments (0)

Change History (2)

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

Status: newassigned

comment:2 by Jonas Borgström, 18 years ago

Resolution: fixed
Status: assignedclosed

Fixed in [480].

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 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.