[Python-apps-team] Bug#830342: mayavi2: FTBFS: AttributeError: 'NoneType' object has no attribute 'find'

Lucas Nussbaum lucas at debian.org
Fri Jul 8 09:34:27 UTC 2016


Source: mayavi2
Version: 4.4.3-2.1
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20160707 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):
>  debian/rules build
> dh --with python2 build
>    dh_testdir
>    dh_update_autotools_config
>    dh_auto_configure
>    dh_auto_build
> 	python setup.py build --force
> running build
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "setup.py", line 471, in <module>
> Building TVTK classes...
>     
>   File "/usr/lib/python2.7/dist-packages/numpy/distutils/core.py", line 169, in setup
>     return old_setup(**new_attr)
>   File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
>     dist.run_commands()
>   File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
>     self.run_command(cmd)
>   File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
>     cmd_obj.run()
>   File "setup.py", line 303, in run
>     
>   File "setup.py", line 290, in build_tvtk_classes_zip
>     
>   File "tvtk/setup.py", line 62, in gen_tvtk_classes_zip
>     # numpy.distutils does the Wrong(TM) thing.
>   File "tvtk/code_gen.py", line 101, in generate_code
>   File "tvtk/code_gen.py", line 191, in _write_wrapper_class
>   File "tvtk/wrapper_gen.py", line 80, in generate_code
>   File "tvtk/wrapper_gen.py", line 180, in _gen_methods
>   File "tvtk/wrapper_gen.py", line 764, in _gen_other_methods
>   File "tvtk/wrapper_gen.py", line 1066, in _write_tvtk_method
>   File "tvtk/vtk_parser.py", line 311, in get_method_signature
> AttributeError: 'NoneType' object has no attribute 'find'
> dh_auto_build: python setup.py build --force returned exit code 1
> make: *** [build] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2016/07/07/mayavi2_4.4.3-2.1_unstable_reb.normal.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