Modify ↓
#1666 closed defect (duplicate)
rst.py fails with DocUtils version '0.3.10'
| Reported by: | anonymous | Owned by: | Jonas Borgström |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | 0.8.1 |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
Downloading last revision code of DocUtils (now 0.3.10) and exception raises when trying to view an rst portion.
Docutils version >= 0.3.3 required, 0.3.10 found'
In the rst.py code we can read
docutils_required = '0.3.3'
....
if __version__ < docutils_required:
raise EnvironmentError, 'Docutils version >= %s required, %s found' % (docutils_required, __version__)
I think (I do not know python language) this exception raises incorrectly as a result of a STRING COMPARATION
This can be fixed touching the first line to
docutils_required = '0.3.10'
and recompiling trac.
but the correct fix should be made by touohing the exception condition line.
Attachments (0)
Note:
See TracTickets
for help on using tickets.



Duplicate of #1618, fixed in [1748]/[1749]