Hi George,

On Aug 23, 8:18 pm, Georg Brandl wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi all,
>
> I'm happy to announce the release of Sphinx 1.0.3, a bug-fix release
> in the 1.0 series fixing (among others) a regression in 1.0.2, bug #501.
>
> What is it?
> ===========
>
> Sphinx is a tool that makes it easy to create intelligent and beautiful
> documentation for Python projects (or other documents consisting of
> multiple reStructuredText source files).
>
> Website:http://sphinx.pocoo.org/
>
> What's new in 1.0 (very short version)?
> =======================================
>
> Lots of stuff; most important of all domains support (see blog post 
> athttp://pythonic.pocoo.org/2009/9/12/new-in-sphinx-1-0-domains), new HTML
> themes, new output formats (manpage, epub).
>
> The full list is at <http://sphinx.pocoo.org/latest/changes.html>.

Thank you for the new release. With Python 2.5 at work, everything
works smoothly. With 2.6 on my computer, I get this exception:

looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [  0%] advancedsplash.AdvancedSplash

Exception occurred:
  File "C:\Python26\lib\site-packages\jinja2-2.5.2-py2.6.egg
\jinja2\lexer.py", line 343, in next
    self.current = self._next()
ValueError: generator already executing
The full traceback has been saved in c:\users\andrea\appdata\local\temp
\sphinx-err-88o06g.log, if you want to report the
 issue to the developers.
<...>


The full exception follows:


# Sphinx version: 1.0.3
# Docutils version: 0.7 release
# Jinja2 version: 2.5.2
Traceback (most recent call last):
  File "C:\Python26\lib\site-packages\sphinx-1.0.3-py2.6.egg\sphinx
\cmdline.py", line 173, in main
    app.build(force_all, filenames)
  File "C:\Python26\lib\site-packages\sphinx-1.0.3-py2.6.egg\sphinx
\application.py", line 210, in build
    raise
  File "C:\Python26\lib\site-packages\sphinx-1.0.3-py2.6.egg\sphinx
\application.py", line 207, in build
    self.builder.build_update()
  File "C:\Python26\lib\site-packages\sphinx-1.0.3-py2.6.egg\sphinx
\builders\__init__.py", line 198, in build_update
    'out of date' % len(to_build))
  File "C:\Python26\lib\site-packages\sphinx-1.0.3-py2.6.egg\sphinx
\builders\__init__.py", line 254, in build
    self.write(docnames, list(updated_docnames), method)
  File "C:\Python26\lib\site-packages\sphinx-1.0.3-py2.6.egg\sphinx
\builders\__init__.py", line 293, in write
    self.write_doc(docname, doctree)
  File "C:\Python26\lib\site-packages\sphinx-1.0.3-py2.6.egg\sphinx
\builders\html.py", line 406, in write_doc
    self.handle_page(docname, ctx, event_arg=doctree)
  File "C:\Python26\lib\site-packages\sphinx-1.0.3-py2.6.egg\sphinx
\builders\html.py", line 696, in handle_page
    output = self.templates.render(templatename, ctx)
  File "C:\Python26\lib\site-packages\sphinx-1.0.3-py2.6.egg\sphinx
\jinja2glue.py", line 108, in render
    return self.environment.get_template(template).render(context)
  File "C:\Python26\lib\site-packages\jinja2-2.5.2-py2.6.egg
\jinja2\environment.py", line 716, in get_template
    return self._load_template(name, self.make_globals(globals))
  File "C:\Python26\lib\site-packages\jinja2-2.5.2-py2.6.egg
\jinja2\environment.py", line 690, in _load_template
    template = self.loader.load(self, name, globals)
  File "C:\Python26\lib\site-packages\jinja2-2.5.2-py2.6.egg
\jinja2\loaders.py", line 127, in load
    code = environment.compile(source, name, filename)
  File "C:\Python26\lib\site-packages\jinja2-2.5.2-py2.6.egg
\jinja2\environment.py", line 478, in compile
    source = self._parse(source, name, filename)
  File "C:\Python26\lib\site-packages\jinja2-2.5.2-py2.6.egg
\jinja2\environment.py", line 397, in _parse
    return Parser(self, source, name,
_encode_filename(filename)).parse()
  File "C:\Python26\lib\site-packages\jinja2-2.5.2-py2.6.egg
\jinja2\parser.py", line 32, in __init__
    self.stream = environment._tokenize(source, name, filename, state)
  File "C:\Python26\lib\site-packages\jinja2-2.5.2-py2.6.egg
\jinja2\environment.py", line 429, in _tokenize
    stream = self.lexer.tokenize(source, name, filename, state)
  File "C:\Python26\lib\site-packages\jinja2-2.5.2-py2.6.egg
\jinja2\lexer.py", line 501, in tokenize
    return TokenStream(self.wrap(stream, name, filename), name,
filename)
  File "C:\Python26\lib\site-packages\jinja2-2.5.2-py2.6.egg
\jinja2\lexer.py", line 298, in __init__
    next(self)
  File "C:\Python26\lib\site-packages\jinja2-2.5.2-py2.6.egg
\jinja2\lexer.py", line 343, in next
    self.current = self._next()
ValueError: generator already executing


The configurations I have (at work with Python 2.5 and at home with
2.6) are exactly the same in terms of docutils, jinja, pigments and
friends. What could be causing this kind of exception?

Thank you.

Andrea.

-- 
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