Edgewall Software

Ticket #7390 (closed defect: fixed)

Opened 6 months ago

Last modified 2 months ago

DeprecationWarning: docutils.nodes.Element.set_class deprecated

Reported by: info@… Owned by: rblank
Priority: normal Milestone: 0.12
Component: general Version: 0.12dev
Severity: minor Keywords:
Cc: info@…

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

docutils_deprecation_set_class.patch (426 bytes) - added by anonymous 3 months ago.

Change History

Changed 3 months ago by anonymous

Changed 3 months ago by anonymous

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

Changed 2 months ago by rblank

  • owner set to rblank
  • version set to 0.12dev
  • milestone set to 0.12

Changed 2 months ago by rblank

  • status changed from new to closed
  • resolution set to fixed

Fixed in [7634].

Add/Change #7390 (DeprecationWarning: docutils.nodes.Element.set_class deprecated)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from rblank. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.