Oops again,

the new docutils version doesn't solve the problem, the message has just become more short:

<partial node>:: (ERROR/3) Cannot embed stylesheet 'html4css1.css': No such file or directory.

Otherwise it is still there, and it still doesn't cause any harm except disturbing the output of my build.

Luc

On 04/12/2013 12:08 PM, Luc Saffre wrote:
Oops, sorry, I somehow didn't read that thread until the end. The
solution for my problem is, as the thread reveals, to upgrade to the
development version of docutils instead of the released 0.10.

Lucky Luc
(who asks more quickly than his shadow)


On 04/12/2013 11:54 AM, Luc Saffre wrote:
Hi,

I use Sphinx 1.2b1 and docutils 0.10, both installed using pip in a
virtualenv, and I get a lot of "error" messages when I build my Sphinx
docs:

<partial node>:: (ERROR/3) Cannot embed stylesheet
'../../../pythonenvs/py27/local/lib/python2.7/site-packages/docutils/writers/html4css1/html4css1.css':

No such file or directory.

It looks as if the substring "/local" in the above filename is too much.
I do have a file named
`/home/luc/pythonenvs/py27/lib/python2.7/site-packages/docutils/writers/html4css1/html4css1.css`

(without the "/local")

This "error" doesn't seem to stop the Sphinx build though, and all my
docs seem to render perfectly.

Martin Gignac (2013-03-12 15:38) reported a problem to docutils-users
which seems to be related:

[Docutils-users] Change in default location of html4css1.css in recent
snapshots?
http://sourceforge.net/mailarchive/forum.php?thread_name=CANf9dFNfFQD_hum%2BROYALaNGkvRDPn55UU_YS2gMKPri4o4jEA%40mail.gmail.com&forum_name=docutils-users



He speaks about a "--stylesheet-dirs" option which he used as workaround.

Questions:

- Is there a way to specify this "--stylesheet-dirs" option from my
   Sphinx conf.py?
- Can somebody explain why this error doesn't cause any harm?
- How can I help to fix this problem?

Luc

(Besides this a big thankyou to all those who maintain Docutils and
Sphinx for their great work)


--
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sphinx-users+unsubscr...@googlegroups.com.
To post to this group, send email to sphinx-users@googlegroups.com.
Visit this group at http://groups.google.com/group/sphinx-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to