← Back to team overview

ubuntustudio-bugs team mailing list archive

[Bug 1999404] [NEW] missing draco binary

 

Public bug reported:

1) The release of Ubuntu:
Description:	Ubuntu 22.04.1 LTS
Release:	22.04

2) The version of the package:
blender:
  Installed: 3.0.1+dfsg-7
  Candidate: 3.0.1+dfsg-7
  Version table:
 *** 3.0.1+dfsg-7 500
        500 http://se.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        100 /var/lib/dpkg/status

3) What you expected to happen:
Open blender. Click file > Import > glTF 2.0. Select draco encoded file and click import.
Expected to open draco encoded scene.

4) What happened instead:
Crash with error message:

Python: Traceback (most recent call last):
  File "/usr/share/blender/scripts/addons/io_scene_gltf2/__init__.py", line 1064, in execute
    return self.import_gltf2(context)
  File "/usr/share/blender/scripts/addons/io_scene_gltf2/__init__.py", line 1078, in import_gltf2
    if self.unit_import(path, import_settings) == {'FINISHED'}:
  File "/usr/share/blender/scripts/addons/io_scene_gltf2/__init__.py", line 1098, in unit_import
    BlenderGlTF.create(gltf_importer)
  File "/usr/share/blender/scripts/addons/io_scene_gltf2/blender/imp/gltf2_blender_gltf.py", line 42, in create
    BlenderGlTF._create(gltf)
  File "/usr/share/blender/scripts/addons/io_scene_gltf2/blender/imp/gltf2_blender_gltf.py", line 49, in _create
    BlenderScene.create(gltf)
  File "/usr/share/blender/scripts/addons/io_scene_gltf2/blender/imp/gltf2_blender_scene.py", line 45, in create
    BlenderNode.create_vnode(gltf, 'root')
  File "/usr/share/blender/scripts/addons/io_scene_gltf2/blender/imp/gltf2_blender_node.py", line 51, in create_vnode
    BlenderNode.create_vnode(gltf, child)
  File "/usr/share/blender/scripts/addons/io_scene_gltf2/blender/imp/gltf2_blender_node.py", line 38, in create_vnode
    BlenderNode.create_object(gltf, vnode_id)
  File "/usr/share/blender/scripts/addons/io_scene_gltf2/blender/imp/gltf2_blender_node.py", line 58, in create_object
    obj = BlenderNode.create_mesh_object(gltf, vnode)
  File "/usr/share/blender/scripts/addons/io_scene_gltf2/blender/imp/gltf2_blender_node.py", line 211, in create_mesh_object
    mesh = BlenderMesh.create(gltf, pynode.mesh, pynode.skin)
  File "/usr/share/blender/scripts/addons/io_scene_gltf2/blender/imp/gltf2_blender_mesh.py", line 34, in create
    return create_mesh(gltf, mesh_idx, skin_idx)
  File "/usr/share/blender/scripts/addons/io_scene_gltf2/blender/imp/gltf2_blender_mesh.py", line 52, in create_mesh
    do_primitives(gltf, mesh_idx, skin_idx, mesh, tmp_ob)
  File "/usr/share/blender/scripts/addons/io_scene_gltf2/blender/imp/gltf2_blender_mesh.py", line 141, in do_primitives
    decode_primitive(gltf, prim)
  File "/usr/share/blender/scripts/addons/io_scene_gltf2/blender/imp/gltf2_io_draco_compression_extension.py", line 30, in decode_primitive
    dll = cdll.LoadLibrary(str(dll_path().resolve()))
  File "/usr/lib/python3.10/ctypes/__init__.py", line 452, in LoadLibrary
    return self._dlltype(name)
  File "/usr/lib/python3.10/ctypes/__init__.py", line 374, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /usr/bin/3.0/python/lib/python3.10/site-packages/libextern_draco.so: cannot open shared object file: No such file or directory

location: <unknown location>:-1

It seems that the build does not include libextern_draco.so. This issue
is present when building blender as python package too. This issue is
*not* present in the official release when downloading trough
https://www.blender.org/download/

** Affects: blender (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to blender in Ubuntu.
Matching subscriptions: ubuntustudio-bugs: blender
https://bugs.launchpad.net/bugs/1999404

Title:
  missing draco binary

Status in blender package in Ubuntu:
  New

Bug description:
  1) The release of Ubuntu:
  Description:	Ubuntu 22.04.1 LTS
  Release:	22.04

  2) The version of the package:
  blender:
    Installed: 3.0.1+dfsg-7
    Candidate: 3.0.1+dfsg-7
    Version table:
   *** 3.0.1+dfsg-7 500
          500 http://se.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
          100 /var/lib/dpkg/status

  3) What you expected to happen:
  Open blender. Click file > Import > glTF 2.0. Select draco encoded file and click import.
  Expected to open draco encoded scene.

  4) What happened instead:
  Crash with error message:

  Python: Traceback (most recent call last):
    File "/usr/share/blender/scripts/addons/io_scene_gltf2/__init__.py", line 1064, in execute
      return self.import_gltf2(context)
    File "/usr/share/blender/scripts/addons/io_scene_gltf2/__init__.py", line 1078, in import_gltf2
      if self.unit_import(path, import_settings) == {'FINISHED'}:
    File "/usr/share/blender/scripts/addons/io_scene_gltf2/__init__.py", line 1098, in unit_import
      BlenderGlTF.create(gltf_importer)
    File "/usr/share/blender/scripts/addons/io_scene_gltf2/blender/imp/gltf2_blender_gltf.py", line 42, in create
      BlenderGlTF._create(gltf)
    File "/usr/share/blender/scripts/addons/io_scene_gltf2/blender/imp/gltf2_blender_gltf.py", line 49, in _create
      BlenderScene.create(gltf)
    File "/usr/share/blender/scripts/addons/io_scene_gltf2/blender/imp/gltf2_blender_scene.py", line 45, in create
      BlenderNode.create_vnode(gltf, 'root')
    File "/usr/share/blender/scripts/addons/io_scene_gltf2/blender/imp/gltf2_blender_node.py", line 51, in create_vnode
      BlenderNode.create_vnode(gltf, child)
    File "/usr/share/blender/scripts/addons/io_scene_gltf2/blender/imp/gltf2_blender_node.py", line 38, in create_vnode
      BlenderNode.create_object(gltf, vnode_id)
    File "/usr/share/blender/scripts/addons/io_scene_gltf2/blender/imp/gltf2_blender_node.py", line 58, in create_object
      obj = BlenderNode.create_mesh_object(gltf, vnode)
    File "/usr/share/blender/scripts/addons/io_scene_gltf2/blender/imp/gltf2_blender_node.py", line 211, in create_mesh_object
      mesh = BlenderMesh.create(gltf, pynode.mesh, pynode.skin)
    File "/usr/share/blender/scripts/addons/io_scene_gltf2/blender/imp/gltf2_blender_mesh.py", line 34, in create
      return create_mesh(gltf, mesh_idx, skin_idx)
    File "/usr/share/blender/scripts/addons/io_scene_gltf2/blender/imp/gltf2_blender_mesh.py", line 52, in create_mesh
      do_primitives(gltf, mesh_idx, skin_idx, mesh, tmp_ob)
    File "/usr/share/blender/scripts/addons/io_scene_gltf2/blender/imp/gltf2_blender_mesh.py", line 141, in do_primitives
      decode_primitive(gltf, prim)
    File "/usr/share/blender/scripts/addons/io_scene_gltf2/blender/imp/gltf2_io_draco_compression_extension.py", line 30, in decode_primitive
      dll = cdll.LoadLibrary(str(dll_path().resolve()))
    File "/usr/lib/python3.10/ctypes/__init__.py", line 452, in LoadLibrary
      return self._dlltype(name)
    File "/usr/lib/python3.10/ctypes/__init__.py", line 374, in __init__
      self._handle = _dlopen(self._name, mode)
  OSError: /usr/bin/3.0/python/lib/python3.10/site-packages/libextern_draco.so: cannot open shared object file: No such file or directory

  location: <unknown location>:-1

  It seems that the build does not include libextern_draco.so. This
  issue is present when building blender as python package too. This
  issue is *not* present in the official release when downloading trough
  https://www.blender.org/download/

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/blender/+bug/1999404/+subscriptions