Edgewall Software

Opened 18 years ago

Closed 18 years ago

#339 closed defect (fixed)

wiki diff is broken: 'builtin_function_or_method' object has no attribute 'close'

Reported by: trac@… Owned by: Jonas Borgström
Priority: normal Milestone: 0.7
Component: general Version: devel
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:


Going to: /wiki/WikiStart?version=16&diff=yes

I get the following, instead of the expected wiki diff:

Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/trac/core.py", line 425, in cgi_start
  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/trac/core.py", line 414, in real_cgi_start
  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/trac/Module.py", line 41, in run
  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/trac/Wiki.py", line 714, in render
    self.generate_diff(name, version)
  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/trac/Wiki.py", line 675, in generate_diff
AttributeError: 'builtin_function_or_method' object has no attribute 'close'

Changeset diffs seem to work OK, however.

Attachments (0)

Change History (2)

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

Milestone: 0.7
Status: newassigned

Seems like "someone" forgot to rename all occurances of "filter" to "filtr" :)

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.