Description of problem: Tried exporting a .blend model to a glTF file Version-Release number of selected component: blender-1:4.0.2-1.fc39 Additional info: reporter: libreport-2.17.11 kernel: 6.8.6-200.fc39.x86_64 cmdline: /usr/bin/blender /home/Nesuniken/Documents/Blender/Balatzee/Table.blend cgroup: 0::/user.slice/user-1000.slice/user/app.slice/app-blender-e8c59fe764d94db381db718a7085796d.scope uid: 1000 reason: gltf2_blender_gather_tree.py:7:<module>:ModuleNotFoundError: No module named 'numpy' executable: /usr/bin/blender type: Python3 package: blender-1:4.0.2-1.fc39 runlevel: N 5 exception_type: ModuleNotFoundError crash_function: module interpreter: blender-4.0.2-1.fc39.x86_64 comment: Tried exporting a .blend model to a glTF file Truncated backtrace: #1 [/usr/share/blender/4.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_tree.py:7] <module> #2 [/usr/share/blender/4.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather_nodes.py:15] <module> #3 [/usr/share/blender/4.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_gather.py:11] <module> #4 [/usr/share/blender/4.0/scripts/addons/io_scene_gltf2/blender/exp/gltf2_blender_export.py:16] <module> #5 [/usr/share/blender/4.0/scripts/addons/io_scene_gltf2/__init__.py:752] execute
Created attachment 2027792 [details] File: os_info
Created attachment 2027793 [details] File: environ
Created attachment 2027794 [details] File: mountinfo
Created attachment 2027795 [details] File: open_fds
Created attachment 2027796 [details] File: namespaces
Created attachment 2027797 [details] File: backtrace
Created attachment 2027798 [details] File: cpuinfo
It seems like the third-party Python packages imported by the add-on scripts need to be manually added to the Requires for the blender package (and preferably also BuildRequires, to keep the package from building successfully and then failing to install). Luya, do you know of anywhere that those dependencies are listed? I couldn’t find a straightforward enumeration in a quick grep of the package sources. It seems like a shame to have to dig through all of the Python code looking for non-stdlib imports…
Meanwhile, you should be able to work around this with sudo dnf install python3-numpy Thanks for the report.
https://src.fedoraproject.org/rpms/blender/pull-request/20
FEDORA-2024-bd77f9e670 (blender-4.0.2-3.fc39) has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2024-bd77f9e670
FEDORA-2024-bd77f9e670 has been pushed to the Fedora 39 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-bd77f9e670` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-bd77f9e670 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-bd77f9e670 (blender-4.0.2-3.fc39) has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report.