Bug#973071: pybtex: FTBFS: dh_auto_test: error: pybuild --test --test-nose -i python{version} -p "3.9 3.8" returned exit code 13

Lucas Nussbaum lucas at debian.org
Tue Oct 27 17:19:37 GMT 2020


Source: pybtex
Version: 0.22.2-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201027 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> make[2]: Entering directory '/<<PKGBUILDDIR>>/docs'
> sphinx-build -b html -d build/doctrees   source build/html
> Running Sphinx v3.2.1
> loading translations [en]... done
> making output directory... done
> building [mo]: targets for 0 po files that are out of date
> building [html]: targets for 9 source files that are out of date
> updating environment: [new config] 9 added, 0 changed, 0 removed
> reading sources... [ 11%] api/formatting
> reading sources... [ 22%] api/index
> reading sources... [ 33%] api/parsing
> reading sources... [ 44%] api/plugins
> reading sources... [ 55%] api/styles
> reading sources... [ 66%] cmdline
> reading sources... [ 77%] formats
> reading sources... [ 88%] history
> reading sources... [100%] index
> 
> looking for now-outdated files... none found
> pickling environment... done
> checking consistency... done
> preparing documents... done
> writing output... [ 11%] api/formatting
> writing output... [ 22%] api/index
> writing output... [ 33%] api/parsing
> writing output... [ 44%] api/plugins
> writing output... [ 55%] api/styles
> writing output... [ 66%] cmdline
> writing output... [ 77%] formats
> writing output... [ 88%] history
> writing output... [100%] index
> 
> /<<PKGBUILDDIR>>/docs/source/api/formatting.rst:126: WARNING: unknown option: -l python
> /<<PKGBUILDDIR>>/docs/source/cmdline.rst:61: WARNING: unknown option: --format
> /<<PKGBUILDDIR>>/docs/source/cmdline.rst:87: WARNING: unknown option: --style-language
> /<<PKGBUILDDIR>>/docs/source/cmdline.rst:94: WARNING: unknown option: --output-backend
> /<<PKGBUILDDIR>>/docs/source/cmdline.rst:109: WARNING: unknown option: --name-style
> /<<PKGBUILDDIR>>/docs/source/cmdline.rst:109: WARNING: unknown option: --abbreviate-names
> /<<PKGBUILDDIR>>/docs/source/cmdline.rst:149: WARNING: unknown option: --style
> generating indices...  genindexdone
> writing additional pages...  searchdone
> copying static files... ... done
> copying extra files... done
> dumping search index in English (code: en)... done
> dumping object inventory... done
> build succeeded, 7 warnings.
> 
> The HTML pages are in build/html.
> 
> build finished. the html pages are in build/html.
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/docs'
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild pybuild:284: cp -r /<<PKGBUILDDIR>>/*.egg-info /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build
> I: pybuild base:217: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build; python3.9 -m nose -v tests
> test_parser (tests.bibtex_parser_test.AtCharacterInUnwantedEntryTest) ... ok
> test_parser (tests.bibtex_parser_test.AtCharacterTest) ... ok
> test_parser (tests.bibtex_parser_test.AtTest) ... ok
> test_parser (tests.bibtex_parser_test.BracesAndQuotesTest) ... ok
> test_parser (tests.bibtex_parser_test.BracesTest) ... ok
> test_parser (tests.bibtex_parser_test.CaseSensitivityTest) ... ok
> test_parser (tests.bibtex_parser_test.CrossFileMacrosTest) ... ok
> test_parser (tests.bibtex_parser_test.CrossrefTest) ... ok
> test_parser (tests.bibtex_parser_test.CrossrefWantedTest) ... ok
> test_parser (tests.bibtex_parser_test.DuplicateFieldTest) ... ok
> test_parser (tests.bibtex_parser_test.EmptyDataTest) ... ok
> test_parser (tests.bibtex_parser_test.EntryInCommentTest) ... ok
> test_parser (tests.bibtex_parser_test.EntryInStringTest) ... ok
> test_parser (tests.bibtex_parser_test.EntryTypesTest) ... ok
> test_parser (tests.bibtex_parser_test.FieldNamesTest) ... ok
> test_parser (tests.bibtex_parser_test.InlineCommentTest) ... ok
> test_parser (tests.bibtex_parser_test.KeyParsingTest) ... ok
> test_parser (tests.bibtex_parser_test.KeylessEntriesTest) ... ok
> test_parser (tests.bibtex_parser_test.MacrosTest) ... ok
> test_parser (tests.bibtex_parser_test.SimpleEntryTest) ... ok
> test_parser (tests.bibtex_parser_test.UnusedEntryTest) ... ok
> test_parser (tests.bibtex_parser_test.WantedEntriesTest) ... ok
> test_parser (tests.bibtex_parser_test.WindowsNewlineTest) ... ok
> tests.bst_parser_test.bst_parser_test.test_bst_parser('plain',) ... ok
> tests.bst_parser_test.bst_parser_test.test_bst_parser('apacite',) ... ok
> tests.bst_parser_test.bst_parser_test.test_bst_parser('jurabib',) ... ok
> tests.database_test.database_test.test_database_parsing_and_writing(PybtexStreamIO('bibtex'),) ... ERROR
> tests.database_test.database_test.test_database_parsing_and_writing(PybtexStreamIO('bibtexml'),) ... ERROR
> tests.database_test.database_test.test_database_parsing_and_writing(PybtexStreamIO('yaml'),) ... ok
> tests.database_test.database_test.test_database_parsing_and_writing(PybtexStringIO('bibtex'),) ... ERROR
> tests.database_test.database_test.test_database_parsing_and_writing(PybtexStringIO('bibtexml'),) ... ERROR
> tests.database_test.database_test.test_database_parsing_and_writing(PybtexStringIO('yaml'),) ... ok
> tests.database_test.database_test.test_database_parsing_and_writing(PybtexBytesIO('bibtex'),) ... ERROR
> tests.database_test.database_test.test_database_parsing_and_writing(PybtexBytesIO('bibtexml'),) ... ERROR
> tests.database_test.database_test.test_database_parsing_and_writing(PybtexBytesIO('yaml'),) ... ok
> tests.database_test.database_test.test_database_pickling(PickleIO(protocol=0),) ... ok
> tests.database_test.database_test.test_database_pickling(PickleIO(protocol=1),) ... ok
> tests.database_test.database_test.test_database_pickling(PickleIO(protocol=2),) ... ok
> tests.database_test.database_test.test_database_pickling(PickleIO(protocol=3),) ... ok
> tests.database_test.database_test.test_database_pickling(PickleIO(protocol=4),) ... ok
> tests.database_test.database_test.test_database_pickling(PickleIO(protocol=5),) ... ok
> tests.database_test.database_test.test_database_repr(ReprEvalIO(),) ... ok
> tests.general_engine_test.test_bibtex_engine(<module 'pybtex.bibtex' from '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/bibtex/__init__.py'>, ('xampl.bib', 'unsrt.bst')) ... ok
> tests.general_engine_test.test_bibtex_engine(<module 'pybtex.bibtex' from '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/bibtex/__init__.py'>, ('xampl.bib', 'unsrt.bst')) ... ok
> tests.general_engine_test.test_bibtex_engine(<module 'pybtex.bibtex' from '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/bibtex/__init__.py'>, ('xampl.bib', 'plain.bst')) ... ok
> tests.general_engine_test.test_bibtex_engine(<module 'pybtex.bibtex' from '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/bibtex/__init__.py'>, ('xampl.bib', 'plain.bst')) ... ok
> tests.general_engine_test.test_bibtex_engine(<module 'pybtex.bibtex' from '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/bibtex/__init__.py'>, ('xampl.bib', 'alpha.bst')) ... ok
> tests.general_engine_test.test_bibtex_engine(<module 'pybtex.bibtex' from '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/bibtex/__init__.py'>, ('xampl.bib', 'alpha.bst')) ... ok
> tests.general_engine_test.test_bibtex_engine(<module 'pybtex.bibtex' from '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/bibtex/__init__.py'>, ('xampl.bib', 'jurabib.bst')) ... ok
> tests.general_engine_test.test_bibtex_engine(<module 'pybtex.bibtex' from '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/bibtex/__init__.py'>, ('xampl.bib', 'jurabib.bst')) ... ok
> tests.general_engine_test.test_bibtex_engine(<module 'pybtex.bibtex' from '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/bibtex/__init__.py'>, ('cyrillic.bib', 'unsrt.bst')) ... ok
> tests.general_engine_test.test_bibtex_engine(<module 'pybtex.bibtex' from '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/bibtex/__init__.py'>, ('cyrillic.bib', 'unsrt.bst')) ... ok
> tests.general_engine_test.test_bibtex_engine(<module 'pybtex.bibtex' from '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/bibtex/__init__.py'>, ('cyrillic.bib', 'alpha.bst')) ... ok
> tests.general_engine_test.test_bibtex_engine(<module 'pybtex.bibtex' from '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/bibtex/__init__.py'>, ('cyrillic.bib', 'alpha.bst')) ... ok
> tests.general_engine_test.test_bibtex_engine(<module 'pybtex.bibtex' from '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/bibtex/__init__.py'>, ('xampl_mixed.bib', 'unsrt_mixed.bst', 'xampl_mixed_unsrt_mixed.aux')) ... ok
> tests.general_engine_test.test_bibtex_engine(<module 'pybtex.bibtex' from '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/bibtex/__init__.py'>, ('xampl_mixed.bib', 'unsrt_mixed.bst', 'xampl_mixed_unsrt_mixed.aux')) ... ok
> tests.general_engine_test.test_bibtex_engine(<module 'pybtex.bibtex' from '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/bibtex/__init__.py'>, ('IEEEtran.bib', 'IEEEtran.bst', 'IEEEtran.aux')) ... ok
> tests.general_engine_test.test_bibtex_engine(<module 'pybtex.bibtex' from '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/bibtex/__init__.py'>, ('IEEEtran.bib', 'IEEEtran.bst', 'IEEEtran.aux')) ... ok
> tests.general_engine_test.test_pybtex_engine(<module 'pybtex' from '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/__init__.py'>, ('cyrillic.bib', 'unsrt.bst')) ... ERROR
> tests.general_engine_test.test_pybtex_engine(<module 'pybtex' from '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/__init__.py'>, ('cyrillic.bib', 'unsrt.bst')) ... ERROR
> tests.general_engine_test.test_pybtex_engine(<module 'pybtex' from '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/__init__.py'>, ('cyrillic.bib', 'plain.bst')) ... ERROR
> tests.general_engine_test.test_pybtex_engine(<module 'pybtex' from '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/__init__.py'>, ('cyrillic.bib', 'plain.bst')) ... ERROR
> tests.general_engine_test.test_pybtex_engine(<module 'pybtex' from '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/__init__.py'>, ('cyrillic.bib', 'alpha.bst')) ... ERROR
> tests.general_engine_test.test_pybtex_engine(<module 'pybtex' from '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/__init__.py'>, ('cyrillic.bib', 'alpha.bst')) ... ERROR
> tests.general_engine_test.test_pybtex_engine(<module 'pybtex' from '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/__init__.py'>, ('extrafields.bib', 'unsrt.bst')) ... ERROR
> tests.general_engine_test.test_pybtex_engine(<module 'pybtex' from '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/__init__.py'>, ('extrafields.bib', 'unsrt.bst')) ... ERROR
> test_create (tests.io_test.IOTest) ... ok
> test_create_in_fallback_dir (tests.io_test.IOTest) ... ok
> test_create_in_readonly_dir (tests.io_test.IOTest) ... ok
> test_locate (tests.io_test.IOTest) ... ok
> test_open_existing (tests.io_test.IOTest) ... ok
> test_open_missing (tests.io_test.IOTest) ... ok
> tests.parse_name_test.test_parse_name('A. E.                   Siegman', (['A.', 'E.'], [], ['Siegman'], [])) ... ok
> tests.parse_name_test.test_parse_name('A. G. W. Cameron', (['A.', 'G.', 'W.'], [], ['Cameron'], [])) ... ok
> tests.parse_name_test.test_parse_name('A. Hoenig', (['A.'], [], ['Hoenig'], [])) ... ok
> tests.parse_name_test.test_parse_name('A. J. Van Haagen', (['A.', 'J.', 'Van'], [], ['Haagen'], [])) ... ok
> tests.parse_name_test.test_parse_name('A. S. Berdnikov', (['A.', 'S.'], [], ['Berdnikov'], [])) ... ok
> tests.parse_name_test.test_parse_name('A. Trevorrow', (['A.'], [], ['Trevorrow'], [])) ... ok
> tests.parse_name_test.test_parse_name('Adam H. Lewenberg', (['Adam', 'H.'], [], ['Lewenberg'], [])) ... ok
> tests.parse_name_test.test_parse_name('Addison-Wesley Publishing Company', (['Addison-Wesley', 'Publishing'], [], ['Company'], [])) ... ok
> tests.parse_name_test.test_parse_name('Advogato (Raph Levien)', (['Advogato', '(Raph'], [], ['Levien)'], [])) ... ok
> tests.parse_name_test.test_parse_name('Andrea de Leeuw van Weenen', (['Andrea'], ['de', 'Leeuw', 'van'], ['Weenen'], [])) ... ok
> tests.parse_name_test.test_parse_name('Andreas Geyer-Schulz', (['Andreas'], [], ['Geyer-Schulz'], [])) ... ok
> tests.parse_name_test.test_parse_name("Andr{\\'e} Heck", (["Andr{\\'e}"], [], ['Heck'], [])) ... ok
> tests.parse_name_test.test_parse_name('Anne Br{\\"u}ggemann-Klein', (['Anne'], [], ['Br{\\"u}ggemann-Klein'], [])) ... ok
> tests.parse_name_test.test_parse_name('Anonymous', ([], [], ['Anonymous'], [])) ... ok
> tests.parse_name_test.test_parse_name('B. Beeton', (['B.'], [], ['Beeton'], [])) ... ok
> tests.parse_name_test.test_parse_name('B. Hamilton Kelly', (['B.', 'Hamilton'], [], ['Kelly'], [])) ... ok
> tests.parse_name_test.test_parse_name('B. V. Venkata Krishna Sastry', (['B.', 'V.', 'Venkata', 'Krishna'], [], ['Sastry'], [])) ... ok
> tests.parse_name_test.test_parse_name('Benedict L{\\o}fstedt', (['Benedict'], [], ['L{\\o}fstedt'], [])) ... ok
> tests.parse_name_test.test_parse_name('Bogus{\\l}aw Jackowski', (['Bogus{\\l}aw'], [], ['Jackowski'], [])) ... ok
> tests.parse_name_test.test_parse_name('Christina A. L.\\ Thiele', (['Christina', 'A.', 'L.'], [], ['Thiele'], [])) ... ok
> tests.parse_name_test.test_parse_name("D. Men'shikov", (['D.'], [], ["Men'shikov"], [])) ... ok
> tests.parse_name_test.test_parse_name("Darko \\v{Z}ubrini{\\'c}", (['Darko'], [], ["\\v{Z}ubrini{\\'c}"], [])) ... ok
> tests.parse_name_test.test_parse_name("Dunja Mladeni{\\'c}", (['Dunja'], [], ["Mladeni{\\'c}"], [])) ... ok
> tests.parse_name_test.test_parse_name('Edwin V. {Bell, II}', (['Edwin', 'V.'], [], ['{Bell, II}'], [])) ... ok
> tests.parse_name_test.test_parse_name('Frank G. {Bennett, Jr.}', (['Frank', 'G.'], [], ['{Bennett, Jr.}'], [])) ... ok
> tests.parse_name_test.test_parse_name("Fr{\\'e}d{\\'e}ric Boulanger", (["Fr{\\'e}d{\\'e}ric"], [], ['Boulanger'], [])) ... ok
> tests.parse_name_test.test_parse_name('Ford, Jr., Henry', (['Henry'], [], ['Ford'], ['Jr.'])) ... ok
> tests.parse_name_test.test_parse_name('mr Ford, Jr., Henry', (['Henry'], ['mr'], ['Ford'], ['Jr.'])) ... ok
> tests.parse_name_test.test_parse_name('Fukui Rei', (['Fukui'], [], ['Rei'], [])) ... ok
> tests.parse_name_test.test_parse_name('G. Gr{\\"a}tzer', (['G.'], [], ['Gr{\\"a}tzer'], [])) ... ok
> tests.parse_name_test.test_parse_name('George Gr{\\"a}tzer', (['George'], [], ['Gr{\\"a}tzer'], [])) ... ok
> tests.parse_name_test.test_parse_name('Georgia K. M. Tobin', (['Georgia', 'K.', 'M.'], [], ['Tobin'], [])) ... ok
> tests.parse_name_test.test_parse_name('Gilbert van den Dobbelsteen', (['Gilbert'], ['van', 'den'], ['Dobbelsteen'], [])) ... ok
> tests.parse_name_test.test_parse_name('Gy{\\"o}ngyi Bujdos{\\\'o}', (['Gy{\\"o}ngyi'], [], ["Bujdos{\\'o}"], [])) ... ok
> tests.parse_name_test.test_parse_name('Helmut J{\\"u}rgensen', (['Helmut'], [], ['J{\\"u}rgensen'], [])) ... ok
> tests.parse_name_test.test_parse_name('Herbert Vo{\\ss}', (['Herbert'], [], ['Vo{\\ss}'], [])) ... ok
> tests.parse_name_test.test_parse_name("H{\\'a}n Th{\\^e}\\llap{\\raise 0.5ex\\hbox{\\'{\\relax}}}                  Th{\\'a}nh", (["H{\\'a}n", "Th{\\^e}\\llap{\\raise 0.5ex\\hbox{\\'{\\relax}}}"], [], ["Th{\\'a}nh"], [])) ... ok
> tests.parse_name_test.test_parse_name("H{\\`a}n Th\\^e\\llap{\\raise0.5ex\\hbox{\\'{\\relax}}}                  Th{\\`a}nh", (['H{\\`a}n', "Th\\^e\\llap{\\raise0.5ex\\hbox{\\'{\\relax}}}"], [], ['Th{\\`a}nh'], [])) ... ok
> tests.parse_name_test.test_parse_name("J. Vesel{\\'y}", (['J.'], [], ["Vesel{\\'y}"], [])) ... ok
> tests.parse_name_test.test_parse_name("Javier Rodr\\'{\\i}guez Laguna", (['Javier', "Rodr\\'{\\i}guez"], [], ['Laguna'], [])) ... ok
> tests.parse_name_test.test_parse_name("Ji\\v{r}\\'{\\i} Vesel{\\'y}", (["Ji\\v{r}\\'{\\i}"], [], ["Vesel{\\'y}"], [])) ... ok
> tests.parse_name_test.test_parse_name("Ji\\v{r}\\'{\\i} Zlatu{\\v{s}}ka", (["Ji\\v{r}\\'{\\i}"], [], ['Zlatu{\\v{s}}ka'], [])) ... ok
> tests.parse_name_test.test_parse_name("Ji\\v{r}{\\'\\i} Vesel{\\'y}", (["Ji\\v{r}{\\'\\i}"], [], ["Vesel{\\'y}"], [])) ... ok
> tests.parse_name_test.test_parse_name("Ji\\v{r}{\\'{\\i}}Zlatu{\\v{s}}ka", ([], [], ["Ji\\v{r}{\\'{\\i}}Zlatu{\\v{s}}ka"], [])) ... ok
> tests.parse_name_test.test_parse_name('Jim Hef{}feron', (['Jim'], [], ['Hef{}feron'], [])) ... ok
> tests.parse_name_test.test_parse_name('J{\\"o}rg Knappen', (['J{\\"o}rg'], [], ['Knappen'], [])) ... ok
> tests.parse_name_test.test_parse_name('J{\\"o}rgen L. Pind', (['J{\\"o}rgen', 'L.'], [], ['Pind'], [])) ... ok
> tests.parse_name_test.test_parse_name("J{\\'e}r\\^ome Laurens", (["J{\\'e}r\\^ome"], [], ['Laurens'], [])) ... ok
> tests.parse_name_test.test_parse_name('J{{\\"o}}rg Knappen', (['J{{\\"o}}rg'], [], ['Knappen'], [])) ... ok
> tests.parse_name_test.test_parse_name('K. Anil Kumar', (['K.', 'Anil'], [], ['Kumar'], [])) ... ok
> tests.parse_name_test.test_parse_name("Karel Hor{\\'a}k", (['Karel'], [], ["Hor{\\'a}k"], [])) ... ok
> tests.parse_name_test.test_parse_name("Karel P\\'{\\i}{\\v{s}}ka", (['Karel'], [], ["P\\'{\\i}{\\v{s}}ka"], [])) ... ok
> tests.parse_name_test.test_parse_name("Karel P{\\'\\i}{\\v{s}}ka", (['Karel'], [], ["P{\\'\\i}{\\v{s}}ka"], [])) ... ok
> tests.parse_name_test.test_parse_name("Karel Skoup\\'{y}", (['Karel'], [], ["Skoup\\'{y}"], [])) ... ok
> tests.parse_name_test.test_parse_name("Karel Skoup{\\'y}", (['Karel'], [], ["Skoup{\\'y}"], [])) ... ok
> tests.parse_name_test.test_parse_name('Kent McPherson', (['Kent'], [], ['McPherson'], [])) ... ok
> tests.parse_name_test.test_parse_name('Klaus H{\\"o}ppner', (['Klaus'], [], ['H{\\"o}ppner'], [])) ... ok
> tests.parse_name_test.test_parse_name('Lars Hellstr{\\"o}m', (['Lars'], [], ['Hellstr{\\"o}m'], [])) ... ok
> tests.parse_name_test.test_parse_name('Laura Elizabeth Jackson', (['Laura', 'Elizabeth'], [], ['Jackson'], [])) ... ok
> tests.parse_name_test.test_parse_name("M. D{\\'{\\i}}az", (['M.'], [], ["D{\\'{\\i}}az"], [])) ... ok
> tests.parse_name_test.test_parse_name('M/iche/al /O Searc/oid', (['M/iche/al', '/O'], [], ['Searc/oid'], [])) ... ok
> tests.parse_name_test.test_parse_name("Marek Ry{\\'c}ko", (['Marek'], [], ["Ry{\\'c}ko"], [])) ... ok
> tests.parse_name_test.test_parse_name('Marina Yu. Nikulina', (['Marina', 'Yu.'], [], ['Nikulina'], [])) ... ok
> tests.parse_name_test.test_parse_name("Max D{\\'{\\i}}az", (['Max'], [], ["D{\\'{\\i}}az"], [])) ... ok
> tests.parse_name_test.test_parse_name('Merry Obrecht Sawdey', (['Merry', 'Obrecht'], [], ['Sawdey'], [])) ... ok
> tests.parse_name_test.test_parse_name("Miroslava Mis{\\'a}kov{\\'a}", (['Miroslava'], [], ["Mis{\\'a}kov{\\'a}"], [])) ... ok
> tests.parse_name_test.test_parse_name('N. A. F. M. Poppelier', (['N.', 'A.', 'F.', 'M.'], [], ['Poppelier'], [])) ... ok
> tests.parse_name_test.test_parse_name('Nico A. F. M. Poppelier', (['Nico', 'A.', 'F.', 'M.'], [], ['Poppelier'], [])) ... ok
> tests.parse_name_test.test_parse_name('Onofrio de Bari', (['Onofrio'], ['de'], ['Bari'], [])) ... ok
> tests.parse_name_test.test_parse_name("Pablo Rosell-Gonz{\\'a}lez", (['Pablo'], [], ["Rosell-Gonz{\\'a}lez"], [])) ... ok
> tests.parse_name_test.test_parse_name('Paco La                  Bruna', (['Paco', 'La'], [], ['Bruna'], [])) ... ok
> tests.parse_name_test.test_parse_name('Paul                  Franchi-Zannettacci', (['Paul'], [], ['Franchi-Zannettacci'], [])) ... ok
> tests.parse_name_test.test_parse_name('Pavel \\v{S}eve\\v{c}ek', (['Pavel'], [], ['\\v{S}eve\\v{c}ek'], [])) ... ok
> tests.parse_name_test.test_parse_name('Petr Ol{\\v{s}}ak', (['Petr'], [], ['Ol{\\v{s}}ak'], [])) ... ok
> tests.parse_name_test.test_parse_name("Petr Ol{\\v{s}}{\\'a}k", (['Petr'], [], ["Ol{\\v{s}}{\\'a}k"], [])) ... ok
> tests.parse_name_test.test_parse_name('Primo\\v{z} Peterlin', (['Primo\\v{z}'], [], ['Peterlin'], [])) ... ok
> tests.parse_name_test.test_parse_name('Prof. Alban Grimm', (['Prof.', 'Alban'], [], ['Grimm'], [])) ... ok
> tests.parse_name_test.test_parse_name("P{\\'e}ter Husz{\\'a}r", (["P{\\'e}ter"], [], ["Husz{\\'a}r"], [])) ... ok
> tests.parse_name_test.test_parse_name("P{\\'e}ter Szab{\\'o}", (["P{\\'e}ter"], [], ["Szab{\\'o}"], [])) ... ok
> tests.parse_name_test.test_parse_name('Rafa{\\l}\\.Zbikowski', ([], [], ['Rafa{\\l}\\.Zbikowski'], [])) ... ok
> tests.parse_name_test.test_parse_name('Rainer Sch{\\"o}pf', (['Rainer'], [], ['Sch{\\"o}pf'], [])) ... ok
> tests.parse_name_test.test_parse_name('T. L. (Frank) Pappas', (['T.', 'L.', '(Frank)'], [], ['Pappas'], [])) ... ok
> tests.parse_name_test.test_parse_name('TUG 2004 conference', (['TUG', '2004'], [], ['conference'], [])) ... ok
> tests.parse_name_test.test_parse_name('TUG {\\sltt DVI} Driver Standards Committee', (['TUG', '{\\sltt DVI}', 'Driver', 'Standards'], [], ['Committee'], [])) ... ok
> tests.parse_name_test.test_parse_name('TUG {\\sltt xDVIx} Driver Standards Committee', (['TUG'], ['{\\sltt xDVIx}'], ['Driver', 'Standards', 'Committee'], [])) ... ok
> tests.parse_name_test.test_parse_name('University of M{\\"u}nster', (['University'], ['of'], ['M{\\"u}nster'], [])) ... ok
> tests.parse_name_test.test_parse_name('Walter van der Laan', (['Walter'], ['van', 'der'], ['Laan'], [])) ... ok
> tests.parse_name_test.test_parse_name('Wendy G.                  McKay', (['Wendy', 'G.'], [], ['McKay'], [])) ... ok
> tests.parse_name_test.test_parse_name('Wendy McKay', (['Wendy'], [], ['McKay'], [])) ... ok
> tests.parse_name_test.test_parse_name('W{\\l}odek Bzyl', (['W{\\l}odek'], [], ['Bzyl'], [])) ... ok
> tests.parse_name_test.test_parse_name('\\LaTeX Project Team', (['\\LaTeX', 'Project'], [], ['Team'], [])) ... ok
> tests.parse_name_test.test_parse_name('\\rlap{Lutz Birkhahn}', ([], [], ['\\rlap{Lutz Birkhahn}'], [])) ... ok
> tests.parse_name_test.test_parse_name('{Jim Hef{}feron}', ([], [], ['{Jim Hef{}feron}'], [])) ... ok
> tests.parse_name_test.test_parse_name('{Kristoffer H\\o{}gsbro Rose}', ([], [], ['{Kristoffer H\\o{}gsbro Rose}'], [])) ... ok
> tests.parse_name_test.test_parse_name('{TUG} {Working} {Group} on a {\\TeX} {Directory}                  {Structure}', (['{TUG}', '{Working}', '{Group}'], ['on', 'a'], ['{\\TeX}', '{Directory}', '{Structure}'], [])) ... ok
> tests.parse_name_test.test_parse_name('{The \\TUB{} Team}', ([], [], ['{The \\TUB{} Team}'], [])) ... ok
> tests.parse_name_test.test_parse_name('{\\LaTeX} project team', (['{\\LaTeX}'], ['project'], ['team'], [])) ... ok
> tests.parse_name_test.test_parse_name('{\\NTG{} \\TeX{} future working group}', ([], [], ['{\\NTG{} \\TeX{} future working group}'], [])) ... ok
> tests.parse_name_test.test_parse_name('{{\\LaTeX\\,3} Project Team}', ([], [], ['{{\\LaTeX\\,3} Project Team}'], [])) ... ok
> tests.parse_name_test.test_parse_name('Johansen Kyle, Derik Mamania M.', (['Derik', 'Mamania', 'M.'], [], ['Johansen', 'Kyle'], [])) ... ok
> tests.parse_name_test.test_parse_name("Johannes Adam Ferdinand Alois Josef Maria Marko d'Aviano Pius von und zu Liechtenstein", (['Johannes', 'Adam', 'Ferdinand', 'Alois', 'Josef', 'Maria', 'Marko'], ["d'Aviano", 'Pius', 'von', 'und', 'zu'], ['Liechtenstein'], [])) ... ok
> tests.parse_name_test.test_parse_name('Brand\\~{a}o, F', (['F'], [], ['Brand\\~{a}o'], [])) ... ok
> tests.parse_name_test.test_parse_name('Chong, B. M., Specia, L., & Mitkov, R.', (['Specia', 'L.', '&', 'Mitkov', 'R.'], [], ['Chong'], ['B.', 'M.']), [InvalidNameString("Too many commas in 'Chong, B. M., Specia, L., & Mitkov, R.'")]) ... ok
> tests.parse_name_test.test_parse_name('LeCun, Y. ,      Bottou,   L . , Bengio, Y. ,  Haffner ,  P', (['Bottou', 'L', '.', 'Bengio', 'Y.', 'Haffner', 'P'], [], ['LeCun'], ['Y.']), [InvalidNameString("Too many commas in 'LeCun, Y. ,      Bottou,   L . , Bengio, Y. ,  Haffner ,  P'")]) ... ok
> Check that all enumerated plugins can be imported. ... ok
> tests.plugin_test.test_register_plugin_1 ... ok
> tests.plugin_test.test_register_plugin_2 ... ok
> tests.plugin_test.test_register_plugin_3 ... ok
> tests.plugin_test.test_bad_find_plugin ... ok
> tests.plugin_test.test_bad_register_plugin ... ok
> tests.plugin_test.test_plugin_suffix ... ok
> tests.plugin_test.test_plugin_alias ... ok
> If a plugin class is passed to find_plugin(), it shoud be returned back. ... ok
> test__add__ (tests.richtext_test.TestHRef) ... ok
> test__contains__ (tests.richtext_test.TestHRef) ... ok
> test__eq__ (tests.richtext_test.TestHRef) ... ok
> test__getitem__ (tests.richtext_test.TestHRef) ... ok
> test__init__ (tests.richtext_test.TestHRef) ... ok
> test__len__ (tests.richtext_test.TestHRef) ... ok
> test__str__ (tests.richtext_test.TestHRef) ... ok
> test_add_period (tests.richtext_test.TestHRef) ... ok
> test_append (tests.richtext_test.TestHRef) ... ok
> test_capfirst (tests.richtext_test.TestHRef) ... ok
> test_capitalize (tests.richtext_test.TestHRef) ... ok
> test_endswith (tests.richtext_test.TestHRef) ... ok
> test_isalpha (tests.richtext_test.TestHRef) ... ok
> test_join (tests.richtext_test.TestHRef) ... ok
> test_lower (tests.richtext_test.TestHRef) ... ERROR
> test_render_as (tests.richtext_test.TestHRef) ... ERROR
> test_split (tests.richtext_test.TestHRef) ... ok
> test_startswith (tests.richtext_test.TestHRef) ... ok
> test_upper (tests.richtext_test.TestHRef) ... ERROR
> test__add__ (tests.richtext_test.TestProtected) ... ok
> test__contains__ (tests.richtext_test.TestProtected) ... ok
> test__eq__ (tests.richtext_test.TestProtected) ... ok
> test__getitem__ (tests.richtext_test.TestProtected) ... ok
> test__init__ (tests.richtext_test.TestProtected) ... ok
> test__len__ (tests.richtext_test.TestProtected) ... ok
> test__str__ (tests.richtext_test.TestProtected) ... ok
> test_add_period (tests.richtext_test.TestProtected) ... ERROR
> test_append (tests.richtext_test.TestProtected) ... ERROR
> test_capfirst (tests.richtext_test.TestProtected) ... ok
> test_capitalize (tests.richtext_test.TestProtected) ... ok
> test_endswith (tests.richtext_test.TestProtected) ... ok
> test_isalpha (tests.richtext_test.TestProtected) ... ok
> test_join (tests.richtext_test.TestProtected) ... ERROR
> test_lower (tests.richtext_test.TestProtected) ... ok
> test_render_as (tests.richtext_test.TestProtected) ... ERROR
> test_split (tests.richtext_test.TestProtected) ... ok
> test_startswith (tests.richtext_test.TestProtected) ... ok
> test_upper (tests.richtext_test.TestProtected) ... ok
> test__add__ (tests.richtext_test.TestString) ... ok
> test__contains__ (tests.richtext_test.TestString) ... ok
> test__eq__ (tests.richtext_test.TestString) ... ok
> test__getitem__ (tests.richtext_test.TestString) ... ok
> test__init__ (tests.richtext_test.TestString) ... ok
> test__len__ (tests.richtext_test.TestString) ... ok
> test__str__ (tests.richtext_test.TestString) ... ok
> test_add_period (tests.richtext_test.TestString) ... ok
> test_append (tests.richtext_test.TestString) ... ok
> test_capfirst (tests.richtext_test.TestString) ... ok
> test_capitalize (tests.richtext_test.TestString) ... ok
> test_endswith (tests.richtext_test.TestString) ... ok
> test_isalpha (tests.richtext_test.TestString) ... ok
> test_join (tests.richtext_test.TestString) ... ok
> test_lower (tests.richtext_test.TestString) ... ok
> test_render_as (tests.richtext_test.TestString) ... ok
> test_split (tests.richtext_test.TestString) ... ok
> test_startswith (tests.richtext_test.TestString) ... ok
> test_upper (tests.richtext_test.TestString) ... ok
> test__add__ (tests.richtext_test.TestSymbol) ... ok
> test__contains__ (tests.richtext_test.TestSymbol) ... ok
> test__eq__ (tests.richtext_test.TestSymbol) ... ok
> test__getitem__ (tests.richtext_test.TestSymbol) ... ok
> test__init__ (tests.richtext_test.TestSymbol) ... ok
> test__len__ (tests.richtext_test.TestSymbol) ... ok
> test__str__ (tests.richtext_test.TestSymbol) ... ok
> test_add_period (tests.richtext_test.TestSymbol) ... ok
> test_append (tests.richtext_test.TestSymbol) ... ok
> test_capfirst (tests.richtext_test.TestSymbol) ... ok
> test_capitalize (tests.richtext_test.TestSymbol) ... ok
> test_endswith (tests.richtext_test.TestSymbol) ... ok
> test_isalpha (tests.richtext_test.TestSymbol) ... ok
> test_join (tests.richtext_test.TestSymbol) ... ok
> test_lower (tests.richtext_test.TestSymbol) ... ok
> test_render_as (tests.richtext_test.TestSymbol) ... ok
> test_split (tests.richtext_test.TestSymbol) ... ok
> test_startswith (tests.richtext_test.TestSymbol) ... ok
> test_upper (tests.richtext_test.TestSymbol) ... ok
> test__add__ (tests.richtext_test.TestTag) ... ok
> test__contains__ (tests.richtext_test.TestTag) ... ok
> test__eq__ (tests.richtext_test.TestTag) ... ok
> test__getitem__ (tests.richtext_test.TestTag) ... ok
> test__init__ (tests.richtext_test.TestTag) ... ok
> test__len__ (tests.richtext_test.TestTag) ... ok
> test__str__ (tests.richtext_test.TestTag) ... ok
> test_add_period (tests.richtext_test.TestTag) ... ok
> test_append (tests.richtext_test.TestTag) ... ok
> test_capfirst (tests.richtext_test.TestTag) ... ok
> test_capitalize (tests.richtext_test.TestTag) ... ok
> test_endswith (tests.richtext_test.TestTag) ... ok
> test_isalpha (tests.richtext_test.TestTag) ... ok
> test_join (tests.richtext_test.TestTag) ... ok
> test_lower (tests.richtext_test.TestTag) ... ok
> test_render_as (tests.richtext_test.TestTag) ... ERROR
> test_split (tests.richtext_test.TestTag) ... ok
> test_startswith (tests.richtext_test.TestTag) ... ok
> test_upper (tests.richtext_test.TestTag) ... ok
> test__add__ (tests.richtext_test.TestText) ... ok
> test__contains__ (tests.richtext_test.TestText) ... ok
> test__eq__ (tests.richtext_test.TestText) ... ok
> test__getitem__ (tests.richtext_test.TestText) ... ok
> test__init__ (tests.richtext_test.TestText) ... ok
> test__len__ (tests.richtext_test.TestText) ... ok
> test__str__ (tests.richtext_test.TestText) ... ok
> test_add_period (tests.richtext_test.TestText) ... ok
> test_append (tests.richtext_test.TestText) ... ok
> test_capfirst (tests.richtext_test.TestText) ... ok
> test_capitalize (tests.richtext_test.TestText) ... ok
> test_endswith (tests.richtext_test.TestText) ... ok
> test_isalpha (tests.richtext_test.TestText) ... ok
> test_join (tests.richtext_test.TestText) ... ok
> test_lower (tests.richtext_test.TestText) ... ok
> test_render_as (tests.richtext_test.TestText) ... ok
> test_split (tests.richtext_test.TestText) ... ok
> test_startswith (tests.richtext_test.TestText) ... ok
> test_upper (tests.richtext_test.TestText) ... ok
> 
> ======================================================================
> ERROR: tests.database_test.database_test.test_database_parsing_and_writing(PybtexStreamIO('bibtex'),)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/tests/database_test/database_test.py", line 142, in check_database_io
>     serialized_data = io_obj.serialize(io_obj.reference_data)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/tests/database_test/database_test.py", line 78, in serialize
>     self.writer.write_stream(bib_data, unicode_stream if self.writer.unicode_io else stream)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/database/output/bibtex.py", line 155, in write_stream
>     self._write_preamble(stream, bib_data.preamble)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/database/output/bibtex.py", line 151, in _write_preamble
>     stream.write(u'@preamble{%s}\n\n' % self.quote(self._encode_with_comments(preamble)))
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/database/output/bibtex.py", line 120, in _encode_with_comments
>     return u'%'.join(self._encode(part) for part in text.split(u'%'))
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/database/output/bibtex.py", line 120, in <genexpr>
>     return u'%'.join(self._encode(part) for part in text.split(u'%'))
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/database/output/bibtex.py", line 107, in _encode
>     return codecs.encode(text, 'ulatex+{}'.format(self.encoding))
> LookupError: unknown encoding: ulatex+UTF-8
> 
> ======================================================================
> ERROR: tests.database_test.database_test.test_database_parsing_and_writing(PybtexStreamIO('bibtexml'),)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/tests/database_test/database_test.py", line 143, in check_database_io
>     deserialized_data = io_obj.deserialize(serialized_data)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/tests/database_test/database_test.py", line 85, in deserialize
>     return self.parser.parse_stream(parser_stream)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/database/input/bibtexml.py", line 49, in parse_stream
>     return self.parse_tree(tree)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/database/input/bibtexml.py", line 53, in parse_tree
>     self.data.add_entries(self.process_entry(entry) for entry in entries)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/database/__init__.py", line 168, in add_entries
>     for key, entry in entries:
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/database/input/bibtexml.py", line 53, in <genexpr>
>     self.data.add_entries(self.process_entry(entry) for entry in entries)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/database/input/bibtexml.py", line 73, in process_entry
>     item = entry.getchildren()[0]
> AttributeError: 'xml.etree.ElementTree.Element' object has no attribute 'getchildren'
> 
> ======================================================================
> ERROR: tests.database_test.database_test.test_database_parsing_and_writing(PybtexStringIO('bibtex'),)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/tests/database_test/database_test.py", line 142, in check_database_io
>     serialized_data = io_obj.serialize(io_obj.reference_data)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/tests/database_test/database_test.py", line 90, in serialize
>     result = bib_data.to_string(self.bib_format)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/database/__init__.py", line 286, in to_string
>     return writer.to_string(self)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/database/output/__init__.py", line 53, in to_string
>     result = self._to_string_or_bytes(bib_data)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/database/output/__init__.py", line 49, in _to_string_or_bytes
>     self.write_stream(bib_data, stream)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/database/output/bibtex.py", line 155, in write_stream
>     self._write_preamble(stream, bib_data.preamble)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/database/output/bibtex.py", line 151, in _write_preamble
>     stream.write(u'@preamble{%s}\n\n' % self.quote(self._encode_with_comments(preamble)))
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/database/output/bibtex.py", line 120, in _encode_with_comments
>     return u'%'.join(self._encode(part) for part in text.split(u'%'))
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/database/output/bibtex.py", line 120, in <genexpr>
>     return u'%'.join(self._encode(part) for part in text.split(u'%'))
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/database/output/bibtex.py", line 107, in _encode
>     return codecs.encode(text, 'ulatex+{}'.format(self.encoding))
> LookupError: unknown encoding: ulatex+UTF-8
> 
> ======================================================================
> ERROR: tests.database_test.database_test.test_database_parsing_and_writing(PybtexStringIO('bibtexml'),)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/tests/database_test/database_test.py", line 143, in check_database_io
>     deserialized_data = io_obj.deserialize(serialized_data)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/tests/database_test/database_test.py", line 95, in deserialize
>     return parse_string(string, self.bib_format)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/database/__init__.py", line 873, in parse_string
>     return parser.parse_string(value)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/database/input/bibtexml.py", line 45, in parse_string
>     return self.parse_bytes(value.encode(self.encoding))
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/database/input/bibtexml.py", line 42, in parse_bytes
>     return self.parse_tree(tree)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/database/input/bibtexml.py", line 53, in parse_tree
>     self.data.add_entries(self.process_entry(entry) for entry in entries)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/database/__init__.py", line 168, in add_entries
>     for key, entry in entries:
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/database/input/bibtexml.py", line 53, in <genexpr>
>     self.data.add_entries(self.process_entry(entry) for entry in entries)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/database/input/bibtexml.py", line 73, in process_entry
>     item = entry.getchildren()[0]
> AttributeError: 'xml.etree.ElementTree.Element' object has no attribute 'getchildren'
> 
> ======================================================================
> ERROR: tests.database_test.database_test.test_database_parsing_and_writing(PybtexBytesIO('bibtex'),)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/tests/database_test/database_test.py", line 142, in check_database_io
>     serialized_data = io_obj.serialize(io_obj.reference_data)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/tests/database_test/database_test.py", line 100, in serialize
>     result = bib_data.to_bytes(self.bib_format)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/database/__init__.py", line 297, in to_bytes
>     return writer.to_bytes(self)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/database/output/__init__.py", line 57, in to_bytes
>     result = self._to_string_or_bytes(bib_data)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/database/output/__init__.py", line 49, in _to_string_or_bytes
>     self.write_stream(bib_data, stream)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/database/output/bibtex.py", line 155, in write_stream
>     self._write_preamble(stream, bib_data.preamble)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/database/output/bibtex.py", line 151, in _write_preamble
>     stream.write(u'@preamble{%s}\n\n' % self.quote(self._encode_with_comments(preamble)))
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/database/output/bibtex.py", line 120, in _encode_with_comments
>     return u'%'.join(self._encode(part) for part in text.split(u'%'))
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/database/output/bibtex.py", line 120, in <genexpr>
>     return u'%'.join(self._encode(part) for part in text.split(u'%'))
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/database/output/bibtex.py", line 107, in _encode
>     return codecs.encode(text, 'ulatex+{}'.format(self.encoding))
> LookupError: unknown encoding: ulatex+UTF-8
> 
> ======================================================================
> ERROR: tests.database_test.database_test.test_database_parsing_and_writing(PybtexBytesIO('bibtexml'),)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/tests/database_test/database_test.py", line 143, in check_database_io
>     deserialized_data = io_obj.deserialize(serialized_data)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/tests/database_test/database_test.py", line 105, in deserialize
>     return parse_bytes(string, self.bib_format)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/database/__init__.py", line 887, in parse_bytes
>     return parser.parse_bytes(value)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/database/input/bibtexml.py", line 42, in parse_bytes
>     return self.parse_tree(tree)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/database/input/bibtexml.py", line 53, in parse_tree
>     self.data.add_entries(self.process_entry(entry) for entry in entries)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/database/__init__.py", line 168, in add_entries
>     for key, entry in entries:
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/database/input/bibtexml.py", line 53, in <genexpr>
>     self.data.add_entries(self.process_entry(entry) for entry in entries)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/database/input/bibtexml.py", line 73, in process_entry
>     item = entry.getchildren()[0]
> AttributeError: 'xml.etree.ElementTree.Element' object has no attribute 'getchildren'
> 
> ======================================================================
> ERROR: tests.general_engine_test.test_pybtex_engine(<module 'pybtex' from '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/__init__.py'>, ('cyrillic.bib', 'unsrt.bst'))
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/tests/general_engine_test.py", line 119, in check_make_bibliography
>     engine.make_bibliography(filenames_by_ext['.aux'])
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/__init__.py", line 177, in make_bibliography
>     return PybtexEngine().make_bibliography(*args, **kwargs)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/__init__.py", line 51, in make_bibliography
>     return self.format_from_files(
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/__init__.py", line 172, in format_from_files
>     return output_backend(output_encoding).write_to_file(formatted_bibliography, output_filename)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/backends/__init__.py", line 102, in write_to_file
>     self.write_to_stream(formatted_entries, stream)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/backends/__init__.py", line 112, in write_to_stream
>     self.write_entry(entry.key, entry.label, entry.text.render(self))
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 578, in render
>     rendered_list = [part.render(backend) for part in self.parts]
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 578, in <listcomp>
>     rendered_list = [part.render(backend) for part in self.parts]
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 798, in render
>     return backend.format_str(self.value)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/backends/latex.py", line 67, in format_str
>     return codecs.encode(str_, self.latex_encoding)
> LookupError: unknown encoding: ulatex+UTF-8
> 
> ======================================================================
> ERROR: tests.general_engine_test.test_pybtex_engine(<module 'pybtex' from '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/__init__.py'>, ('cyrillic.bib', 'unsrt.bst'))
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/tests/general_engine_test.py", line 94, in check_format_from_string
>     result = engine.format_from_string(bib_string, style=style, citations=citations)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/__init__.py", line 192, in format_from_string
>     return PybtexEngine().format_from_string(*args, **kwargs)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/__init__.py", line 69, in format_from_string
>     return self.format_from_strings([bib_string], *args, **kwargs)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/__init__.py", line 81, in format_from_strings
>     return self.format_from_files(inputs, *args, **kwargs)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/__init__.py", line 172, in format_from_files
>     return output_backend(output_encoding).write_to_file(formatted_bibliography, output_filename)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/backends/__init__.py", line 102, in write_to_file
>     self.write_to_stream(formatted_entries, stream)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/backends/__init__.py", line 112, in write_to_stream
>     self.write_entry(entry.key, entry.label, entry.text.render(self))
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 578, in render
>     rendered_list = [part.render(backend) for part in self.parts]
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 578, in <listcomp>
>     rendered_list = [part.render(backend) for part in self.parts]
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 798, in render
>     return backend.format_str(self.value)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/backends/latex.py", line 67, in format_str
>     return codecs.encode(str_, self.latex_encoding)
> LookupError: unknown encoding: ulatex+UTF-8
> 
> ======================================================================
> ERROR: tests.general_engine_test.test_pybtex_engine(<module 'pybtex' from '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/__init__.py'>, ('cyrillic.bib', 'plain.bst'))
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/tests/general_engine_test.py", line 119, in check_make_bibliography
>     engine.make_bibliography(filenames_by_ext['.aux'])
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/__init__.py", line 177, in make_bibliography
>     return PybtexEngine().make_bibliography(*args, **kwargs)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/__init__.py", line 51, in make_bibliography
>     return self.format_from_files(
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/__init__.py", line 172, in format_from_files
>     return output_backend(output_encoding).write_to_file(formatted_bibliography, output_filename)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/backends/__init__.py", line 102, in write_to_file
>     self.write_to_stream(formatted_entries, stream)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/backends/__init__.py", line 112, in write_to_stream
>     self.write_entry(entry.key, entry.label, entry.text.render(self))
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 578, in render
>     rendered_list = [part.render(backend) for part in self.parts]
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 578, in <listcomp>
>     rendered_list = [part.render(backend) for part in self.parts]
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 798, in render
>     return backend.format_str(self.value)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/backends/latex.py", line 67, in format_str
>     return codecs.encode(str_, self.latex_encoding)
> LookupError: unknown encoding: ulatex+UTF-8
> 
> ======================================================================
> ERROR: tests.general_engine_test.test_pybtex_engine(<module 'pybtex' from '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/__init__.py'>, ('cyrillic.bib', 'plain.bst'))
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/tests/general_engine_test.py", line 94, in check_format_from_string
>     result = engine.format_from_string(bib_string, style=style, citations=citations)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/__init__.py", line 192, in format_from_string
>     return PybtexEngine().format_from_string(*args, **kwargs)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/__init__.py", line 69, in format_from_string
>     return self.format_from_strings([bib_string], *args, **kwargs)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/__init__.py", line 81, in format_from_strings
>     return self.format_from_files(inputs, *args, **kwargs)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/__init__.py", line 172, in format_from_files
>     return output_backend(output_encoding).write_to_file(formatted_bibliography, output_filename)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/backends/__init__.py", line 102, in write_to_file
>     self.write_to_stream(formatted_entries, stream)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/backends/__init__.py", line 112, in write_to_stream
>     self.write_entry(entry.key, entry.label, entry.text.render(self))
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 578, in render
>     rendered_list = [part.render(backend) for part in self.parts]
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 578, in <listcomp>
>     rendered_list = [part.render(backend) for part in self.parts]
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 798, in render
>     return backend.format_str(self.value)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/backends/latex.py", line 67, in format_str
>     return codecs.encode(str_, self.latex_encoding)
> LookupError: unknown encoding: ulatex+UTF-8
> 
> ======================================================================
> ERROR: tests.general_engine_test.test_pybtex_engine(<module 'pybtex' from '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/__init__.py'>, ('cyrillic.bib', 'alpha.bst'))
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/tests/general_engine_test.py", line 119, in check_make_bibliography
>     engine.make_bibliography(filenames_by_ext['.aux'])
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/__init__.py", line 177, in make_bibliography
>     return PybtexEngine().make_bibliography(*args, **kwargs)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/__init__.py", line 51, in make_bibliography
>     return self.format_from_files(
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/__init__.py", line 172, in format_from_files
>     return output_backend(output_encoding).write_to_file(formatted_bibliography, output_filename)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/backends/__init__.py", line 102, in write_to_file
>     self.write_to_stream(formatted_entries, stream)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/backends/__init__.py", line 112, in write_to_stream
>     self.write_entry(entry.key, entry.label, entry.text.render(self))
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 578, in render
>     rendered_list = [part.render(backend) for part in self.parts]
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 578, in <listcomp>
>     rendered_list = [part.render(backend) for part in self.parts]
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 798, in render
>     return backend.format_str(self.value)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/backends/latex.py", line 67, in format_str
>     return codecs.encode(str_, self.latex_encoding)
> LookupError: unknown encoding: ulatex+UTF-8
> 
> ======================================================================
> ERROR: tests.general_engine_test.test_pybtex_engine(<module 'pybtex' from '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/__init__.py'>, ('cyrillic.bib', 'alpha.bst'))
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/tests/general_engine_test.py", line 94, in check_format_from_string
>     result = engine.format_from_string(bib_string, style=style, citations=citations)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/__init__.py", line 192, in format_from_string
>     return PybtexEngine().format_from_string(*args, **kwargs)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/__init__.py", line 69, in format_from_string
>     return self.format_from_strings([bib_string], *args, **kwargs)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/__init__.py", line 81, in format_from_strings
>     return self.format_from_files(inputs, *args, **kwargs)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/__init__.py", line 172, in format_from_files
>     return output_backend(output_encoding).write_to_file(formatted_bibliography, output_filename)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/backends/__init__.py", line 102, in write_to_file
>     self.write_to_stream(formatted_entries, stream)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/backends/__init__.py", line 112, in write_to_stream
>     self.write_entry(entry.key, entry.label, entry.text.render(self))
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 578, in render
>     rendered_list = [part.render(backend) for part in self.parts]
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 578, in <listcomp>
>     rendered_list = [part.render(backend) for part in self.parts]
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 798, in render
>     return backend.format_str(self.value)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/backends/latex.py", line 67, in format_str
>     return codecs.encode(str_, self.latex_encoding)
> LookupError: unknown encoding: ulatex+UTF-8
> 
> ======================================================================
> ERROR: tests.general_engine_test.test_pybtex_engine(<module 'pybtex' from '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/__init__.py'>, ('extrafields.bib', 'unsrt.bst'))
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/tests/general_engine_test.py", line 119, in check_make_bibliography
>     engine.make_bibliography(filenames_by_ext['.aux'])
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/__init__.py", line 177, in make_bibliography
>     return PybtexEngine().make_bibliography(*args, **kwargs)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/__init__.py", line 51, in make_bibliography
>     return self.format_from_files(
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/__init__.py", line 172, in format_from_files
>     return output_backend(output_encoding).write_to_file(formatted_bibliography, output_filename)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/backends/__init__.py", line 102, in write_to_file
>     self.write_to_stream(formatted_entries, stream)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/backends/__init__.py", line 112, in write_to_stream
>     self.write_entry(entry.key, entry.label, entry.text.render(self))
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 578, in render
>     rendered_list = [part.render(backend) for part in self.parts]
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 578, in <listcomp>
>     rendered_list = [part.render(backend) for part in self.parts]
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 955, in render
>     text = super(Protected, self).render(backend)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 578, in render
>     rendered_list = [part.render(backend) for part in self.parts]
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 578, in <listcomp>
>     rendered_list = [part.render(backend) for part in self.parts]
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 798, in render
>     return backend.format_str(self.value)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/backends/latex.py", line 67, in format_str
>     return codecs.encode(str_, self.latex_encoding)
> LookupError: unknown encoding: ulatex+UTF-8
> 
> ======================================================================
> ERROR: tests.general_engine_test.test_pybtex_engine(<module 'pybtex' from '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/__init__.py'>, ('extrafields.bib', 'unsrt.bst'))
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/tests/general_engine_test.py", line 94, in check_format_from_string
>     result = engine.format_from_string(bib_string, style=style, citations=citations)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/__init__.py", line 192, in format_from_string
>     return PybtexEngine().format_from_string(*args, **kwargs)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/__init__.py", line 69, in format_from_string
>     return self.format_from_strings([bib_string], *args, **kwargs)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/__init__.py", line 81, in format_from_strings
>     return self.format_from_files(inputs, *args, **kwargs)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/__init__.py", line 172, in format_from_files
>     return output_backend(output_encoding).write_to_file(formatted_bibliography, output_filename)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/backends/__init__.py", line 102, in write_to_file
>     self.write_to_stream(formatted_entries, stream)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/backends/__init__.py", line 112, in write_to_stream
>     self.write_entry(entry.key, entry.label, entry.text.render(self))
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 578, in render
>     rendered_list = [part.render(backend) for part in self.parts]
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 578, in <listcomp>
>     rendered_list = [part.render(backend) for part in self.parts]
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 955, in render
>     text = super(Protected, self).render(backend)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 578, in render
>     rendered_list = [part.render(backend) for part in self.parts]
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 578, in <listcomp>
>     rendered_list = [part.render(backend) for part in self.parts]
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 798, in render
>     return backend.format_str(self.value)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/backends/latex.py", line 67, in format_str
>     return codecs.encode(str_, self.latex_encoding)
> LookupError: unknown encoding: ulatex+UTF-8
> 
> ======================================================================
> ERROR: test_lower (tests.richtext_test.TestHRef)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/tests/richtext_test.py", line 803, in test_lower
>     assert href.lower().render_as('latex') == '\\href{http://www.example.com}{hyperlinked text.}'
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 281, in render_as
>     return self.render(backend_cls())
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 901, in render
>     text = super(HRef, self).render(backend)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 578, in render
>     rendered_list = [part.render(backend) for part in self.parts]
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 578, in <listcomp>
>     rendered_list = [part.render(backend) for part in self.parts]
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 798, in render
>     return backend.format_str(self.value)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/backends/latex.py", line 67, in format_str
>     return codecs.encode(str_, self.latex_encoding)
> LookupError: unknown encoding: ulatex+UTF-8
> 
> ======================================================================
> ERROR: test_render_as (tests.richtext_test.TestHRef)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/tests/richtext_test.py", line 972, in test_render_as
>     assert href.render_as('latex') == '\\href{http://www.example.com}{Hyperlinked text.}'
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 281, in render_as
>     return self.render(backend_cls())
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 901, in render
>     text = super(HRef, self).render(backend)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 578, in render
>     rendered_list = [part.render(backend) for part in self.parts]
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 578, in <listcomp>
>     rendered_list = [part.render(backend) for part in self.parts]
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 798, in render
>     return backend.format_str(self.value)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/backends/latex.py", line 67, in format_str
>     return codecs.encode(str_, self.latex_encoding)
> LookupError: unknown encoding: ulatex+UTF-8
> 
> ======================================================================
> ERROR: test_upper (tests.richtext_test.TestHRef)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/tests/richtext_test.py", line 812, in test_upper
>     assert href.upper().render_as('latex') == '\\href{http://www.example.com}{HYPERLINKED TEXT.}'
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 281, in render_as
>     return self.render(backend_cls())
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 901, in render
>     text = super(HRef, self).render(backend)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 578, in render
>     rendered_list = [part.render(backend) for part in self.parts]
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 578, in <listcomp>
>     rendered_list = [part.render(backend) for part in self.parts]
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 798, in render
>     return backend.format_str(self.value)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/backends/latex.py", line 67, in format_str
>     return codecs.encode(str_, self.latex_encoding)
> LookupError: unknown encoding: ulatex+UTF-8
> 
> ======================================================================
> ERROR: test_add_period (tests.richtext_test.TestProtected)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/tests/richtext_test.py", line 1168, in test_add_period
>     assert text.add_period().render_as('latex') == "{That's all, folks.}"
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 281, in render_as
>     return self.render(backend_cls())
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 955, in render
>     text = super(Protected, self).render(backend)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 578, in render
>     rendered_list = [part.render(backend) for part in self.parts]
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 578, in <listcomp>
>     rendered_list = [part.render(backend) for part in self.parts]
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 798, in render
>     return backend.format_str(self.value)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/backends/latex.py", line 67, in format_str
>     return codecs.encode(str_, self.latex_encoding)
> LookupError: unknown encoding: ulatex+UTF-8
> 
> ======================================================================
> ERROR: test_append (tests.richtext_test.TestProtected)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/tests/richtext_test.py", line 1092, in test_append
>     assert (text + ' wins!').render_as('latex') == '{Chuck Norris} wins!'
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 281, in render_as
>     return self.render(backend_cls())
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 578, in render
>     rendered_list = [part.render(backend) for part in self.parts]
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 578, in <listcomp>
>     rendered_list = [part.render(backend) for part in self.parts]
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 955, in render
>     text = super(Protected, self).render(backend)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 578, in render
>     rendered_list = [part.render(backend) for part in self.parts]
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 578, in <listcomp>
>     rendered_list = [part.render(backend) for part in self.parts]
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 798, in render
>     return backend.format_str(self.value)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/backends/latex.py", line 67, in format_str
>     return codecs.encode(str_, self.latex_encoding)
> LookupError: unknown encoding: ulatex+UTF-8
> 
> ======================================================================
> ERROR: test_join (tests.richtext_test.TestProtected)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/tests/richtext_test.py", line 1142, in test_join
>     assert Protected(' ').join(['a', Protected('b c')]).render_as('latex') == 'a{ b c}'
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 281, in render_as
>     return self.render(backend_cls())
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 578, in render
>     rendered_list = [part.render(backend) for part in self.parts]
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 578, in <listcomp>
>     rendered_list = [part.render(backend) for part in self.parts]
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 798, in render
>     return backend.format_str(self.value)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/backends/latex.py", line 67, in format_str
>     return codecs.encode(str_, self.latex_encoding)
> LookupError: unknown encoding: ulatex+UTF-8
> 
> ======================================================================
> ERROR: test_render_as (tests.richtext_test.TestProtected)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/tests/richtext_test.py", line 1172, in test_render_as
>     assert string.render_as('latex') == '{a < b}'
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 281, in render_as
>     return self.render(backend_cls())
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 955, in render
>     text = super(Protected, self).render(backend)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 578, in render
>     rendered_list = [part.render(backend) for part in self.parts]
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 578, in <listcomp>
>     rendered_list = [part.render(backend) for part in self.parts]
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 798, in render
>     return backend.format_str(self.value)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/backends/latex.py", line 67, in format_str
>     return codecs.encode(str_, self.latex_encoding)
> LookupError: unknown encoding: ulatex+UTF-8
> 
> ======================================================================
> ERROR: test_render_as (tests.richtext_test.TestTag)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/tests/richtext_test.py", line 678, in test_render_as
>     assert tag.render_as('latex') == '\\emph{ab}'
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 281, in render_as
>     return self.render(backend_cls())
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 865, in render
>     text = super(Tag, self).render(backend)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 578, in render
>     rendered_list = [part.render(backend) for part in self.parts]
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 578, in <listcomp>
>     rendered_list = [part.render(backend) for part in self.parts]
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/richtext.py", line 798, in render
>     return backend.format_str(self.value)
>   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build/pybtex/backends/latex.py", line 67, in format_str
>     return codecs.encode(str_, self.latex_encoding)
> LookupError: unknown encoding: ulatex+UTF-8
> 
> ----------------------------------------------------------------------
> Ran 299 tests in 1.035s
> 
> FAILED (errors=22)
> E: pybuild pybuild:352: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pybtex/build; python3.9 -m nose -v tests
> dh_auto_test: error: pybuild --test --test-nose -i python{version} -p "3.9 3.8" returned exit code 13

The full build log is available from:
   http://qa-logs.debian.net/2020/10/27/pybtex_0.22.2-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the debian-science-maintainers mailing list