Edgewall Software
Modify

Opened 20 years ago

Closed 20 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 Christopher Lenz, 20 years ago

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

comment:2 by daniel, 20 years ago

Owner: changed from Jonas Borgström to daniel
Status: newassigned

comment:3 by daniel, 20 years ago

Resolution: fixed
Status: assignedclosed

Fixed in [534].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain daniel.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from daniel 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.