Dear *, I looked into what could be wrong:
1) I downloaded ALZIP from EST to read the EGG file. Indeed the Grammar.txt file was missing but the EGG file was also corrupted. 2) I donwloaded again the EGG file and this time the Grammar.txt was there. 3) I upgraded my software: move from Python 2.5 to 2.7, downloaded setuptools and installed Sphinx. 4) I built the index document. 5) It works now perfectly well. Conclusion: 1) The EGG file of Sphinx was probably corrupted and indeed the Grammar.txt file was missing (or unreadable). 2) ALZIP looks like a nice tool. 3) I upgraded to 2.7 without problem. 4) Sphinx works very well now and looks very nice. Regards, Rene On Sep 26, 8:15 pm, RAH <rene.heym...@gmail.com> wrote: > Dear *, > > While executing the command "sphinx-build source destination", sphinx > (V1.0.4) comes with this error: > > # Docutils version: 0.7 release > # Jinja2 version: 2.5.2 > Traceback (most recent call last): > File "build/bdist.linux-i686/egg/sphinx/cmdline.py", line 172, in > main > warningiserror, tags) > File "build/bdist.linux-i686/egg/sphinx/application.py", line 116, > in __init__ > self.setup_extension(extension) > File "build/bdist.linux-i686/egg/sphinx/application.py", line 244, > in setup_extension > mod = __import__(extension, None, None, ['setup']) > File "build/bdist.linux-i686/egg/sphinx/ext/autodoc.py", line 25, in > <module> > File "build/bdist.linux-i686/egg/sphinx/pycode/__init__.py", line > 26, in <module> > File "build/bdist.linux-i686/egg/sphinx/pycode/pgen2/driver.py", > line 126, in load_grammar > g = pgen.generate_grammar(gt) > File "build/bdist.linux-i686/egg/sphinx/pycode/pgen2/pgen.py", line > 383, in generate_grammar > p = ParserGenerator(filename) > File "build/bdist.linux-i686/egg/sphinx/pycode/pgen2/pgen.py", line > 15, in __init__ > stream = open(filename) > IOError: [Errno 2] No such file or directory: 'c:\\_python25\ > \sphinx-1.0.4-py2.5.egg\\sphinx\\pycode\\Grammar.txt' > > I run Python 2.5 on a Windows XP laptop. > Am I doing something wrong ? This is my first hour with Sphinx, which, > by the way, I find producing very elegant documentation. > Congratulations ! > > Thanks + regards, > Rene -- 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.