Modify ↓
Opened 17 years ago
Closed 17 years ago
#7390 closed defect (fixed)
DeprecationWarning: docutils.nodes.Element.set_class deprecated
| Reported by: | 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)
Change History (4)
by , 17 years ago
| Attachment: | docutils_deprecation_set_class.patch added |
|---|
comment:1 by , 17 years ago
comment:2 by , 17 years ago
| Milestone: | → 0.12 |
|---|---|
| Owner: | set to |
| Version: | → 0.12dev |
Note:
See TracTickets
for help on using tickets.



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