FS#79999 - [blender] 17:3.6.4-2 x3d importer doesn't work

Attached to Project: Arch Linux
Opened by Alban (agarof) - Wednesday, 18 October 2023, 13:18 GMT
Last edited by Toolybird (Toolybird) - Monday, 20 November 2023, 00:07 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
freswa (frederik)
Filipe Laíns (FFY00)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When trying to import a .wrl file with File > Import > X3D Extensible 3D (.x3d/.wrl), the operation fails with the following console output

Traceback (most recent call last):
File "/usr/share/blender/3.6/scripts/addons/io_scene_x3d/import_x3d.py", line 1259, in gzipOpen
filehandle = open(path, 'rU', encoding='utf-8', errors='surrogateescape')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

This error was fixed six months ago in the blender-addons repository by this commit: https://projects.blender.org/blender/blender-addons/commit/eef2e476d384e463d6124c13225aaa5bd8be7631
Both the Windows and Linux official 3.6.4 release archives contain the up-to-date file, leading me to believe this is an issue with arch's package
This task depends upon

Closed by  Toolybird (Toolybird)
Monday, 20 November 2023, 00:07 GMT
Reason for closing:  Fixed
Additional comments about closing:  blender-17:4.0.1-1
Comment by loqs (loqs) - Wednesday, 18 October 2023, 14:57 GMT
Building the package in a clean chroot I generated a package which included the fix. The difference might be explained by the addons repo being a git branch checkout in prepare which is not reproducible.
Comment by loqs (loqs) - Wednesday, 18 October 2023, 21:32 GMT
If the issue is due to how the addons are checked out then the attached diff may solve it. It switches to a checkout of a git tag, it then copies the checkouts into place as ln confused the install logic.

Loading...