When I'm trying to generate html documentation using Python Sphinx under 
Windows, I get the following error:

IOError: [Errno 2] No such file or directory: 
'c:\python27\sphinx.egg\sphinx\pycode\Grammar.txt'

However, when I open the sphinx.egg, the file "Grammar.txt" is present...

Here's the log it provided

Sphinx version: 1.1.3Python version: 2.7.3Docutils version: 0.9.1 releaseJinja2 
version: 2.6 Traceback (most recent call last): File 
"c:\python27\sphinx.egg\sphinx\cmdline.py", line 188, in main

warningiserror, tags)   File "c:\python27\sphinx.egg\sphinx\application.py", 
line 114, in __init__
self.setup_extension(extension)   File 
"c:\python27\sphinx.egg\sphinx\application.py", line 247, in

setup_extension mod = *import*(extension, None, None, ['setup']) File 
"c:\python27\sphinx.egg\sphinx\ext\autodoc.py", line 26, in 
File "c:\python27\sphinx.egg\sphinx\pycode__init__.py", line 25, in File 
"c:\python27\sphinx.egg\sphinx\pycode\pgen2\driver.py", line 126, in 
load_grammar g = pgen.generate_grammar(gt) File 
"c:\python27\sphinx.egg\sphinx\pycode\pgen2\pgen.py", line 383, in 
generate_grammar p = ParserGenerator(filename) File 
"c:\python27\sphinx.egg\sphinx\pycode\pgen2\pgen.py", line 15, in *init* stream 
= open(filename) IOError: [Errno 2] No such file or directory: 
'c:\python27\sphinx.egg\sphinx\pycode\Grammar.txt'

Anyone has a clue why ?

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sphinx-dev/-/YpGpRDbtLoUJ.
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.

Reply via email to