Issue #1245 resolved


created an issue
Exception occurred:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/sphinx/", line 247, in main, filenames)
  File "/usr/local/lib/python2.7/dist-packages/sphinx/", line 211, in build
  File "/usr/local/lib/python2.7/dist-packages/sphinx/builders/", line 211, in build_update
    'out of date' % len(to_build))
  File "/usr/local/lib/python2.7/dist-packages/sphinx/builders/", line 150, in build
  File "/usr/local/lib/python2.7/dist-packages/sphinx/builders/", line 145, in _extract_from_template
    for line, meth, msg in extract_translations(context):
  File "/usr/local/lib/python2.7/dist-packages/jinja2/", line 212, in _extract
    source = self.environment.parse(source)
  File "/usr/local/lib/python2.7/dist-packages/jinja2/", line 452, in parse
    return self._parse(source, name, filename)
  File "/usr/local/lib/python2.7/dist-packages/jinja2/", line 459, in _parse
    return Parser(self, source, name, encode_filename(filename)).parse()
  File "/usr/local/lib/python2.7/dist-packages/jinja2/", line 32, in __init__ = environment._tokenize(source, name, filename, state)
  File "/usr/local/lib/python2.7/dist-packages/jinja2/", line 490, in _tokenize
    source = self.preprocess(source, name, filename)
  File "/usr/local/lib/python2.7/dist-packages/jinja2/", line 484, in preprocess
    self.iter_extensions(), text_type(source))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3889: ordinal not in range(128)

I do not know which character is causing trouble, and it is not onvious to me to see from the log where should I search. The file layout.html is available if necessary.

Comments (4)

  1. Log in to comment