Help needed for broken clean target of python module
Hi,
I have commited some initial packaging attempt for python-dendropy
Vcs-Git: git://anonscm.debian.org/debian-med/python-dendropy.git
but the clean target fails and I have no idea why:
...
dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:170: python2.7 setup.py clean
Traceback (most recent call last):
File "setup.py", line 30, in <module>
sys.stderr.write("-setup.py: {}\n".format(description()))
File "/home/andreas/debian-maintain/alioth/debian-med_git/build-area/python-dendropy-4.0.2/dendropy/__init__.py", line 145, in description
fields["DendroPy version"] = name()
File "/home/andreas/debian-maintain/alioth/debian-med_git/build-area/python-dendropy-4.0.2/dendropy/__init__.py", line 122, in name
return "{} {}{}".format(__project__, __version__, revision_description())
File "/home/andreas/debian-maintain/alioth/debian-med_git/build-area/python-dendropy-4.0.2/dendropy/__init__.py", line 115, in revision_description
if __revision__.is_available:
File "/home/andreas/debian-maintain/alioth/debian-med_git/build-area/python-dendropy-4.0.2/dendropy/utility/vcsinfo.py", line 122, in is_available
self.update()
File "/home/andreas/debian-maintain/alioth/debian-med_git/build-area/python-dendropy-4.0.2/dendropy/utility/vcsinfo.py", line 128, in update
if not self.repo_path or not self._vcs_available():
File "/home/andreas/debian-maintain/alioth/debian-med_git/build-area/python-dendropy-4.0.2/dendropy/utility/vcsinfo.py", line 164, in _vcs_available
retcode, stdout, stderr = self._run_vcs("--version")
File "/home/andreas/debian-maintain/alioth/debian-med_git/build-area/python-dendropy-4.0.2/dendropy/utility/vcsinfo.py", line 157, in _run_vcs
stdout, stderr = processio.communicate(p)
File "/home/andreas/debian-maintain/alioth/debian-med_git/build-area/python-dendropy-4.0.2/dendropy/utility/processio.py", line 46, in communicate
stdout = textprocessing.bytes_to_text(stdout)
File "/home/andreas/debian-maintain/alioth/debian-med_git/build-area/python-dendropy-4.0.2/dendropy/utility/textprocessing.py", line 44, in bytes_to_text
s = codecs.decode(s, ENCODING)
TypeError: must be string, not None
E: pybuild pybuild:256: clean: plugin distutils failed with: exit code=1: python2.7 setup.py clean
dh_auto_clean: pybuild --clean -i python{version} -p 2.7 --dir . returned exit code 13
debian/rules:13: recipe for target 'clean' failed
make: *** [clean] Error 13
Any hint?
Kind regards
Andreas.
--
http://fam-tille.de
Reply to: