Edgewall Software
Modify

Opened 16 years ago

Closed 15 years ago

#7390 closed defect (fixed)

DeprecationWarning: docutils.nodes.Element.set_class deprecated

Reported by: info@… Owned by: Remy Blank
Priority: normal Milestone: 0.12
Component: general Version: 0.12dev
Severity: minor Keywords:
Cc: info@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

I saw this error in the Apache logs earlier today:

[Sun Jun 29 20:19:41 2008] [error] /usr/local/src/trac/trac/mimeview/rst.py:87: DeprecationWarning: docutils.nodes.Element.set_class deprecated; append to Element['classes'] list attribute directly
[Sun Jun 29 20:19:41 2008] [error]   reference.set_class('missing')

Using Trac trunk (r7274) and Apache/2.2.4 (Ubuntu) DAV/2 SVN/1.4.4 mod_python/3.3.1 Python/2.5.2 PHP/5.2.3-1ubuntu6.3 mod_ssl/2.2.4 OpenSSL/0.9.8e mod_wsgi/2.0

Attachments (1)

docutils_deprecation_set_class.patch (426 bytes ) - added by anonymous 16 years ago.

Download all attachments as: .zip

Change History (4)

by anonymous, 16 years ago

comment:1 by anonymous, 16 years ago

I saw this error in my apache log too. I'm not a python programmer but perhaps attached patch works.

comment:2 by Remy Blank, 15 years ago

Milestone: 0.12
Owner: set to Remy Blank
Version: 0.12dev

comment:3 by Remy Blank, 15 years ago

Resolution: fixed
Status: newclosed

Fixed in [7634].

Modify Ticket

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