Hi there,

I got an exception while creating some html using the command
sphinx-build -b html . _build_html
and I get the same issue when creating a chm

I tried to get the last version of shinx (1.1.3), rst2pdf (0.92, at
first is was needed), reportlab (2.5)
and jinja and at the end I get the folloing log file with the
exception.

Could anyone see if the problem comes from jinja, shinx or my
document ?

Thanks

# Sphinx version: 1.1.3
# Python version: 2.6.6
# Docutils version: 0.8.1 release
# Jinja2 version: 2.6
Traceback (most recent call last):
  File "C:\Python26\lib\site-packages\sphinx-1.1.3-py2.6.egg\sphinx
\cmdline.py", line 189, in main
    app.build(force_all, filenames)
  File "C:\Python26\lib\site-packages\sphinx-1.1.3-py2.6.egg\sphinx
\application.py", line 207, in build
    raise
  File "C:\Python26\lib\site-packages\sphinx-1.1.3-py2.6.egg\sphinx
\application.py", line 204, in build
    self.builder.build_update()
  File "C:\Python26\lib\site-packages\sphinx-1.1.3-py2.6.egg\sphinx
\builders\__init__.py", line 196, in build_update
    'out of date' % len(to_build))
  File "C:\Python26\lib\site-packages\sphinx-1.1.3-py2.6.egg\sphinx
\builders\__init__.py", line 252, in build
    self.write(docnames, list(updated_docnames), method)
  File "C:\Python26\lib\site-packages\sphinx-1.1.3-py2.6.egg\sphinx
\builders\__init__.py", line 292, in write
    self.write_doc(docname, doctree)
  File "C:\Python26\lib\site-packages\sphinx-1.1.3-py2.6.egg\sphinx
\builders\html.py", line 426, in write_doc
    self.handle_page(docname, ctx, event_arg=doctree)
  File "C:\Python26\lib\site-packages\sphinx-1.1.3-py2.6.egg\sphinx
\builders\html.py", line 728, in handle_page
    output = self.templates.render(templatename, ctx)
  File "C:\Python26\lib\site-packages\sphinx-1.1.3-py2.6.egg\sphinx
\jinja2glue.py", line 128, in render
    return self.environment.get_template(template).render(context)
  File "C:\Python26\lib\site-packages\jinja2-2.6-py2.6.egg
\jinja2\environment.py", line 719, in get_template
    return self._load_template(name, self.make_globals(globals))
  File "C:\Python26\lib\site-packages\jinja2-2.6-py2.6.egg
\jinja2\environment.py", line 693, in _load_template
    template = self.loader.load(self, name, globals)
  File "C:\Python26\lib\site-packages\jinja2-2.6-py2.6.egg
\jinja2\loaders.py", line 127, in load
    code = environment.compile(source, name, filename)
  File "C:\Python26\lib\site-packages\jinja2-2.6-py2.6.egg
\jinja2\environment.py", line 479, in compile
    source = self._parse(source, name, filename)
  File "C:\Python26\lib\site-packages\jinja2-2.6-py2.6.egg
\jinja2\environment.py", line 398, in _parse
    return Parser(self, source, name,
_encode_filename(filename)).parse()
  File "C:\Python26\lib\site-packages\jinja2-2.6-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.6-py2.6.egg
\jinja2\environment.py", line 430, in _tokenize
    stream = self.lexer.tokenize(source, name, filename, state)
  File "C:\Python26\lib\site-packages\jinja2-2.6-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.6-py2.6.egg
\jinja2\lexer.py", line 298, in __init__
    next(self)
  File "C:\Python26\lib\site-packages\jinja2-2.6-py2.6.egg
\jinja2\lexer.py", line 343, in next
    self.current = self._next()
ValueError: generator already executing

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to sphinx-dev@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