Modify ↓
Opened 22 years ago
Closed 22 years ago
#388 closed defect (fixed)
Additional error message on every error (__nonzero__ should return an int)
| Reported by: | Christopher Lenz | Owned by: | daniel |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.7 |
| Component: | general | Version: | devel |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
For example here:
http://projects.edgewall.com/trac/ticket/999
(this will only reproduce the problem until someone creates the 999th ticket, of course)
Attachments (0)
Change History (3)
comment:1 by , 22 years ago
comment:2 by , 22 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
Note:
See TracTickets
for help on using tickets.



The full error message is:
Content-Type: text/plain Oops... Trac detected an internal error: __nonzero__ should return an int Traceback (most recent call last): File "/Users/chris/Projects/Trac/trunk/cgi-bin/trac.cgi", line 25, in ? trac.core.cgi_start() File "/Users/chris/Projects/Trac/trunk/trac/core.py", line 443, in cgi_start send_pretty_error(e, None) File "/Users/chris/Projects/Trac/trunk/trac/core.py", line 383, in send_pretty_error if env and env.log: TypeError: __nonzero__ should return an int