New submission from Tim Delaney <[EMAIL PROTECTED]>:
If there is a directory to be copied to _static, Sphinx first attempts
to delete any directory by the same name in the _static directory. See
attached sphinx_static_exc.txt for the exception.
The simplest fix is to change the call (line 595, Sphinx 0.4.2) to::
shutil.rmtree(targetname)
to::
shutil.rmtree(targetname, ignore_errors=True)
It would also be preferable if instead of blindly doing rmtree/copytree,
only updated files be copied to _static.
----------
assignee: georg.brandl
components: Documentation tools (Sphinx)
files: sphinx_static_exc.txt
messages: 74551
nosy: georg.brandl, tcdelaney
severity: normal
status: open
title: Error copying directory to _static in Sphinx
type: crash
Added file: http://bugs.python.org/file11752/sphinx_static_exc.txt
_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue4081>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com