Bug#902807: freecad: Fails to import a Collada file (python exception)

Sylvestre Ledru sylvestre at debian.org
Sun Jul 1 10:25:45 BST 2018


Package: freecad
Version: 0.16.6712+dfsg1-3
Severity: normal

Hello,

When I am trying to import 
https://3dwarehouse.sketchup.com/model/06313964-7555-4f9a-8097-bb1dbc459d35/GARBAGE-BIN-SHED
with the collada format, it fails with:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/freecad/Mod/Arch/importDAE.py", line 78, in open
    read(filename)
  File "/usr/lib/freecad/Mod/Arch/importDAE.py", line 111, in read
    for geom in col.scene.objects('geometry'):
  File "/usr/lib/python2.7/dist-packages/collada/scene.py", line 897, in objects
    for obj in node.objects(tipo, matrix): yield obj
  File "/usr/lib/python2.7/dist-packages/collada/scene.py", line 374, in objects
    for obj in node.objects(tipo, M):
  File "/usr/lib/python2.7/dist-packages/collada/scene.py", line 371, in objects
    if matrix != None: M = numpy.dot( matrix, self.matrix )
<type 'exceptions.ValueError'>: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

File as attachment

Cheers,
S
-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (600, 'unstable'), (500, 'stable'), (300, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.15.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages freecad depends on:
ii  libboost-atomic1.62.0           1.62.0+dfsg-5.1
ii  libboost-chrono1.62.0           1.62.0+dfsg-5
ii  libboost-date-time1.62.0        1.62.0+dfsg-5
ii  libboost-filesystem1.62.0       1.62.0+dfsg-5
ii  libboost-program-options1.62.0  1.62.0+dfsg-5.1
ii  libboost-python1.62.0           1.62.0+dfsg-5
ii  libboost-regex1.62.0            1.62.0+dfsg-5.1
ii  libboost-signals1.62.0          1.62.0+dfsg-5.1
ii  libboost-system1.62.0           1.62.0+dfsg-5
ii  libboost-thread1.62.0           1.62.0+dfsg-5
ii  libc6                           2.27-3
ii  libcoin80v5                     3.1.4~abc9f50+dfsg3-2
ii  libfreeimage3                   3.17.0+ds1-5+b4
ii  libfreetype6                    2.8.1-2
ii  libgcc1                         1:8-20180402-1
ii  libgl1                          1.0.0+git20180308-1
ii  libglu1-mesa [libglu1]          9.0.0-2.1
ii  libice6                         2:1.0.9-2
ii  liboce-foundation11             0.18.2-3
ii  liboce-modeling11               0.18.2-3
ii  liboce-ocaf-lite11              0.18.2-3
ii  liboce-ocaf11                   0.18.2-3
ii  liboce-visualization11          0.18.2-3
ii  libpyside1.2                    1.2.2+source1-3
ii  libpython2.7                    2.7.14-8
ii  libqt4-network                  4:4.8.7+dfsg-11
ii  libqt4-opengl                   4:4.8.7+dfsg-11
ii  libqt4-svg                      4:4.8.7+dfsg-11
ii  libqt4-xml                      4:4.8.7+dfsg-11
ii  libqtcore4                      4:4.8.7+dfsg-11
ii  libqtgui4                       4:4.8.7+dfsg-11
ii  libshiboken1.2v5                1.2.2-5+b1
ii  libsm6                          2:1.2.2-1+b3
ii  libsoqt4-20                     1.6.0~e8310f-4
ii  libspnav0                       0.2.3-1
ii  libstdc++6                      8-20180402-1
ii  libx11-6                        2:1.6.5-1
ii  libxerces-c3.2                  3.2.1+debian-2
ii  libxext6                        2:1.3.3-1+b2
ii  libzipios++0v5                  0.1.5.9+cvs.2007.04.28-10
ii  pyside-tools                    0.2.15-1+b1
ii  python                          2.7.14-4
ii  python-collada                  0.4-3
ii  python-matplotlib               2.1.1-2
ii  python-pivy                     0.5.0~v609hg-4
ii  python-ply                      3.11-2
ii  python-pyside                   1.2.2+source1-3
ii  python2.7                       2.7.14-8
ii  zlib1g                          1:1.2.8.dfsg-5

freecad recommends no packages.

Versions of packages freecad suggests:
ii  graphviz  2.40.1-3
pn  povray    <none>

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GarbageBin.zip
Type: application/zip
Size: 110456 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20180701/43dd5d1b/attachment-0001.zip>


More information about the debian-science-maintainers mailing list