Edgewall Software
Modify

Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#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)

Change History (2)

comment:1 by Emmanuel Blot, 19 years ago

Resolution: duplicate
Status: newclosed

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

comment:2 by Matthew Good, 19 years ago

This is a duplicate of #1618 which is fixed in 0.8.2

Modify Ticket

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