The patch provided by Sanguinario_Joe (lacigarracomunista) applies above the maintainer's patch which modifies the helper.py and returns only (load, release) tuple instead of the awaited (load, load_mem, release).
It indeed fixes importing but breaks the usage of the load method because load is returned not load_mem. This load is used in the package maintained by Dave Coleman (moveit_commander) and this how it failed at my side after applying the patch. here down is the proof: Looking deeper at the maintainer's patch for Xenial [assimp_3.2~dfsg-3.debian.tar.xz] the pyassimp.patch does this + try: + load = LIBASSIMP.aiImportFile + release = LIBASSIMP.aiReleaseImport + except AttributeError: and in yakkety this similar patch does this (additional export is from 3.3 version of the lib) + try: + load = LIBASSIMP.aiImportFile + load_mem = LIBASSIMP.aiImportFileFromMemory + export = LIBASSIMP.aiExportScene + release = LIBASSIMP.aiReleaseImport one can see that the returned function are (load, release) not (load_mem, release) as assumed by Sanguinario_Joe. I think the correct patch for the xenial version should remove the load_mem function as in my provided patch Overall, imho, the maintainers could provide a correct patch for xenial by adding this one line + load_mem = LIBASSIMP.aiImportFileFromMemory and do need to backpart the 3.3 version on xenial I hope this helps. ** Attachment added: "patchPyassim.txt" https://bugs.launchpad.net/ubuntu/+source/assimp/+bug/1589949/+attachment/4876145/+files/patchPyassim.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1589949 Title: ValueError: need more than 3 values to unpack To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/assimp/+bug/1589949/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
