Hi,
I am getting an error when running the sphinx builder. I believe it is
trying to copy/move an svn folder, which is raising the Access Denied
exception.
Can I tell Sphinx to skip certain folders, in particular the svn ones?
Or tell it to continue after an error? At the moment it gets the error
and stops copying files, which is annoying.
The error when running make html
copying static files...
Exception occurred:
File "C:\Python26\lib\shutil.py", line 219, in rmtree
os.remove(fullname)
WindowsError: [Error 5] Access is denied: 'D:\\dev\\build\\html\
\_static\\images\\.svn\\all-wcprops'
The full traceback has been saved in c:\docume~1\admini~1\locals~1\temp
\sphinx-err-xciftu.log, if you want to report the issue to the author.
Please also report this if it was a user error, so that a better error
message can be provided next time.
Send reports to [email protected]. Thanks!
The log is as follows
# Sphinx version: 0.6.3
# Docutils version: 0.6 release
Traceback (most recent call last):
File "C:\Python26\lib\site-packages\sphinx-0.6.3-py2.6.egg\sphinx
\cmdline.py", line 172, in main
app.build(all_files, filenames)
File "C:\Python26\lib\site-packages\sphinx-0.6.3-py2.6.egg\sphinx
\application.py", line 130, in build
self.builder.build_update()
File "C:\Python26\lib\site-packages\sphinx-0.6.3-py2.6.egg\sphinx
\builders\__init__.py", line 264, in build_update
'out of date' % len(to_build))
File "C:\Python26\lib\site-packages\sphinx-0.6.3-py2.6.egg\sphinx
\builders\__init__.py", line 322, in build
self.finish()
File "C:\Python26\lib\site-packages\sphinx-0.6.3-py2.6.egg\sphinx
\builders\html.py", line 551, in finish
self.globalcontext)
File "C:\Python26\lib\site-packages\sphinx-0.6.3-py2.6.egg\sphinx
\util\__init__.py", line 436, in copy_static_entry
shutil.rmtree(target)
File "C:\Python26\lib\shutil.py", line 216, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "C:\Python26\lib\shutil.py", line 221, in rmtree
onerror(os.remove, fullname, sys.exc_info())
File "C:\Python26\lib\shutil.py", line 219, in rmtree
os.remove(fullname)
WindowsError: [Error 5] Access is denied: 'D:\\dev\\build\\html\
\_static\\images\\.svn\\all-wcprops'
Thanks for your help!
--
You received this message because you are subscribed to the Google Groups
"sphinx-dev" 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/sphinx-dev?hl=en.