This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tcdelaney
Recipients georg.brandl, tcdelaney
Date 2008-10-08.22:28:26
SpamBayes Score 1.811777e-05
Marked as misclassified No
Message-id <1223504918.57.0.382949560871.issue4081@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2008-10-08 22:28:40tcdelaneysetrecipients: + tcdelaney, georg.brandl
2008-10-08 22:28:38tcdelaneysetmessageid: <1223504918.57.0.382949560871.issue4081@psf.upfronthosting.co.za>
2008-10-08 22:28:35tcdelaneylinkissue4081 messages
2008-10-08 22:28:34tcdelaneycreate