[Python-apps-team] Bug#719409: mypaint: FTBFS: AttributeError: 'NoneType' object has no attribute 'endswith'

David Suárez david.sephirot at gmail.com
Sun Aug 11 12:00:47 UTC 2013


Source: mypaint
Version: 1.1.0-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):
> # Max-RSS: ~74000 kbytes
> MPLCONFIGDIR=`mktemp -d` python tests/test_mypaintlib.py
> Traceback (most recent call last):
>   File "tests/test_mypaintlib.py", line 2, in <module>
>     from pylab import *
>   File "/usr/lib/pymodules/python2.7/pylab.py", line 1, in <module>
>     from matplotlib.pylab import *
>   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'
> make: *** [build-stamp] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2013/08/11/mypaint_1.1.0-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-apps-team mailing list