[Python-modules-team] Bug#838646: sphinxcontrib-docbookrestapi: FTBFS: ImportError: Failed to import test module: test_utils

Santiago Vila sanvila at unex.es
Fri Sep 23 11:26:31 UTC 2016


On Sun, 18 Sep 2016, Chris Lamb wrote:

>   ImportError: Failed to import test module: test_utils
>   Traceback (most recent call last):
>     File "/usr/lib/python2.7/dist-packages/unittest2/loader.py", line 456, in _find_test_path
>       module = self._get_module_from_name(name)
>     File "/usr/lib/python2.7/dist-packages/unittest2/loader.py", line 395, in _get_module_from_name
>       __import__(name)
>     File "/home/lamby/temp/cdt.20160918110212.pHMooLLwyA.db.sphinxcontrib-docbookrestapi/sphinxcontrib-docbookrestapi-0.2.1/sphinxcontrib/docbookrestapi/tests/test_utils.py", line 20, in <module>
>       from sphinxcontrib.docbookrestapi.docbook import clean_up_xml, generate_id
>     File "sphinxcontrib/docbookrestapi/docbook.py", line 23, in <module>
>       import tidylib
>     File "/usr/lib/python2.7/dist-packages/tidylib/__init__.py", line 68, in <module>
>       raise OSError("Could not load libtidy using any of these names: %s" % (",".join(LIB_NAMES)))
>   OSError: Could not load libtidy using any of these names: libtidy,libtidy.so,libtidy-0.99.so.0,cygtidy-0-99-0,tidylib,libtidy.dylib,tidy

Hello.

I filed a bug like this today in python-markdown:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=838646

It's similar in the "Could not load libtidy" part, so probably neither
sphinxcontrib-docbookrestapi or python-markdown are to blame here but
maybe some of their build-dependencies.

I'm Cc:ing both bugs in the hope that some python expert may know the
real reason for this (if they are really the "same" bug).

Thanks.



More information about the Python-modules-team mailing list