Modify ↓
Opened 21 years ago
Closed 21 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: |
Description
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'.
Example:
Oops... 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 ? trac.core.cgi_start() 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 self.con._begin() File "/usr/lib/python2.3/site-packages/sqlite/main.py", line 508, in _begin self.db.execute("BEGIN") OperationalError: database is locked
Attachments (0)
Change History (2)
comment:1 by , 21 years ago
Status: | new → assigned |
---|
comment:2 by , 21 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in [480].