On Mar 5, 12:07 pm, Largo84 <[email protected]> wrote:
> I was having no difficulty with the @rst plugin even though it
> indicated the stylesheets were missing. After adding them and re-
> running the script I now get the following error:
> ~~~~~~~~~~~~~~~~~~
>
> Traceback (most recent call last):
>   File "C:\Python24\Lib\site-packages\Leo-4-5-1-2-final\leo\plugins

The present bzr trunk handles error recovery more smoothly.

> \rst3.py", line 1232, in writeSpecialTree
>     output = self.writeToDocutils(self.source)
>   File "C:\Python24\Lib\site-packages\Leo-4-5-1-2-final\leo\plugins
> \rst3.py", line 1325, in writeToDocutils
>     return pub.publish(argv=['--stylesheet=%s' % path])
>   File "C:\Python24\Lib\site-packages\docutils\core.py", line 225, in
> publish
>     sys.exit(exit_status)
> SystemExit: 1

The old way of (mis)handling errors caused docutils to crash on
formatting errors.  To repeat, this has been fixed in the trunk.

Edward
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to