Export to X3D Fails #94122
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#94122
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows 10
Graphics card: Nvidia GeForce GTX 1080
Blender Version
Broken: (version: 3.0.0, branch: master, commit date: 2021-12-02 18:35, hash: f1cca3055776, type: release)
Worked: (version: 2.93.5, branch: master, commit date: 2021-10-05 12:04, hash: a791bdabd0b2, type: release)
Short description of error
When trying to export a .blend file to .X3D (using default options), this error occurs and a zero-length file is produced
Info: starting X3D export to 'S:\MacraysKeep\VR\X3d\ImogenTemult_EF.x3d'...
Python: Traceback (most recent call last):
TypeError: 'Object' object is not iterable
location: :-1
Exact steps for others to reproduce the error
When trying to export a .blend file to .X3D (using default options)
Added subscriber: @macrayblackhand
Added subscriber: @PratikPB2123
Changed status from 'Needs Triage' to: 'Confirmed'
Hi, thanks for the report. Can confirm on current master and 3.0.0.
I think problem appears because of the api changes (not sure)
Added subscriber: @andreasplesch
This commit changed the signature and return value of the create_derived_objects function:
a82c9e1e40
https://developer.blender.org/rBa82c9e1e405c84b9ab8b5c1f31d7e135ab41c101
(not sure what rB means in the commit hash, ok it refers to the Blender repo)
I had good success by adopting the new signature and converting the return value back to what was provided before the commit:
I tested that with the default cube and a larger blend, generating the same .x3d as before.
Hopefully that can help somebody.
A more readable alternative is:
Here is a quick github fork with the change:
5192a43323
diff view:
https://github.com/blender/blender-addons/compare/master...andreasplesch:x3d_export_fix
This issue was referenced by
c7be983489
This issue was referenced by
1679f2fdbb
Changed status from 'Confirmed' to: 'Resolved'
Will this thread be notified when the version in which this fix resides is released?
Added subscriber: @lichtwerk
It is in 3.1 daily builds from https://builder.blender.org/download/daily/ and on the list blender/blender#93479 (3.0 Potential candidates for corrective releases)
But no, no automatic notification here if 3.0.1 is released, please keep an eye on it.