-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I see... this is with docutils 0.6, right?  I'll update the tests to care for
this case, but you should upgrade to at least 0.7 anyway.

cheers,
Georg

Am 24.09.2011 21:12, schrieb Chris Lea:
> I get two errors when I try to run the test suite on an Ubuntu Maverick
> machine. Not sure if I'm missing something?
> 
> ////////////////////////////////////////////
> 
> chl@vetest01:~/Packages/PythonSphinx/Sphinx-1.0.8$ python tests/run.py 
> Running Sphinx test suite... 
> ....................FF................................................... 
> ====================================================================== 
> FAIL: Failure: AssertionError (Warnings don't match: --- Expected (regex): 
> \/home\/chl\/Packages\/PythonSphinx\/Sphinx\-1\.0\.8\/tests\/root/autodoc_fodder.py:docstring
>
> 
of autodoc_fodder\.MarkupError:2: WARNING: Explicit markup ends without a blank
> line; unexpected unindent\.\n? 
> \/home\/chl\/Packages\/PythonSphinx\/Sphinx\-1\.0\.8\/tests\/root/images.txt:9:
>
> 
WARNING: image file not readable: foo.png
> \/home\/chl\/Packages\/PythonSphinx\/Sphinx\-1\.0\.8\/tests\/root/images.txt:23:
>
> 
WARNING: nonlocal image URI found: http://www.python.org/logo.png
> \/home\/chl\/Packages\/PythonSphinx\/Sphinx\-1\.0\.8\/tests\/root/includes.txt:\d*:
>
> 
WARNING: Encoding 'utf-8-sig' used for reading included file u'.*?wrongenc.inc'
> seems to be wrong, try giving an :encoding: option\n? 
> \/home\/chl\/Packages\/PythonSphinx\/Sphinx\-1\.0\.8\/tests\/root/includes.txt:4:
> WARNING: download file not readable: nonexisting.png 
> \/home\/chl\/Packages\/PythonSphinx\/Sphinx\-1\.0\.8\/tests\/root/objects.txt:\d*:
>
> 
WARNING: using old C markup; please migrate to new-style markup \(e.g.
> c:function instead of cfunction\), see
> http://sphinx.pocoo.org/domains.html 
> \/home\/chl\/Packages\/PythonSphinx\/Sphinx\-1\.0\.8\/tests\/root/images.txt:20:
>
> 
WARNING: no matching candidate for image URI u'foo.\*'
> \/home\/chl\/Packages\/PythonSphinx\/Sphinx\-1\.0\.8\/tests\/root/markup.txt::
>
> 
WARNING: invalid index entry u''
> \/home\/chl\/Packages\/PythonSphinx\/Sphinx\-1\.0\.8\/tests\/root/markup.txt::
>
> 
WARNING: invalid pair index entry u''
> \/home\/chl\/Packages\/PythonSphinx\/Sphinx\-1\.0\.8\/tests\/root/markup.txt::
>
> 
WARNING: invalid pair index entry u'keyword; '
> --- Got: 
> /home/chl/Packages/PythonSphinx/Sphinx-1.0.8/tests/root/autodoc_fodder.py:docstring
>
> 
of autodoc_fodder.MarkupError:2: WARNING: Explicit markup ends without a blank
> line; unexpected unindent. 
> /home/chl/Packages/PythonSphinx/Sphinx-1.0.8/tests/root/images.txt:9:
> WARNING: image file not readable: foo.png 
> /home/chl/Packages/PythonSphinx/Sphinx-1.0.8/tests/root/images.txt:23:
> WARNING: nonlocal image URI found: http://www.python.org/logo.png 
> /home/chl/Packages/PythonSphinx/Sphinx-1.0.8/tests/root/includes.txt::
> WARNING: Encoding 'utf-8-sig' used for reading included file
> u'wrongenc.inc' seems to be wrong, try giving an :encoding: option None:4:
> WARNING: download file not readable: nonexisting.png 
> /home/chl/Packages/PythonSphinx/Sphinx-1.0.8/tests/root/objects.txt:97:
> WARNING: using old C markup; please migrate to new-style markup (e.g.
> c:function instead of cfunction), see http://sphinx.pocoo.org/domains.html 
> /home/chl/Packages/PythonSphinx/Sphinx-1.0.8/tests/root/images.txt:20:
> WARNING: no matching candidate for image URI u'foo.*' 
> /home/chl/Packages/PythonSphinx/Sphinx-1.0.8/tests/root/markup.txt::
> WARNING: invalid index entry u'' 
> /home/chl/Packages/PythonSphinx/Sphinx-1.0.8/tests/root/markup.txt::
> WARNING: invalid pair index entry u'' 
> /home/chl/Packages/PythonSphinx/Sphinx-1.0.8/tests/root/markup.txt::
> WARNING: invalid pair index entry u'keyword; ' ) 
> ---------------------------------------------------------------------- 
> Traceback (most recent call last): File
> "/usr/lib/pymodules/python2.6/nose/loader.py", line 224, in generate for
> test in g(): File
> "/home/chl/Packages/PythonSphinx/Sphinx-1.0.8/tests/util.py", line 177, in
> deco for item in func(app, *args2, **kwargs2): File
> "/home/chl/Packages/PythonSphinx/Sphinx-1.0.8/tests/test_build_html.py", 
> line 313, in test_html '--- Got:\n' + html_warnings AssertionError:
> Warnings don't match: --- Expected (regex): 
> \/home\/chl\/Packages\/PythonSphinx\/Sphinx\-1\.0\.8\/tests\/root/autodoc_fodder.py:docstring
>
> 
of autodoc_fodder\.MarkupError:2: WARNING: Explicit markup ends without a blank
> line; unexpected unindent\.\n? 
> \/home\/chl\/Packages\/PythonSphinx\/Sphinx\-1\.0\.8\/tests\/root/images.txt:9:
>
> 
WARNING: image file not readable: foo.png
> \/home\/chl\/Packages\/PythonSphinx\/Sphinx\-1\.0\.8\/tests\/root/images.txt:23:
>
> 
WARNING: nonlocal image URI found: http://www.python.org/logo.png
> \/home\/chl\/Packages\/PythonSphinx\/Sphinx\-1\.0\.8\/tests\/root/includes.txt:\d*:
>
> 
WARNING: Encoding 'utf-8-sig' used for reading included file u'.*?wrongenc.inc'
> seems to be wrong, try giving an :encoding: option\n? 
> \/home\/chl\/Packages\/PythonSphinx\/Sphinx\-1\.0\.8\/tests\/root/includes.txt:4:
> WARNING: download file not readable: nonexisting.png 
> \/home\/chl\/Packages\/PythonSphinx\/Sphinx\-1\.0\.8\/tests\/root/objects.txt:\d*:
>
> 
WARNING: using old C markup; please migrate to new-style markup \(e.g.
> c:function instead of cfunction\), see
> http://sphinx.pocoo.org/domains.html 
> \/home\/chl\/Packages\/PythonSphinx\/Sphinx\-1\.0\.8\/tests\/root/images.txt:20:
>
> 
WARNING: no matching candidate for image URI u'foo.\*'
> \/home\/chl\/Packages\/PythonSphinx\/Sphinx\-1\.0\.8\/tests\/root/markup.txt::
>
> 
WARNING: invalid index entry u''
> \/home\/chl\/Packages\/PythonSphinx\/Sphinx\-1\.0\.8\/tests\/root/markup.txt::
>
> 
WARNING: invalid pair index entry u''
> \/home\/chl\/Packages\/PythonSphinx\/Sphinx\-1\.0\.8\/tests\/root/markup.txt::
>
> 
WARNING: invalid pair index entry u'keyword; '
> --- Got: 
> /home/chl/Packages/PythonSphinx/Sphinx-1.0.8/tests/root/autodoc_fodder.py:docstring
>
> 
of autodoc_fodder.MarkupError:2: WARNING: Explicit markup ends without a blank
> line; unexpected unindent. 
> /home/chl/Packages/PythonSphinx/Sphinx-1.0.8/tests/root/images.txt:9:
> WARNING: image file not readable: foo.png 
> /home/chl/Packages/PythonSphinx/Sphinx-1.0.8/tests/root/images.txt:23:
> WARNING: nonlocal image URI found: http://www.python.org/logo.png 
> /home/chl/Packages/PythonSphinx/Sphinx-1.0.8/tests/root/includes.txt::
> WARNING: Encoding 'utf-8-sig' used for reading included file
> u'wrongenc.inc' seems to be wrong, try giving an :encoding: option None:4:
> WARNING: download file not readable: nonexisting.png 
> /home/chl/Packages/PythonSphinx/Sphinx-1.0.8/tests/root/objects.txt:97:
> WARNING: using old C markup; please migrate to new-style markup (e.g.
> c:function instead of cfunction), see http://sphinx.pocoo.org/domains.html 
> /home/chl/Packages/PythonSphinx/Sphinx-1.0.8/tests/root/images.txt:20:
> WARNING: no matching candidate for image URI u'foo.*' 
> /home/chl/Packages/PythonSphinx/Sphinx-1.0.8/tests/root/markup.txt::
> WARNING: invalid index entry u'' 
> /home/chl/Packages/PythonSphinx/Sphinx-1.0.8/tests/root/markup.txt::
> WARNING: invalid pair index entry u'' 
> /home/chl/Packages/PythonSphinx/Sphinx-1.0.8/tests/root/markup.txt::
> WARNING: invalid pair index entry u'keyword; '
> 
> 
> ====================================================================== 
> FAIL: test_build_latex.test_latex 
> ---------------------------------------------------------------------- 
> Traceback (most recent call last): File
> "/usr/lib/pymodules/python2.6/nose/case.py", line 183, in runTest 
> self.test(*self.arg) File
> "/home/chl/Packages/PythonSphinx/Sphinx-1.0.8/tests/util.py", line 161, in
> deco func(app, *args2, **kwargs2) File
> "/home/chl/Packages/PythonSphinx/Sphinx-1.0.8/tests/test_build_latex.py", 
> line 45, in test_latex '--- Got:\n' + latex_warnings AssertionError:
> Warnings don't match: --- Expected (regex): 
> \/home\/chl\/Packages\/PythonSphinx\/Sphinx\-1\.0\.8\/tests\/root/autodoc_fodder.py:docstring
>
> 
of autodoc_fodder\.MarkupError:2: WARNING: Explicit markup ends without a blank
> line; unexpected unindent\.\n? 
> \/home\/chl\/Packages\/PythonSphinx\/Sphinx\-1\.0\.8\/tests\/root/images.txt:9:
>
> 
WARNING: image file not readable: foo.png
> \/home\/chl\/Packages\/PythonSphinx\/Sphinx\-1\.0\.8\/tests\/root/images.txt:23:
>
> 
WARNING: nonlocal image URI found: http://www.python.org/logo.png
> \/home\/chl\/Packages\/PythonSphinx\/Sphinx\-1\.0\.8\/tests\/root/includes.txt:\d*:
>
> 
WARNING: Encoding 'utf-8-sig' used for reading included file u'.*?wrongenc.inc'
> seems to be wrong, try giving an :encoding: option\n? 
> \/home\/chl\/Packages\/PythonSphinx\/Sphinx\-1\.0\.8\/tests\/root/includes.txt:4:
> WARNING: download file not readable: nonexisting.png 
> \/home\/chl\/Packages\/PythonSphinx\/Sphinx\-1\.0\.8\/tests\/root/objects.txt:\d*:
>
> 
WARNING: using old C markup; please migrate to new-style markup \(e.g.
> c:function instead of cfunction\), see
> http://sphinx.pocoo.org/domains.html None:None: WARNING: no matching
> candidate for image URI u'foo.\*' WARNING: invalid pair index entry u'' ---
> Got: 
> /home/chl/Packages/PythonSphinx/Sphinx-1.0.8/tests/root/autodoc_fodder.py:docstring
>
> 
of autodoc_fodder.MarkupError:2: WARNING: Explicit markup ends without a blank
> line; unexpected unindent. 
> /home/chl/Packages/PythonSphinx/Sphinx-1.0.8/tests/root/images.txt:9:
> WARNING: image file not readable: foo.png 
> /home/chl/Packages/PythonSphinx/Sphinx-1.0.8/tests/root/images.txt:23:
> WARNING: nonlocal image URI found: http://www.python.org/logo.png 
> /home/chl/Packages/PythonSphinx/Sphinx-1.0.8/tests/root/includes.txt::
> WARNING: Encoding 'utf-8-sig' used for reading included file
> u'wrongenc.inc' seems to be wrong, try giving an :encoding: option None:4:
> WARNING: download file not readable: nonexisting.png 
> /home/chl/Packages/PythonSphinx/Sphinx-1.0.8/tests/root/objects.txt:97:
> WARNING: using old C markup; please migrate to new-style markup (e.g.
> c:function instead of cfunction), see http://sphinx.pocoo.org/domains.html 
> None:None: WARNING: no matching candidate for image URI u'foo.*' WARNING:
> invalid pair index entry u''
> 
> 
> ---------------------------------------------------------------------- Ran
> 73 tests in 22.514s
> 
> FAILED (failures=2)
> 
> 
> 
> -- You received this message because you are subscribed to the Google
> Groups "sphinx-dev" group. To view this discussion on the web visit 
> https://groups.google.com/d/msg/sphinx-dev/-/-jh2OIIw2qoJ. 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.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)

iEYEARECAAYFAk5+yDYACgkQN9GcIYhpnLCS0QCgj5e3Ej3Xj72GZsZGqpAB22eG
RxoAn0OjBKY/e+bvmxr+AFrnUxtCYprc
=NYz/
-----END PGP SIGNATURE-----

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