[Trac-tickets] [The Trac Project] #1666: rst.py fails with DocUtils
version '0.3.10'
The Trac Project
noreply at edgewall.com
Mon Jun 13 11:01:19 CDT 2005
#1666: rst.py fails with DocUtils version '0.3.10'
---------------------+------------------------------------------------------
Id: 1666 | Status: new
Component: general | Modified: Mon Jun 13 11:01:17 2005
Severity: normal | Milestone:
Priority: normal | Version: 0.8.1
Owner: jonas | Reporter: anonymous
---------------------+------------------------------------------------------
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.
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/1666>
The Trac Project <>
More information about the Trac-Tickets
mailing list