hi, I get errors when running doctests (sphinx-build -b doctest -d
_build/doctrees   . _build/doctest) that don't show up when I run
doctest.testfile() on the .rst file.  The traceback is below.  Is this
a bug in the translation to/from html?  Any idea how to fix this?

-Justin


Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/Sphinx-0.6.1-py2.5.egg/sphinx/
cmdline.py", line 172, in main
    app.build(all_files, filenames)
  File "/usr/lib/python2.5/site-packages/Sphinx-0.6.1-py2.5.egg/sphinx/
application.py", line 129, in build
    self.builder.build_update()
  File "/usr/lib/python2.5/site-packages/Sphinx-0.6.1-py2.5.egg/sphinx/
builders/__init__.py", line 255, in build_update
    'out of date' % len(to_build))
  File "/usr/lib/python2.5/site-packages/Sphinx-0.6.1-py2.5.egg/sphinx/
builders/__init__.py", line 310, in build
    self.write(docnames, list(updated_docnames), method)
  File "/usr/lib/python2.5/site-packages/Sphinx-0.6.1-py2.5.egg/sphinx/
ext/doctest.py", line 242, in write
    self.test_doc(docname, doctree)
  File "/usr/lib/python2.5/site-packages/Sphinx-0.6.1-py2.5.egg/sphinx/
ext/doctest.py", line 290, in test_doc
    self.test_group(group, self.env.doc2path(docname, base=None))
  File "/usr/lib/python2.5/site-packages/Sphinx-0.6.1-py2.5.egg/sphinx/
ext/doctest.py", line 348, in test_group
    self.test_runner.run(test, out=self._warn_out, clear_globs=False)
  File "/usr/lib/python2.5/doctest.py", line 1361, in run
    return self.__run(test, compileflags, out)
  File "/usr/lib/python2.5/doctest.py", line 1244, in __run
    if check(example.want, got, self.optionflags):
  File "/usr/lib/python2.5/doctest.py", line 1495, in check_output
    if _ellipsis_match(want, got):
  File "/usr/lib/python2.5/doctest.py", line 275, in _ellipsis_match
    if got.startswith(w):
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position
291: ordinal not in range(128)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
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