Hello,
I am trying to make a small improvement,
however on current master/HEAD (f268448b),
I have a FTBS on debian:testing.
Alas I am not good enough at python to seize all the magic,
to test my tweaks without building the package.

BR, Maxime
maxzor@ws:~/git-buildpackage$ dpkg-buildpackage -b
dpkg-buildpackage: info: source package git-buildpackage
dpkg-buildpackage: info: source version 0.9.25
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Guido Günther <[email protected]>
dpkg-buildpackage: info: host architecture amd64
 dpkg-source --before-build .
 debian/rules clean
dh clean --with python3 --buildsystem=pybuild
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/home/maxzor/git-buildpackage'
dh_auto_clean
I: pybuild base:237: python3.9 setup.py clean 
running clean
removing '/home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build' (and everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.9' does not exist -- can't clean it
rm -rf build/
make -C docs/ clean
make[2]: Entering directory '/home/maxzor/git-buildpackage/docs'
rm -r manual-html
rm *.1 *.5 version.ent
make[2]: Leaving directory '/home/maxzor/git-buildpackage/docs'
rm gbp/version.py
make[1]: Leaving directory '/home/maxzor/git-buildpackage'
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --with python3 --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:237: python3.9 setup.py config 
running config
   debian/rules override_dh_auto_build
make[1]: Entering directory '/home/maxzor/git-buildpackage'
dh_auto_build
I: pybuild base:237: /usr/bin/python3 setup.py build 
running build
running build_py
creating /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp
copying gbp/__init__.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp
copying gbp/tmpfile.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp
copying gbp/errors.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp
copying gbp/dch.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp
copying gbp/config.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp
copying gbp/paths.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp
copying gbp/log.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp
copying gbp/format.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp
copying gbp/command_wrappers.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp
copying gbp/notifications.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp
copying gbp/patch_series.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp
copying gbp/version.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp
copying gbp/tristate.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp
creating /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/rpm
copying gbp/rpm/__init__.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/rpm
copying gbp/rpm/policy.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/rpm
copying gbp/rpm/lib_rpm.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/rpm
copying gbp/rpm/git.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/rpm
copying gbp/rpm/linkedlist.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/rpm
copying gbp/rpm/changelog.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/rpm
creating /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/scripts
copying gbp/scripts/__init__.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/scripts
copying gbp/scripts/push.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/scripts
copying gbp/scripts/buildpackage_rpm.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/scripts
copying gbp/scripts/buildpackage.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/scripts
copying gbp/scripts/import_dscs.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/scripts
copying gbp/scripts/import_dsc.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/scripts
copying gbp/scripts/dch.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/scripts
copying gbp/scripts/config.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/scripts
copying gbp/scripts/setup_gitattributes.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/scripts
copying gbp/scripts/import_srpm.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/scripts
copying gbp/scripts/pristine_tar.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/scripts
copying gbp/scripts/export_orig.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/scripts
copying gbp/scripts/clone.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/scripts
copying gbp/scripts/rpm_ch.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/scripts
copying gbp/scripts/import_ref.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/scripts
copying gbp/scripts/tag.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/scripts
copying gbp/scripts/pull.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/scripts
copying gbp/scripts/pq_rpm.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/scripts
copying gbp/scripts/import_orig.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/scripts
copying gbp/scripts/pq.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/scripts
copying gbp/scripts/supercommand.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/scripts
copying gbp/scripts/create_remote_repo.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/scripts
creating /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/deb
copying gbp/deb/source.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/deb
copying gbp/deb/__init__.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/deb
copying gbp/deb/rollbackgit.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/deb
copying gbp/deb/pristinetar.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/deb
copying gbp/deb/control.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/deb
copying gbp/deb/policy.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/deb
copying gbp/deb/uscan.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/deb
copying gbp/deb/format.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/deb
copying gbp/deb/upstreamsource.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/deb
copying gbp/deb/git.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/deb
copying gbp/deb/dscfile.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/deb
copying gbp/deb/changelog.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/deb
creating /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/pkg
copying gbp/pkg/__init__.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/pkg
copying gbp/pkg/archive.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/pkg
copying gbp/pkg/pristinetar.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/pkg
copying gbp/pkg/pkgpolicy.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/pkg
copying gbp/pkg/upstreamsource.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/pkg
copying gbp/pkg/git.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/pkg
copying gbp/pkg/compressor.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/pkg
creating /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/git
copying gbp/git/__init__.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/git
copying gbp/git/modifier.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/git
copying gbp/git/vfs.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/git
copying gbp/git/fastimport.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/git
copying gbp/git/errors.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/git
copying gbp/git/repository.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/git
copying gbp/git/args.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/git
copying gbp/git/commit.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/git
creating /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/scripts/common
copying gbp/scripts/common/__init__.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/scripts/common
copying gbp/scripts/common/buildpackage.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/scripts/common
copying gbp/scripts/common/hook.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/scripts/common
copying gbp/scripts/common/repo_setup.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/scripts/common
copying gbp/scripts/common/import_orig.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/scripts/common
copying gbp/scripts/common/pq.py -> /home/maxzor/git-buildpackage/.pybuild/cpython3_3.9/build/gbp/scripts/common
running build_scripts
creating build
creating build/scripts-3.9
copying bin/git-pbuilder -> build/scripts-3.9
copying bin/gbp-builder-mock -> build/scripts-3.9
make docs
make[2]: Entering directory '/home/maxzor/git-buildpackage'
make -C docs
make[3]: Entering directory '/home/maxzor/git-buildpackage/docs'
echo '<!ENTITY gbp-version "0.9.25">' > version.ent
mkdir -p manual-html
xsltproc -o manual-html/ /usr/share/gtk-doc/data/gtk-doc.xsl manual.xml
Computing chunks...
Writing gbp.workflow.html for sect1(gbp.workflow)
Writing gbp.intro.html for chapter(gbp.intro)
Writing gbp.import.new.upstream.html for sect1(gbp.import.new.upstream)
Writing gbp.import.convert.html for sect1(gbp.import.convert)
Writing gbp.import.fromscratch.html for sect1(gbp.import.fromscratch)
Writing gbp.import.upstream-git.html for sect1(gbp.import.upstream-git)
Writing gbp.branch.naming.html for sect1(gbp.branch.naming)
Writing gbp.import.html for chapter(gbp.import)
Writing gbp.building.hooks.html for sect1(gbp.building.hooks)
Writing gbp.building.html for chapter(gbp.building)
Writing gbp.patches.newupstream.html for sect1(gbp.patches.newupstream)
Writing gbp.patches.firstpatch.html for sect1(gbp.patches.firstpatch)
Writing gbp.patches.team.html for sect1(gbp.patches.team)
Writing gbp.patches.html for chapter(gbp.patches)
Writing gbp.snapshots.html for sect1(gbp.snapshots)
Writing gbp.release.commit.html for sect1(gbp.release.commit)
Writing gbp.releases.html for chapter(gbp.releases)
Writing gbp.cfgfile.html for chapter(gbp.cfgfile)
Writing gbp.special.nmus.html for sect1(gbp.special.nmus)
Writing gbp.special.pbuilder.html for sect1(gbp.special.pbuilder)
Writing gbp.special.hacking.html for sect1(gbp.special.hacking)
Writing gbp.special.sloppytarball.html for sect1(gbp.special.sloppytarball)
Writing gbp.special.pk4.html for sect1(gbp.special.pk4)
Writing gbp.special.html for chapter(gbp.special)
Writing man.gbp.html for refentry(man.gbp)
Writing man.gbp.buildpackage.html for refentry(man.gbp.buildpackage)
ERROR: xref linking to man.gbp.setup.gitattributes has no generated link text.
Error: no ID for constraint linkend: "man.gbp.setup.gitattributes".
Writing man.gbp.clone.html for refentry(man.gbp.clone)
Writing man.gbp.config.html for refentry(man.gbp.config)
Writing man.gbp.create.remote.repo.html for refentry(man.gbp.create.remote.repo)
Writing man.gbp.dch.html for refentry(man.gbp.dch)
Writing man.gbp.export.orig.html for refentry(man.gbp.export.orig)
Writing man.gbp.import.dsc.html for refentry(man.gbp.import.dsc)
Writing man.gbp.import.dscs.html for refentry(man.gbp.import.dscs)
Writing man.gbp.import.orig.html for refentry(man.gbp.import.orig)
Writing man.gbp.import.ref.html for refentry(man.gbp.import.ref)
Writing man.gbp.pq.html for refentry(man.gbp.pq)
Writing man.gbp.pristine.tar.html for refentry(man.gbp.pristine.tar)
Writing man.gbp.pull.html for refentry(man.gbp.pull)
Writing man.gbp.push.html for refentry(man.gbp.push)
Writing man.gbp.tag.html for refentry(man.gbp.tag)
Writing man.gbp.conf.html for refentry(man.gbp.conf)
Writing man.gbp.buildpackage.rpm.html for refentry(man.gbp.buildpackage.rpm)
Writing man.gbp.import.srpm.html for refentry(man.gbp.import.srpm)
Writing man.gbp.pq.rpm.html for refentry(man.gbp.pq.rpm)
Writing man.gbp.rpm.ch.html for refentry(man.gbp.rpm.ch)
Writing man.reference.html for appendix(man.reference)
Writing gbp.copyleft.html for appendix(gbp.copyleft)
Writing index.html for book(gbp)
Writing book.devhelp2 for book(gbp)
cp /usr/share/gtk-doc/data/*.png \
   /usr/share/gtk-doc/data/*.css \
   manual-html
mkdir -p manual-html/images/pq-applied
install images/pq-applied.png manual-html/images/pq-applied.png
mkdir -p manual-html/images/pq-export
install images/pq-export.png manual-html/images/pq-export.png
mkdir -p manual-html/images/pq-rebase
install images/pq-rebase.png manual-html/images/pq-rebase.png
mkdir -p manual-html/images/pq-time-machine
install images/pq-time-machine.png manual-html/images/pq-time-machine.png
mkdir -p manual-html/images/pq-unapplied
install images/pq-unapplied.png manual-html/images/pq-unapplied.png
cp gbp.css gbp.svg manual-html/
docbook2x-man -o . man.gbp.xml
error : xmlAddEntity: invalid redeclaration of predefined entity
pod2man ../bin/git-pbuilder git-pbuilder.1
make[3]: Leaving directory '/home/maxzor/git-buildpackage/docs'
make apidocs
make[3]: Entering directory '/home/maxzor/git-buildpackage'
mkdir -p build
pydoctor -v --config=.pydoctor.cfg
adding directory /home/maxzor/git-buildpackage/gbp
adding directory /home/maxzor/git-buildpackage/tests/doctests
processing ['gbp']
processing ['doctests']
processing ['gbp.config']
processing ['gbp.config', 'gbp.errors']
processing ['gbp.config', 'gbp.version']
processing ['gbp.config', 'gbp.git']
processing ['gbp.config', 'gbp.git', 'gbp.git.modifier']
processing ['gbp.config', 'gbp.git', 'gbp.git.modifier', 'gbp.git.errors']
processing ['gbp.config', 'gbp.git', 'gbp.git.commit']
processing ['gbp.config', 'gbp.git', 'gbp.git.repository']
processing ['gbp.config', 'gbp.git', 'gbp.git.repository', 'gbp.format']
processing ['gbp.config', 'gbp.git', 'gbp.git.repository', 'gbp.git.args']
processing ['gbp.config', 'gbp.git', 'gbp.git.repository', 'gbp.paths']
processing ['gbp.config', 'gbp.git', 'gbp.git.fastimport']
processing ['gbp.config', 'gbp.git', 'gbp.git.vfs']
processing ['gbp.deb']
processing ['gbp.deb', 'gbp.deb.changelog']
processing ['gbp.deb', 'gbp.deb.changelog', 'gbp.command_wrappers']
processing ['gbp.deb', 'gbp.deb.policy']
processing ['gbp.deb', 'gbp.deb.policy', 'gbp.pkg.pkgpolicy']
processing ['gbp.deb', 'gbp.deb.policy', 'gbp.pkg.pkgpolicy', 'gbp.pkg.archive']
processing ['gbp.deb', 'gbp.deb.policy', 'gbp.pkg.pkgpolicy', 'gbp.pkg.archive', 'gbp.pkg.compressor']
processing ['gbp.deb.control']
processing ['gbp.dch']
processing ['gbp.pkg']
processing ['gbp.pkg', 'gbp.pkg.upstreamsource']
processing ['gbp.pkg', 'gbp.pkg.pristinetar']
processing ['gbp.deb.pristinetar']
processing ['gbp.deb.dscfile']
processing ['gbp.deb.dscfile', 'gbp.deb.upstreamsource']
processing ['gbp.deb.format']
processing ['gbp.deb.git']
processing ['gbp.deb.git', 'gbp.pkg.git']
processing ['gbp.deb.rollbackgit']
processing ['gbp.deb.rollbackgit', 'gbp.log']
processing ['gbp.deb.source']
processing ['gbp.deb.uscan']
processing ['gbp.notifications']
gbp.notifications.enable_notifications processing import statement in odd context ZopeInterfaceFunction 'gbp.notifications.enable_notifications'
processing ['gbp.patch_series']
processing ['gbp.rpm']
processing ['gbp.rpm', 'gbp.rpm.policy']
processing ['gbp.rpm', 'gbp.rpm.policy', 'gbp.scripts.common.pq']
processing ['gbp.rpm', 'gbp.rpm.linkedlist']
processing ['gbp.rpm', 'gbp.rpm.lib_rpm']
processing ['gbp.scripts']
processing ['gbp.rpm.git']
processing ['gbp.rpm.changelog']
processing ['gbp.scripts.common']
processing ['gbp.scripts.buildpackage_rpm']
processing ['gbp.scripts.buildpackage_rpm', 'gbp.tmpfile']
processing ['gbp.scripts.buildpackage_rpm', 'gbp.scripts.common.buildpackage']
processing ['gbp.scripts.buildpackage_rpm', 'gbp.scripts.pq_rpm']
processing ['gbp.scripts.buildpackage']
processing ['gbp.scripts.buildpackage', 'gbp.scripts.common.hook']
processing ['gbp.scripts.buildpackage', 'gbp.scripts.export_orig']
processing ['gbp.scripts.buildpackage', 'gbp.scripts.tag']
processing ['gbp.scripts.clone']
processing ['gbp.scripts.clone', 'gbp.scripts.common.repo_setup']
processing ['gbp.scripts.config']
processing ['gbp.scripts.config', 'gbp.scripts.supercommand']
gbp.scripts.supercommand.version processing import statement in odd context ZopeInterfaceFunction 'gbp.scripts.supercommand.version'
processing ['gbp.scripts.create_remote_repo']
processing ['gbp.scripts.common.import_orig']
gbp.scripts.common.import_orig.download_orig processing import statement in odd context ZopeInterfaceFunction 'gbp.scripts.common.import_orig.download_orig'
processing ['gbp.tristate']
processing ['gbp.scripts.dch']
processing ['gbp.scripts.import_dsc']
processing ['gbp.scripts.import_dscs']
processing ['gbp.scripts.import_orig']
processing ['gbp.scripts.import_ref']
processing ['gbp.scripts.import_srpm']
processing ['gbp.scripts.pq']
processing ['gbp.scripts.pristine_tar']
processing ['gbp.scripts.pull']
processing ['gbp.scripts.push']
processing ['gbp.scripts.rpm_ch']
processing ['gbp.scripts.setup_gitattributes']
processing ['doctests.test_Config']
/home/maxzor/git-buildpackage/tests/doctests/test_Config.py:8: relative import level (2) too high
processing ['doctests.test_Changelog']
/home/maxzor/git-buildpackage/tests/doctests/test_Changelog.py:6: relative import level (2) too high
/home/maxzor/git-buildpackage/tests/doctests/test_Changelog.py:7: relative import level (2) too high
processing ['doctests.test_Control']
/home/maxzor/git-buildpackage/tests/doctests/test_Control.py:7: relative import level (2) too high
processing ['doctests.test_GitModifier']
/home/maxzor/git-buildpackage/tests/doctests/test_GitModifier.py:7: relative import level (2) too high
processing ['doctests.test_GitRepository']
/home/maxzor/git-buildpackage/tests/doctests/test_GitRepository.py:14: relative import level (2) too high
processing ['doctests.test_GitVfs']
/home/maxzor/git-buildpackage/tests/doctests/test_GitVfs.py:10: relative import level (2) too high
processing ['doctests.test_PristineTar']
/home/maxzor/git-buildpackage/tests/doctests/test_PristineTar.py:18: relative import level (2) too high
processing ['doctests.test_create_remote_repo']
writing html to build/apidocs using pydoctor.templatewriter.writer.TemplateWriter
starting ModuleIndexPage ...took 0.094233s
starting ClassIndexPage ...took 0.069091s
starting IndexPage ...took 0.001252s
starting NameIndexPage ...took 0.078849s
starting UndocumentedSummaryPage ...took 0.025112s
Package 'gbp'
ZopeInterfaceModule 'gbp.command_wrappers'
ZopeInterfaceClass 'gbp.command_wrappers.CommandExecFailed'
ZopeInterfaceClass 'gbp.command_wrappers.Command'
ZopeInterfaceClass 'gbp.command_wrappers.RunAtCommand'
ZopeInterfaceClass 'gbp.command_wrappers.UnpackTarArchive'
ZopeInterfaceClass 'gbp.command_wrappers.PackTarArchive'
ZopeInterfaceClass 'gbp.command_wrappers.CatenateTarArchive'
ZopeInterfaceClass 'gbp.command_wrappers.RemoveTree'
ZopeInterfaceClass 'gbp.command_wrappers.DpkgSourceExtract'
ZopeInterfaceClass 'gbp.command_wrappers.UnpackZipArchive'
ZopeInterfaceClass 'gbp.command_wrappers.CatenateZipArchive'
ZopeInterfaceClass 'gbp.command_wrappers.GitCommand'
ZopeInterfaceModule 'gbp.config'
ZopeInterfaceClass 'gbp.config.GbpOption'
ZopeInterfaceClass 'gbp.config.GbpOptionParser'
ZopeInterfaceClass 'gbp.config.GbpOptionGroup'
ZopeInterfaceClass 'gbp.config.GbpOptionParserDebian'
ZopeInterfaceClass 'gbp.config.GbpOptionParserRpm'
ZopeInterfaceModule 'gbp.dch'
Package 'gbp.deb'
ZopeInterfaceModule 'gbp.deb.changelog'
ZopeInterfaceClass 'gbp.deb.changelog.NoChangeLogError'
ZopeInterfaceClass 'gbp.deb.changelog.ParseChangeLogError'
ZopeInterfaceClass 'gbp.deb.changelog.ChangeLogSection'
ZopeInterfaceClass 'gbp.deb.changelog.ChangeLog'
/home/maxzor/git-buildpackage/gbp/deb/changelog.py:73: Parameter "filename" was already documented
/home/maxzor/git-buildpackage/gbp/deb/changelog.py:330: Parameter "version" was already documented
ZopeInterfaceModule 'gbp.deb.control'
ZopeInterfaceClass 'gbp.deb.control.NoControlError'
ZopeInterfaceClass 'gbp.deb.control.ParseControlError'
ZopeInterfaceClass 'gbp.deb.control.Control'
ZopeInterfaceModule 'gbp.deb.dscfile'
ZopeInterfaceClass 'gbp.deb.dscfile.DscFile'
ZopeInterfaceModule 'gbp.deb.format'
ZopeInterfaceClass 'gbp.deb.format.DebianSourceFormatError'
ZopeInterfaceClass 'gbp.deb.format.DebianSourceFormat'
ZopeInterfaceModule 'gbp.deb.git'
ZopeInterfaceClass 'gbp.deb.git.DebianGitRepository'
/home/maxzor/git-buildpackage/gbp/deb/git.py:291: Documented parameter "soures" does not exist
/home/maxzor/git-buildpackage/gbp/deb/git.py:350: Documented parameter "type" does not exist
ZopeInterfaceModule 'gbp.deb.policy'
ZopeInterfaceClass 'gbp.deb.policy.DebianPkgPolicy'
ZopeInterfaceModule 'gbp.deb.pristinetar'
ZopeInterfaceClass 'gbp.deb.pristinetar.DebianPristineTar'
ZopeInterfaceModule 'gbp.deb.rollbackgit'
ZopeInterfaceClass 'gbp.deb.rollbackgit.RollbackError'
ZopeInterfaceClass 'gbp.deb.rollbackgit.RollbackDebianGitRepository'
ZopeInterfaceModule 'gbp.deb.source'
ZopeInterfaceClass 'gbp.deb.source.FileVfs'
ZopeInterfaceClass 'gbp.deb.source.DebianSourceError'
ZopeInterfaceClass 'gbp.deb.source.DebianSource'
/home/maxzor/git-buildpackage/gbp/deb/source.py:107: Cannot find link target for "gbp.deb.Control"
/home/maxzor/git-buildpackage/gbp/deb/source.py:107: Cannot find link target for "gbp.deb.Control"
ZopeInterfaceModule 'gbp.deb.upstreamsource'
ZopeInterfaceClass 'gbp.deb.upstreamsource.DebianUpstreamSource'
ZopeInterfaceClass 'gbp.deb.upstreamsource.DebianAdditionalTarball'
/home/maxzor/git-buildpackage/gbp/deb/upstreamsource.py:51: Documented parameter "dir" does not exist
ZopeInterfaceModule 'gbp.deb.uscan'
ZopeInterfaceClass 'gbp.deb.uscan.UscanError'
ZopeInterfaceClass 'gbp.deb.uscan.Uscan'
ZopeInterfaceClass 'gbp.deb.DpkgCompareVersions'
ZopeInterfaceModule 'gbp.errors'
ZopeInterfaceClass 'gbp.errors.GbpError'
ZopeInterfaceModule 'gbp.format'
Package 'gbp.git'
ZopeInterfaceModule 'gbp.git.args'
ZopeInterfaceClass 'gbp.git.args.GitArgs'
ZopeInterfaceModule 'gbp.git.commit'
ZopeInterfaceClass 'gbp.git.commit.GitCommit'
ZopeInterfaceModule 'gbp.git.errors'
ZopeInterfaceClass 'gbp.git.errors.GitError'
ZopeInterfaceModule 'gbp.git.fastimport'
ZopeInterfaceClass 'gbp.git.fastimport.FastImport'
/home/maxzor/git-buildpackage/gbp/git/fastimport.py:85: Parameter "linkname" was already documented
ZopeInterfaceModule 'gbp.git.modifier'
ZopeInterfaceClass 'gbp.git.modifier.GitModifierError'
ZopeInterfaceClass 'gbp.git.modifier.GitTz'
ZopeInterfaceClass 'gbp.git.modifier.GitModifier'
ZopeInterfaceModule 'gbp.git.repository'
ZopeInterfaceClass 'gbp.git.repository.GitRepositoryError'
ZopeInterfaceClass 'gbp.git.repository.GitRemote'
ZopeInterfaceClass 'gbp.git.repository.GitRepository'
/home/maxzor/git-buildpackage/gbp/git/repository.py:357: Parameter "remote" was already documented
/home/maxzor/git-buildpackage/gbp/git/repository.py:1209: Unknown field 'deprecated'
/home/maxzor/git-buildpackage/gbp/git/repository.py:1688: Unknown field 'deprecated'
/home/maxzor/git-buildpackage/gbp/git/repository.py:1386: Parameter "paths" was already documented
/home/maxzor/git-buildpackage/gbp/git/repository.py:157: Unknown field 'deprecated'
ZopeInterfaceModule 'gbp.git.vfs'
ZopeInterfaceClass 'gbp.git.vfs.GitVfs'
ZopeInterfaceClass 'gbp.git.vfs.GitVfs._File'
/home/maxzor/git-buildpackage/gbp/git/vfs.py:29: Unknown field 'todo'
ZopeInterfaceModule 'gbp.log'
ZopeInterfaceClass 'gbp.log.GbpFilter'
ZopeInterfaceClass 'gbp.log.GbpStreamHandler'
ZopeInterfaceClass 'gbp.log.GbpLogger'
ZopeInterfaceModule 'gbp.notifications'
ZopeInterfaceModule 'gbp.patch_series'
ZopeInterfaceClass 'gbp.patch_series.Patch'
ZopeInterfaceClass 'gbp.patch_series.Dep3Patch'
ZopeInterfaceClass 'gbp.patch_series.PatchSeries'
ZopeInterfaceModule 'gbp.paths'
Package 'gbp.pkg'
ZopeInterfaceModule 'gbp.pkg.archive'
ZopeInterfaceClass 'gbp.pkg.archive.Archive'
ZopeInterfaceModule 'gbp.pkg.compressor'
ZopeInterfaceClass 'gbp.pkg.compressor.Compressor'
ZopeInterfaceModule 'gbp.pkg.git'
ZopeInterfaceClass 'gbp.pkg.git.PkgGitRepository'
ZopeInterfaceModule 'gbp.pkg.pkgpolicy'
ZopeInterfaceClass 'gbp.pkg.pkgpolicy.PkgPolicy'
ZopeInterfaceModule 'gbp.pkg.pristinetar'
ZopeInterfaceClass 'gbp.pkg.pristinetar.PristineTar'
/home/maxzor/git-buildpackage/gbp/pkg/pristinetar.py:39: Documented parameter "feature" does not exist
ZopeInterfaceModule 'gbp.pkg.upstreamsource'
ZopeInterfaceClass 'gbp.pkg.upstreamsource.UpstreamSource'
Package 'gbp.rpm'
ZopeInterfaceModule 'gbp.rpm.changelog'
ZopeInterfaceClass 'gbp.rpm.changelog.ChangelogError'
ZopeInterfaceClass 'gbp.rpm.changelog._ChangelogHeader'
ZopeInterfaceClass 'gbp.rpm.changelog._ChangelogEntry'
Traceback (most recent call last):
  File "/usr/lib/python3.9/xml/sax/expatreader.py", line 217, in feed
    self._parser.Parse(data, isFinal)
xml.parsers.expat.ExpatError: undefined entity: line 1, column 46

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/twisted/web/_flatten.py", line 321, in _flattenTree
    element = next(stack[-1])
  File "/usr/lib/python3/dist-packages/twisted/web/_flatten.py", line 237, in _flattenElement
    result = renderMethod(request, rootClone)
  File "/usr/lib/python3/dist-packages/pydoctor/templatewriter/pages/functionchild.py", line 73, in functionBody
    return self.docgetter.get(self.ob)
  File "/usr/lib/python3/dist-packages/pydoctor/templatewriter/pages/__init__.py", line 71, in get
    return epydoc2stan.format_docstring(ob)
  File "/usr/lib/python3/dist-packages/pydoctor/epydoc2stan.py", line 744, in format_docstring
    fh.handle(Field.from_epydoc(field, source))
  File "/usr/lib/python3/dist-packages/pydoctor/epydoc2stan.py", line 600, in handle
    m(field)
  File "/usr/lib/python3/dist-packages/pydoctor/epydoc2stan.py", line 529, in handle_type
    self.types[name] = field.format()
  File "/usr/lib/python3/dist-packages/pydoctor/epydoc2stan.py", line 353, in format
    return self.body.to_stan(_EpydocLinker(self.source))
  File "/usr/lib/python3/dist-packages/pydoctor/epydoc/markup/__init__.py", line 134, in to_stan
    self._stan = Tag('', children=node2stan.node2stan(self.to_node(), docstring_linker).children)
  File "/usr/lib/python3/dist-packages/pydoctor/node2stan.py", line 42, in node2stan
    return html2stan(''.join(html))
  File "/usr/lib/python3/dist-packages/pydoctor/stanutils.py", line 30, in html2stan
    stan = XMLString(b'<div>%s</div>' % html).load()[0]
  File "/usr/lib/python3/dist-packages/twisted/web/template.py", line 402, in __init__
    self._loadedTemplate = _flatsaxParse(NativeStringIO(s))
  File "/usr/lib/python3/dist-packages/twisted/web/template.py", line 356, in _flatsaxParse
    parser.parse(fl)
  File "/usr/lib/python3.9/xml/sax/expatreader.py", line 111, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/lib/python3.9/xml/sax/xmlreader.py", line 125, in parse
    self.feed(buffer)
  File "/usr/lib/python3.9/xml/sax/expatreader.py", line 221, in feed
    self._err_handler.fatalError(exc)
  File "/usr/lib/python3.9/xml/sax/handler.py", line 38, in fatalError
    raise exception
xml.sax._exceptions.SAXParseException: <unknown>:1:46: undefined entity

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/pydoctor", line 33, in <module>
    sys.exit(load_entry_point('pydoctor==21.12.1', 'console_scripts', 'pydoctor')())
  File "/usr/lib/python3/dist-packages/pydoctor/driver.py", line 482, in main
    writer.writeIndividualFiles(subjects)
  File "/usr/lib/python3/dist-packages/pydoctor/templatewriter/writer.py", line 81, in writeIndividualFiles
    self._writeDocsFor(ob)
  File "/usr/lib/python3/dist-packages/pydoctor/templatewriter/writer.py", line 103, in _writeDocsFor
    self._writeDocsFor(o)
  File "/usr/lib/python3/dist-packages/pydoctor/templatewriter/writer.py", line 103, in _writeDocsFor
    self._writeDocsFor(o)
  File "/usr/lib/python3/dist-packages/pydoctor/templatewriter/writer.py", line 103, in _writeDocsFor
    self._writeDocsFor(o)
  File "/usr/lib/python3/dist-packages/pydoctor/templatewriter/writer.py", line 101, in _writeDocsFor
    self._writeDocsForOne(ob, fobj)
  File "/usr/lib/python3/dist-packages/pydoctor/templatewriter/writer.py", line 123, in _writeDocsForOne
    flattenToFile(fobj, page)
  File "/usr/lib/python3/dist-packages/pydoctor/templatewriter/writer.py", line 31, in flattenToFile
    raise err
twisted.web.error.FlattenerError: Exception while flattening:
  <pydoctor.templatewriter.pages.ZopeInterfaceClassPage object at 0x7f8606c3d940>
  Tag <>
  [[Tag('html', children=['\n', '  ', '\n', '\n', '  ', Tag('', children=['Head']), '\n', '\n', '  ', Tag('body', children=['\n', '\n', '    ', Tag('div'), '\n', '\n', '    ', Tag('', children=['Nav']), '\n', '\n', '    ', Tag('div', attributes=OrderedDict([('class', 'container')])), '\n', '\n', '    ', Tag('div', attributes=OrderedDict([('class', 'container')]), children=['\n', '\n', '      ', Tag('div', attributes=OrderedDict([('class', 'page-header')]), children=['\n', '        ', slot('heading'), '\n', '        ', Tag('div', attributes=OrderedDict([('id', 'showPrivate')]), children=['\n', '          ', Tag('button', attributes=OrderedDict([('class', 'btn btn-link'), ('onclick', 'togglePrivate()')]), children=['Toggle Private API']), '\n', '        ']), '\n', '      ']), '\n', '\n', '      ', Tag('div', attributes=OrderedDict([('class', 'categoryHeader')]), children=['\n', '        ', slot('category'), '\n', '      ']), '\n', '\n', '      ', Tag('div', attributes=OrderedDict([('class', 'extrasDocstring')]), children=['\n', '        ', slot('extras'), '\n', '        ', Tag('p', children=[Tag('a', children=['View In Hierarchy'])]), '\n', '      ']), '\n', '\n', '      ', Tag('div', attributes=OrderedDict([('class', 'moduleDocstring')]), children=['\n', '        ', slot('docstring'), '\n', '      ']), '\n', '\n', '      ', Tag('div', attributes=OrderedDict([('id', 'splitTables')]), children=['\n', '        ', slot('mainTable'), '\n', '        ', Tag('', children=['\n', '          ', Tag('p', attributes=OrderedDict([('class', 'inheritedFrom')]), children=['\n', '            Inherited from ', slot('baseName'), ':', '\n', '          ']), '\n', '          ', slot('baseTable'), '\n', '          ']), '\n', '\n', '          ', slot('packageInitTable'), '\n', '      ']), '\n', '\n', '      ', Tag('div', attributes=OrderedDict([('id', 'childList')]), children=['\n', '\n', '        ', slot('childlist'), '\n', '\n', '      ']), '\n', '    ']), '\n', '\n', '    ', Tag('footer'), '\n', '\n', '    ', Tag('script', attributes=OrderedDict([('src', 'pydoctor.js'), ('type', 'text/javascript')])), '\n', '\n', '  ']), '\n'])]]
  [Tag('html', children=['\n', '  ', '\n', '\n', '  ', Tag('', children=['Head']), '\n', '\n', '  ', Tag('body', children=['\n', '\n', '    ', Tag('div'), '\n', '\n', '    ', Tag('', children=['Nav']), '\n', '\n', '    ', Tag('div', attributes=OrderedDict([('class', 'container')])), '\n', '\n', '    ', Tag('div', attributes=OrderedDict([('class', 'container')]), children=['\n', '\n', '      ', Tag('div', attributes=OrderedDict([('class', 'page-header')]), children=['\n', '        ', slot('heading'), '\n', '        ', Tag('div', attributes=OrderedDict([('id', 'showPrivate')]), children=['\n', '          ', Tag('button', attributes=OrderedDict([('class', 'btn btn-link'), ('onclick', 'togglePrivate()')]), children=['Toggle Private API']), '\n', '        ']), '\n', '      ']), '\n', '\n', '      ', Tag('div', attributes=OrderedDict([('class', 'categoryHeader')]), children=['\n', '        ', slot('category'), '\n', '      ']), '\n', '\n', '      ', Tag('div', attributes=OrderedDict([('class', 'extrasDocstring')]), children=['\n', '        ', slot('extras'), '\n', '        ', Tag('p', children=[Tag('a', children=['View In Hierarchy'])]), '\n', '      ']), '\n', '\n', '      ', Tag('div', attributes=OrderedDict([('class', 'moduleDocstring')]), children=['\n', '        ', slot('docstring'), '\n', '      ']), '\n', '\n', '      ', Tag('div', attributes=OrderedDict([('id', 'splitTables')]), children=['\n', '        ', slot('mainTable'), '\n', '        ', Tag('', children=['\n', '          ', Tag('p', attributes=OrderedDict([('class', 'inheritedFrom')]), children=['\n', '            Inherited from ', slot('baseName'), ':', '\n', '          ']), '\n', '          ', slot('baseTable'), '\n', '          ']), '\n', '\n', '          ', slot('packageInitTable'), '\n', '      ']), '\n', '\n', '      ', Tag('div', attributes=OrderedDict([('id', 'childList')]), children=['\n', '\n', '        ', slot('childlist'), '\n', '\n', '      ']), '\n', '    ']), '\n', '\n', '    ', Tag('footer'), '\n', '\n', '    ', Tag('script', attributes=OrderedDict([('src', 'pydoctor.js'), ('type', 'text/javascript')])), '\n', '\n', '  ']), '\n'])]
  Tag <html>
  ['\n', '  ', '\n', '\n', '  ', Tag('', children=['Head']), '\n', '\n', '  ', Tag('body', children=['\n', '\n', '    ', Tag('div'), '\n', '\n', '    ', Tag('', children=['Nav']), '\n', '\n', '    ', Tag('div', attributes=OrderedDict([('class', 'container')])), '\n', '\n', '    ', Tag('div', attributes=OrderedDict([('class', 'container')]), children=['\n', '\n', '      ', Tag('div', attributes=OrderedDict([('class', 'page-header')]), children=['\n', '        ', slot('heading'), '\n', '        ', Tag('div', attributes=OrderedDict([('id', 'showPrivate')]), children=['\n', '          ', Tag('button', attributes=OrderedDict([('class', 'btn btn-link'), ('onclick', 'togglePrivate()')]), children=['Toggle Private API']), '\n', '        ']), '\n', '      ']), '\n', '\n', '      ', Tag('div', attributes=OrderedDict([('class', 'categoryHeader')]), children=['\n', '        ', slot('category'), '\n', '      ']), '\n', '\n', '      ', Tag('div', attributes=OrderedDict([('class', 'extrasDocstring')]), children=['\n', '        ', slot('extras'), '\n', '        ', Tag('p', children=[Tag('a', children=['View In Hierarchy'])]), '\n', '      ']), '\n', '\n', '      ', Tag('div', attributes=OrderedDict([('class', 'moduleDocstring')]), children=['\n', '        ', slot('docstring'), '\n', '      ']), '\n', '\n', '      ', Tag('div', attributes=OrderedDict([('id', 'splitTables')]), children=['\n', '        ', slot('mainTable'), '\n', '        ', Tag('', children=['\n', '          ', Tag('p', attributes=OrderedDict([('class', 'inheritedFrom')]), children=['\n', '            Inherited from ', slot('baseName'), ':', '\n', '          ']), '\n', '          ', slot('baseTable'), '\n', '          ']), '\n', '\n', '          ', slot('packageInitTable'), '\n', '      ']), '\n', '\n', '      ', Tag('div', attributes=OrderedDict([('id', 'childList')]), children=['\n', '\n', '        ', slot('childlist'), '\n', '\n', '      ']), '\n', '    ']), '\n', '\n', '    ', Tag('footer'), '\n', '\n', '    ', Tag('script', attributes=OrderedDict([('src', 'pydoctor.js'), ('type', 'text/javascript')])), '\n', '\n', '  ']), '\n']
  Tag <body>
  ['\n', '\n', '    ', Tag('div'), '\n', '\n', '    ', Tag('', children=['Nav']), '\n', '\n', '    ', Tag('div', attributes=OrderedDict([('class', 'container')])), '\n', '\n', '    ', Tag('div', attributes=OrderedDict([('class', 'container')]), children=['\n', '\n', '      ', Tag('div', attributes=OrderedDict([('class', 'page-header')]), children=['\n', '        ', slot('heading'), '\n', '        ', Tag('div', attributes=OrderedDict([('id', 'showPrivate')]), children=['\n', '          ', Tag('button', attributes=OrderedDict([('class', 'btn btn-link'), ('onclick', 'togglePrivate()')]), children=['Toggle Private API']), '\n', '        ']), '\n', '      ']), '\n', '\n', '      ', Tag('div', attributes=OrderedDict([('class', 'categoryHeader')]), children=['\n', '        ', slot('category'), '\n', '      ']), '\n', '\n', '      ', Tag('div', attributes=OrderedDict([('class', 'extrasDocstring')]), children=['\n', '        ', slot('extras'), '\n', '        ', Tag('p', children=[Tag('a', children=['View In Hierarchy'])]), '\n', '      ']), '\n', '\n', '      ', Tag('div', attributes=OrderedDict([('class', 'moduleDocstring')]), children=['\n', '        ', slot('docstring'), '\n', '      ']), '\n', '\n', '      ', Tag('div', attributes=OrderedDict([('id', 'splitTables')]), children=['\n', '        ', slot('mainTable'), '\n', '        ', Tag('', children=['\n', '          ', Tag('p', attributes=OrderedDict([('class', 'inheritedFrom')]), children=['\n', '            Inherited from ', slot('baseName'), ':', '\n', '          ']), '\n', '          ', slot('baseTable'), '\n', '          ']), '\n', '\n', '          ', slot('packageInitTable'), '\n', '      ']), '\n', '\n', '      ', Tag('div', attributes=OrderedDict([('id', 'childList')]), children=['\n', '\n', '        ', slot('childlist'), '\n', '\n', '      ']), '\n', '    ']), '\n', '\n', '    ', Tag('footer'), '\n', '\n', '    ', Tag('script', attributes=OrderedDict([('src', 'pydoctor.js'), ('type', 'text/javascript')])), '\n', '\n', '  ']
  Tag <div>
  ['\n', '\n', '      ', Tag('div', attributes=OrderedDict([('class', 'page-header')]), children=['\n', '        ', slot('heading'), '\n', '        ', Tag('div', attributes=OrderedDict([('id', 'showPrivate')]), children=['\n', '          ', Tag('button', attributes=OrderedDict([('class', 'btn btn-link'), ('onclick', 'togglePrivate()')]), children=['Toggle Private API']), '\n', '        ']), '\n', '      ']), '\n', '\n', '      ', Tag('div', attributes=OrderedDict([('class', 'categoryHeader')]), children=['\n', '        ', slot('category'), '\n', '      ']), '\n', '\n', '      ', Tag('div', attributes=OrderedDict([('class', 'extrasDocstring')]), children=['\n', '        ', slot('extras'), '\n', '        ', Tag('p', children=[Tag('a', children=['View In Hierarchy'])]), '\n', '      ']), '\n', '\n', '      ', Tag('div', attributes=OrderedDict([('class', 'moduleDocstring')]), children=['\n', '        ', slot('docstring'), '\n', '      ']), '\n', '\n', '      ', Tag('div', attributes=OrderedDict([('id', 'splitTables')]), children=['\n', '        ', slot('mainTable'), '\n', '        ', Tag('', children=['\n', '          ', Tag('p', attributes=OrderedDict([('class', 'inheritedFrom')]), children=['\n', '            Inherited from ', slot('baseName'), ':', '\n', '          ']), '\n', '          ', slot('baseTable'), '\n', '          ']), '\n', '\n', '          ', slot('packageInitTable'), '\n', '      ']), '\n', '\n', '      ', Tag('div', attributes=OrderedDict([('id', 'childList')]), children=['\n', '\n', '        ', slot('childlist'), '\n', '\n', '      ']), '\n', '    ']
  Tag <div>
  ['\n', '\n', '        ', slot('childlist'), '\n', '\n', '      ']
  slot('childlist')
  [<pydoctor.templatewriter.pages.functionchild.FunctionChild object at 0x7f860624acd0>, <pydoctor.templatewriter.pages.functionchild.FunctionChild object at 0x7f86070bce80>, <pydoctor.templatewriter.pages.attributechild.AttributeChild object at 0x7f86070bcc40>, <pydoctor.templatewriter.pages.attributechild.AttributeChild object at 0x7f8606f265b0>, <pydoctor.templatewriter.pages.attributechild.AttributeChild object at 0x7f860702b820>]
  <pydoctor.templatewriter.pages.functionchild.FunctionChild object at 0x7f860624acd0>
  [Tag('div', attributes=OrderedDict([('class', Tag(''))]), children=['\n', '  ', '\n', '  ', '\n', '  ', Tag('a', attributes=OrderedDict([('name', Tag(''))]), children=['\n', '    ', '\n', '  ']), '\n', '  ', Tag('a', attributes=OrderedDict([('name', Tag(''))]), children=['\n', '    ', '\n', '  ']), '\n', '  ', Tag('div', attributes=OrderedDict([('class', 'functionHeader')]), children=['\n', '    ', Tag(''), '\n', '    ', Tag('', children=['\n', '      def functionName():', '\n', '    ']), '\n', '    ', Tag('a', attributes=OrderedDict([('class', 'sourceLink'), ('href', Tag('', children=[slot('sourceHref')]))]), children=['\n', '      ', '\n', '      (source)', '\n', '    ']), '\n', '  ']), '\n', '  ', Tag('div', attributes=OrderedDict([('class', 'docstring functionBody')]), children=['\n', '    ', Tag(''), '\n', '    ', Tag(''), '\n', '    ', Tag('', children=['\n', '      Docstring.', '\n', '    ']), '\n', '  ']), '\n'])]
  Tag <div>
  ['\n', '  ', '\n', '  ', '\n', '  ', Tag('a', attributes=OrderedDict([('name', Tag(''))]), children=['\n', '    ', '\n', '  ']), '\n', '  ', Tag('a', attributes=OrderedDict([('name', Tag(''))]), children=['\n', '    ', '\n', '  ']), '\n', '  ', Tag('div', attributes=OrderedDict([('class', 'functionHeader')]), children=['\n', '    ', Tag(''), '\n', '    ', Tag('', children=['\n', '      def functionName():', '\n', '    ']), '\n', '    ', Tag('a', attributes=OrderedDict([('class', 'sourceLink'), ('href', Tag('', children=[slot('sourceHref')]))]), children=['\n', '      ', '\n', '      (source)', '\n', '    ']), '\n', '  ']), '\n', '  ', Tag('div', attributes=OrderedDict([('class', 'docstring functionBody')]), children=['\n', '    ', Tag(''), '\n', '    ', Tag(''), '\n', '    ', Tag('', children=['\n', '      Docstring.', '\n', '    ']), '\n', '  ']), '\n']
  Tag <div>
  ['\n', '    ', Tag(''), '\n', '    ', Tag(''), '\n', '    ', Tag('', children=['\n', '      Docstring.', '\n', '    ']), '\n', '  ']
  Tag <>
  File "/usr/lib/python3/dist-packages/twisted/web/_flatten.py", line 321, in _flattenTree
    element = next(stack[-1])
  File "/usr/lib/python3/dist-packages/twisted/web/_flatten.py", line 237, in _flattenElement
    result = renderMethod(request, rootClone)
  File "/usr/lib/python3/dist-packages/pydoctor/templatewriter/pages/functionchild.py", line 73, in functionBody
    return self.docgetter.get(self.ob)
  File "/usr/lib/python3/dist-packages/pydoctor/templatewriter/pages/__init__.py", line 71, in get
    return epydoc2stan.format_docstring(ob)
  File "/usr/lib/python3/dist-packages/pydoctor/epydoc2stan.py", line 744, in format_docstring
    fh.handle(Field.from_epydoc(field, source))
  File "/usr/lib/python3/dist-packages/pydoctor/epydoc2stan.py", line 600, in handle
    m(field)
  File "/usr/lib/python3/dist-packages/pydoctor/epydoc2stan.py", line 529, in handle_type
    self.types[name] = field.format()
  File "/usr/lib/python3/dist-packages/pydoctor/epydoc2stan.py", line 353, in format
    return self.body.to_stan(_EpydocLinker(self.source))
  File "/usr/lib/python3/dist-packages/pydoctor/epydoc/markup/__init__.py", line 134, in to_stan
    self._stan = Tag('', children=node2stan.node2stan(self.to_node(), docstring_linker).children)
  File "/usr/lib/python3/dist-packages/pydoctor/node2stan.py", line 42, in node2stan
    return html2stan(''.join(html))
  File "/usr/lib/python3/dist-packages/pydoctor/stanutils.py", line 30, in html2stan
    stan = XMLString(b'<div>%s</div>' % html).load()[0]
  File "/usr/lib/python3/dist-packages/twisted/web/template.py", line 402, in __init__
    self._loadedTemplate = _flatsaxParse(NativeStringIO(s))
  File "/usr/lib/python3/dist-packages/twisted/web/template.py", line 356, in _flatsaxParse
    parser.parse(fl)
  File "/usr/lib/python3.9/xml/sax/expatreader.py", line 111, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/lib/python3.9/xml/sax/xmlreader.py", line 125, in parse
    self.feed(buffer)
  File "/usr/lib/python3.9/xml/sax/expatreader.py", line 221, in feed
    self._err_handler.fatalError(exc)
  File "/usr/lib/python3.9/xml/sax/handler.py", line 38, in fatalError
    raise exception
SAXParseException: <unknown>:1:46: undefined entity

make[3]: *** [Makefile:30: apidocs] Error 1
make[3]: Leaving directory '/home/maxzor/git-buildpackage'
make[2]: *** [Makefile:26: docs] Error 2
make[2]: Leaving directory '/home/maxzor/git-buildpackage'
make[1]: *** [debian/rules:29: override_dh_auto_build] Error 2
make[1]: Leaving directory '/home/maxzor/git-buildpackage'
make: *** [debian/rules:18: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

_______________________________________________
git-buildpackage mailing list
[email protected]
http://lists.sigxcpu.org/mailman/listinfo/git-buildpackage

Reply via email to