FBX camera import fails with assert(fbx_props[0] is not None) #56732

Closed
opened 2018-09-09 20:33:52 +02:00 by Jesse · 3 comments

System Information
Mac OS 10.13.6
Intel Iris Pro 1536 MB

Blender Version
Version 2.79 (2.79 2017-09-11, Blender Foundation)
FBX 3.9.1

Short description of error
I've have written an program using Autodesk's FBX sdk. The FBX I've written includes a single animated camera. I'm able to import it into Maya, but hit this traceback down below. As I'm writing the FBX myself, if I can figure out what exactly Blender expects, I may be able to provide it. I see the importer is looking for "Properties70", but I'm not clear what those are.

Also, when I remove the assertion, the import completes successfully.

Traceback (most recent call last):
  File "/Applications/blender/blender.app/Contents/Resources/2.79/scripts/addons/io_scene_fbx/__init__.py", line 234, in execute
    return import_fbx.load(self, context, **keywords)
  File "/Applications/blender/blender.app/Contents/Resources/2.79/scripts/addons/io_scene_fbx/import_fbx.py", line 2543, in load
    _(); del _
  File "/Applications/blender/blender.app/Contents/Resources/2.79/scripts/addons/io_scene_fbx/import_fbx.py", line 2542, in _
    fbx_item[1] = blen_read_camera(fbx_tmpl, fbx_obj, global_scale)
  File "/Applications/blender/blender.app/Contents/Resources/2.79/scripts/addons/io_scene_fbx/import_fbx.py", line 1449, in blen_read_camera
    assert(fbx_props[0] is not None)
AssertionError

Exact steps for others to reproduce the error
Import the attached fbx, not the traceback in the terminal.
file.fbx

**System Information** Mac OS 10.13.6 Intel Iris Pro 1536 MB **Blender Version** Version 2.79 (2.79 2017-09-11, Blender Foundation) FBX 3.9.1 **Short description of error** I've have written an program using Autodesk's FBX sdk. The FBX I've written includes a single animated camera. I'm able to import it into Maya, but hit this traceback down below. As I'm writing the FBX myself, if I can figure out what exactly Blender expects, I may be able to provide it. I see the importer is looking for "Properties70", but I'm not clear what those are. Also, when I remove the assertion, the import completes successfully. ``` Traceback (most recent call last): File "/Applications/blender/blender.app/Contents/Resources/2.79/scripts/addons/io_scene_fbx/__init__.py", line 234, in execute return import_fbx.load(self, context, **keywords) File "/Applications/blender/blender.app/Contents/Resources/2.79/scripts/addons/io_scene_fbx/import_fbx.py", line 2543, in load _(); del _ File "/Applications/blender/blender.app/Contents/Resources/2.79/scripts/addons/io_scene_fbx/import_fbx.py", line 2542, in _ fbx_item[1] = blen_read_camera(fbx_tmpl, fbx_obj, global_scale) File "/Applications/blender/blender.app/Contents/Resources/2.79/scripts/addons/io_scene_fbx/import_fbx.py", line 1449, in blen_read_camera assert(fbx_props[0] is not None) AssertionError ``` **Exact steps for others to reproduce the error** Import the attached fbx, not the traceback in the terminal. [file.fbx](https://archive.blender.org/developer/F4643040/file.fbx)
Author

Added subscriber: @FreakTheMighty

Added subscriber: @FreakTheMighty

This issue was referenced by 5d9c8f2b87

This issue was referenced by 5d9c8f2b871f3a02b0348c564039772d9938137a
Bastien Montagne self-assigned this 2018-09-10 15:26:36 +02:00

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#56732
No description provided.