FBX (binary) export gives massive amount of false error messages #45756
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
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#45756
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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
Windows 8.1
Blender Version
Broken: Blender version: 2.75a c27589e 64bit
Short description of error
When exporting a bit more complex FBX scene from the command line (using the binary FBX exporter) blender gives massive amounts of error messages even though the export is successful.
The console is filled with thousands of lines of this one error message:
Error: Object does not have duplis
The binary FBX export is also slow compared to the ASCII FBX export (probably due to console not keeping up with all the text).
Exact steps for others to reproduce the error
I'm exporting from the command line with something like
blender.exe my_scene.blender --background --python my_export_script.py
where my_export_script.py is basically just a call tobpy.ops.export_scene.fbx()
#/usr/bin/python
Changed status to: 'Open'
Added subscriber: @suikki
Added subscriber: @mont29
Please add a .blend file producing such errors, report is useless without it…
I did some digging and it seems that the error text is shown when
dupli_list_create
is called for objects that don't use duplis.This fixed it for me around line 1162 in fbx_utils.py:
I'm not 100% sure if this actually works as I haven't been using duplis
I'll have to create a blend file later as I don't have time now, but I assume any blend file with normal non-dupli objects will do.
Added subscriber: @Blendify
Added a simple test scene and python script.
To test:
c:\blender-2.75a-windows64\blender.exe test.blend --background --python export.py
(replace path with your blender path)Result:
Export is successful but for each object in the scene there are couple of "Error: Object does not have duplis" in the output
export_test.zip
OK thanks… stupid Blender, with UI it fires an exception, and without it just prints out in console… Will fix (similar to yours, but using dedicated flag).
This issue was referenced by
94abe3b97f
Changed status from 'Open' to: 'Resolved'