Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#68994 - [blender] glTF/glb import fails due to Python exception
Attached to Project:
Community Packages
Opened by Aaron Barany (akb825) - Tuesday, 15 December 2020, 22:45 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Tuesday, 22 December 2020, 00:42 GMT
Opened by Aaron Barany (akb825) - Tuesday, 15 December 2020, 22:45 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Tuesday, 22 December 2020, 00:42 GMT
|
DetailsDescription:
When attempting to import a glTF/glb file in Blender, it fails due to an unexpected keyword exception in Python. (see attached screenshot) This is because Python 3.9 removed the "encoding" argument in the json.loads(). Removing the "encoding" argument in /usr/share/blender/2.91/scripts/addons/io_scene_gltf2/io/imp/gltf2_io_gltf.py line 64 fixes the issue. It can be argued that this is an upstream issue, but currently the cause is an incompatibility between Blender and the version of Python shipped with Arch. Additional info: blender 17:2.91.0-6 python 3.9.1-1 Upstream bug report: https://github.com/KhronosGroup/glTF-Blender-IO/issues/1295 Steps to reproduce: 1. Open blender with a new project. 2. Import a glTF or glb file through File -> Import -> glTF 2.0 (.glb/.gltf) |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Tuesday, 22 December 2020, 00:42 GMT
Reason for closing: Fixed
Tuesday, 22 December 2020, 00:42 GMT
Reason for closing: Fixed
Screenshot_20201215_142414.png
Blender is bundled with its own python interpreter, that is the only python version that is officially supported.
For 2.91, this is 3.7.7
The person who made the original change followed up acknowledging that the parameter has been deprecated even in the Python version they bundle. Hopefully that means they'll have a fix available before too long, but I don't know what that means as far as Arch's package is concerned.