On 2012-01-12, Lewis wrote in gmane.text.docutils.user:
> You are most likely aware that the Leo-editor project makes use of
> Docutils. I downloaded and installed Docutils snapshot on 10/01/2011
> and the installation was successful. However when I ran leo-editor it
> gave a traceback which I reported as a bug
> To summarise - docutils performs a system exit when it fails to find
> the html4css1.css1 file.
An error-level system message is issued when the requested file is
required for the conversion (e.g. to extract data or to embedd it): with
stylesheets, this means when the "embed-stylesheet" setting is True.
To avoid sys-exit for missing style sheets, either set embed-stylesheet to
False or raise the abort-level. I don't know how Leo calls docutils,
but config files at the standard places should hopefully work.
> I hope the leo bug link is sufficient for you
> but please ask if you need any more information or want me to try and
> reproduce the traceback.
It would be interesting to to find out, why the standard CSS stylesheet was
not found in the first place. As a relative path is used, the reason might
be a "wrong" idea of present work directory.
Get latest updates about Open Source Projects, Conferences and News.