Using "make.bat" in Sphinx 1.03 under Python 2.6 and Windows 7 gives
an error related to "Application Data" folder. Works correctly on
Windows XP.
Perhaps the error has something to do with the fact that in Windows 7,
"Application Data" is not a folder, but a "junction" that points to
"Appdata\local"

Is there a work-around?

Here is the entry in the log file:

# Sphinx version: 1.0.3
# Docutils version: 0.6 release
# Jinja2 version: 2.4.1
Traceback (most recent call last):
  File "C:\Python26\lib\site-packages\sphinx-1.0.3-py2.6.egg\sphinx
\cmdline.py", line 172, in main
    warningiserror, tags)
  File "C:\Python26\lib\site-packages\sphinx-1.0.3-py2.6.egg\sphinx
\application.py", line 134, in __init__
    self._init_env(freshenv)
  File "C:\Python26\lib\site-packages\sphinx-1.0.3-py2.6.egg\sphinx
\application.py", line 180, in _init_env
    return self._init_env(freshenv=True)
  File "C:\Python26\lib\site-packages\sphinx-1.0.3-py2.6.egg\sphinx
\application.py", line 162, in _init_env
    self.env.find_files(self.config)
  File "C:\Python26\lib\site-packages\sphinx-1.0.3-py2.6.egg\sphinx
\environment.py", line 407, in find_files
    self.srcdir, config.source_suffix, exclude_matchers=matchers))
  File "C:\Python26\lib\site-packages\sphinx-1.0.3-py2.6.egg\sphinx
\util\__init__.py", line 85, in get_matching_docs
    for filename in get_matching_files(dirname, exclude_matchers):
  File "C:\Python26\lib\site-packages\sphinx-1.0.3-py2.6.egg\sphinx
\util\__init__.py", line 60, in get_matching_files
    for root, dirs, files in walk(dirname, followlinks=True):
  File "C:\Python26\lib\site-packages\sphinx-1.0.3-py2.6.egg\sphinx
\util\osutil.py", line 78, in walk
    for x in walk(fullpath, topdown, followlinks):
  File "C:\Python26\lib\site-packages\sphinx-1.0.3-py2.6.egg\sphinx
\util\osutil.py", line 78, in walk
    for x in walk(fullpath, topdown, followlinks):
  File "C:\Python26\lib\site-packages\sphinx-1.0.3-py2.6.egg\sphinx
\util\osutil.py", line 78, in walk
    for x in walk(fullpath, topdown, followlinks):
  File "C:\Python26\lib\site-packages\sphinx-1.0.3-py2.6.egg\sphinx
\util\osutil.py", line 64, in walk
    names = os.listdir(top)
WindowsError: [Error 5] Access is denied: 'C:\\Users\\myname\\AppData\
\Local\\Application Data/*.*'

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to sphinx-...@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to