[Python-modules-team] Bug#719391: python-networkx: FTBFS: AttributeError: 'NoneType' object has no attribute 'endswith'
David Suárez
david.sephirot at gmail.com
Sun Aug 11 12:04:39 UTC 2013
Source: python-networkx
Version: 1.7~rc1-3
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20130811 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part (hopefully):
> ======================================================================
> ERROR: test suite for <class 'test_pylab.TestPylab'>
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python2.7/dist-packages/nose/suite.py", line 208, in run
> self.setUp()
> File "/usr/lib/python2.7/dist-packages/nose/suite.py", line 291, in setUp
> self.setupContext(ancestor)
> File "/usr/lib/python2.7/dist-packages/nose/suite.py", line 314, in setupContext
> try_run(context, names)
> File "/usr/lib/python2.7/dist-packages/nose/util.py", line 469, in try_run
> return func()
> File "/«PKGBUILDDIR»/networkx/drawing/tests/test_pylab.py", line 16, in setupClass
> import matplotlib as mpl
> File "/usr/lib/pymodules/python2.7/matplotlib/__init__.py", line 936, in <module>
> rcParams = rc_params()
> File "/usr/lib/pymodules/python2.7/matplotlib/__init__.py", line 845, in rc_params
> fname = matplotlib_fname()
> File "/usr/lib/pymodules/python2.7/matplotlib/__init__.py", line 715, in matplotlib_fname
> configdir = _get_configdir()
> File "/usr/lib/pymodules/python2.7/matplotlib/__init__.py", line 584, in _get_configdir
> return _get_config_or_cache_dir(_get_xdg_config_dir())
> File "/usr/lib/pymodules/python2.7/matplotlib/__init__.py", line 521, in _get_xdg_config_dir
> return os.environ.get('XDG_CONFIG_HOME', os.path.join(get_home(), '.config'))
> File "/usr/lib/python2.7/posixpath.py", line 77, in join
> elif path == '' or path.endswith('/'):
> AttributeError: 'NoneType' object has no attribute 'endswith'
>
> ----------------------------------------------------------------------
> Ran 1684 tests in 11.938s
>
> FAILED (SKIP=7, errors=1)
> make: *** [build-arch] Error 1
The full build log is available from:
http://aws-logs.debian.net/ftbfs-logs/2013/08/11/python-networkx_1.7~rc1-3_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 Python-modules-team
mailing list