Public bug reported:
I assume this is fixed in version 3.3 but on Ubuntu Xenial the released
debian package is 3.2, where the following happens.
> 1) The release of Ubuntu you are using, via 'lsb_release -rd' or
System -> About Ubuntu
$ lsb_release -rd
Description: Ubuntu 16.04.1 LTS
Release: 16.04
> 2) The version of the package you are using
$ apt-cache policy python-pyassimp
python-pyassimp:
Installed: 3.2~dfsg-3
Candidate: 3.2~dfsg-3
Version table:
*** 3.2~dfsg-3 500
500 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64
Packages
500 http://us.archive.ubuntu.com/ubuntu xenial/universe i386
Packages
100 /var/lib/dpkg/status
> 3) What you expected to happen
Expect "import pyassimp" not to cause any errors. On Ubuntu Trusty I
see:
$ ipython
Python 2.7.6 (default, Oct 26 2016, 20:30:19)
Type "copyright", "credits" or "license" for more information.
IPython 1.2.1 -- An enhanced Interactive Python.
:
In [1]: import pyassimp
In [2]:
> 4) What happened instead
$ ipython
:
In [1]: import pyassimp
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-1-652a73ea0321> in <module>()
----> 1 import pyassimp
/usr/lib/python2.7/dist-packages/pyassimp/__init__.py in <module>()
----> 1 from .core import *
/usr/lib/python2.7/dist-packages/pyassimp/core.py in <module>()
27 from .formats import available_formats
28
---> 29 class AssimpLib(object):
30 """
31 Assimp-Singleton
/usr/lib/python2.7/dist-packages/pyassimp/core.py in AssimpLib()
31 Assimp-Singleton
32 """
---> 33 load, load_mem, release, dll = helper.search_library()
34 _assimp_lib = AssimpLib()
35
ValueError: need more than 3 values to unpack
Also, if the same `import pyassimp` is called within a module, I get different
output but still error. See
https://github.com/ros-planning/moveit/issues/86#issuecomment-273092617
** Affects: assimp (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1657374
Title:
[v3.2] "import pyassimp" fails in Python
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/assimp/+bug/1657374/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs