Bug 2276011 - [abrt] blender: module(): gltf2_blender_gather_tree.py:7:<module>:ModuleNotFoundError: No module named 'numpy'
Summary: [abrt] blender: module(): gltf2_blender_gather_tree.py:7:<module>:ModuleNotFo...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: blender
Version: 39
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ben Beasley
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:97fa0a4e1680e22e1e2bca8d467...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-04-19 00:39 UTC by nesuniken
Modified: 2024-05-01 02:25 UTC (History)
8 users (show)

Fixed In Version: blender-4.0.2-3.fc39
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-05-01 02:25:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: os_info (699 bytes, text/plain)
2024-04-19 00:39 UTC, nesuniken
no flags Details
File: environ (2.48 KB, text/plain)
2024-04-19 00:39 UTC, nesuniken
no flags Details
File: mountinfo (3.13 KB, text/plain)
2024-04-19 00:39 UTC, nesuniken
no flags Details
File: open_fds (3.49 KB, text/plain)
2024-04-19 00:39 UTC, nesuniken
no flags Details
File: namespaces (171 bytes, text/plain)
2024-04-19 00:39 UTC, nesuniken
no flags Details
File: backtrace (8.58 KB, text/plain)
2024-04-19 00:39 UTC, nesuniken
no flags Details
File: cpuinfo (3.23 KB, text/plain)
2024-04-19 00:39 UTC, nesuniken
no flags Details

Description nesuniken 2024-04-19 00:39:28 UTC
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

Comment 1 nesuniken 2024-04-19 00:39:32 UTC
Created attachment 2027792 [details]
File: os_info

Comment 2 nesuniken 2024-04-19 00:39:33 UTC
Created attachment 2027793 [details]
File: environ

Comment 3 nesuniken 2024-04-19 00:39:34 UTC
Created attachment 2027794 [details]
File: mountinfo

Comment 4 nesuniken 2024-04-19 00:39:35 UTC
Created attachment 2027795 [details]
File: open_fds

Comment 5 nesuniken 2024-04-19 00:39:37 UTC
Created attachment 2027796 [details]
File: namespaces

Comment 6 nesuniken 2024-04-19 00:39:38 UTC
Created attachment 2027797 [details]
File: backtrace

Comment 7 nesuniken 2024-04-19 00:39:39 UTC
Created attachment 2027798 [details]
File: cpuinfo

Comment 8 Ben Beasley 2024-04-19 16:35:05 UTC
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…

Comment 9 Ben Beasley 2024-04-19 16:36:13 UTC
Meanwhile, you should be able to work around this with

  sudo dnf install python3-numpy

Thanks for the report.

Comment 11 Fedora Update System 2024-04-22 11:52:41 UTC
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

Comment 12 Fedora Update System 2024-04-23 02:43:15 UTC
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.

Comment 13 Fedora Update System 2024-05-01 02:25:59 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.