Package: python-visual
Version: 1:5.12-1.6+b6
Severity: grave
Justification: renders package unusable
Reproduction transcript:
(build)ian@zealot:~$ python2
Python 2.7.14+ (default, Dec 5 2017, 15:17:02)
[GCC 7.2.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import visual
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/dist-packages/visual/__init__.py", line 66, in
<module>
from visual.ui import display
File "/usr/lib/python2.7/dist-packages/visual/ui.py", line 3, in <module>
import materials
File "/usr/lib/python2.7/dist-packages/visual/materials.py", line 152, in
<module>
tx_turb3 = raw_texture( data=reshape(data,(64,64,64,3)), interpolate=True,
mipmap=False )
File "/usr/lib/python2.7/dist-packages/visual/materials.py", line 70, in
__init__
self.__setattr__(key, value)
ValueError: The truth value of an array with more than one element is
ambiguous. Use a.any() or a.all()
>>>
I had a look at the source but I'm afraid I'm mystified.
Ian.
--
Ian Jackson <[email protected]> These opinions are my own.
If I emailed you from an address @fyvzl.net or @evade.org.uk, that is
a private address which bypasses my fierce spamfilter.