FK animation won't export to FBX #48089

Closed
opened 2016-04-08 13:18:40 +02:00 by lyndon daniels · 6 comments

System Information
Ubuntu 14.04
Nvidia 650M

Blender Version
Broken: 2.76b, 2.69
Worked: (none)

Short description of error
The attached animation with FK rig produces an error when attempting to export to FBX, and does not succeed.

horseCaggiage_PackedTextures1.blend

Exact steps for others to reproduce the error
Open file and choose Export to FBX the following error is produced

FBX export starting... '/home/lyndon/Documents/InspiredMinority/TUT/horse/export/fbx/new/horseCaggiage_PackedTextures1_HorseSolo.fbx'
FBX export prepare: Wrapping Objects...
Done (0.000438 sec)

FBX export prepare: Wrapping Data (lamps, cameras, empties)...
Done (0.000153 sec)

FBX export prepare: Wrapping Meshes...
Done (0.000296 sec)

FBX export prepare: Wrapping ShapeKeys...
Done (0.025441 sec)

FBX export prepare: Wrapping Armatures...
Done (0.008019 sec)

FBX export prepare: Wrapping World...
Done (0.000239 sec)

FBX export prepare: Wrapping Materials...
Done (0.000293 sec)

FBX export prepare: Wrapping Textures...
Done (0.000063 sec)

FBX export prepare: Wrapping Animations...
Traceback (most recent call last):

File "/home/lyndon/Software/blender/blender-2.76b-linux-glibc211-x86_64/2.76/scripts/addons/io_scene_fbx/__init__.py", line 583, in execute
  return export_fbx_bin.save(self, context, **keywords)
File "/home/lyndon/Software/blender/blender-2.76b-linux-glibc211-x86_64/2.76/scripts/addons/io_scene_fbx/export_fbx_bin.py", line 3039, in save
  ret = save_single(operator, context.scene, filepath, **kwargs_mod)
File "/home/lyndon/Software/blender/blender-2.76b-linux-glibc211-x86_64/2.76/scripts/addons/io_scene_fbx/export_fbx_bin.py", line 2934, in save_single
  scene_data = fbx_data_from_scene(scene, settings)
File "/home/lyndon/Software/blender/blender-2.76b-linux-glibc211-x86_64/2.76/scripts/addons/io_scene_fbx/export_fbx_bin.py", line 2329, in fbx_data_from_scene
  animations, animated, frame_start, frame_end = fbx_animations(tmp_scdata)
File "/home/lyndon/Software/blender/blender-2.76b-linux-glibc211-x86_64/2.76/scripts/addons/io_scene_fbx/export_fbx_bin.py", line 2070, in fbx_animations
  ob.animation_data.action = act

AttributeError: bpy_struct: attribute "action" from "AnimData" is read-only

location: :-1

location: :-1

**System Information** Ubuntu 14.04 Nvidia 650M **Blender Version** Broken: 2.76b, 2.69 Worked: (none) **Short description of error** The attached animation with FK rig produces an error when attempting to export to FBX, and does not succeed. [horseCaggiage_PackedTextures1.blend](https://archive.blender.org/developer/F301413/horseCaggiage_PackedTextures1.blend) **Exact steps for others to reproduce the error** Open file and choose Export to FBX the following error is produced FBX export starting... '/home/lyndon/Documents/InspiredMinority/TUT/horse/export/fbx/new/horseCaggiage_PackedTextures1_HorseSolo.fbx' FBX export prepare: Wrapping Objects... Done (0.000438 sec) FBX export prepare: Wrapping Data (lamps, cameras, empties)... Done (0.000153 sec) FBX export prepare: Wrapping Meshes... Done (0.000296 sec) FBX export prepare: Wrapping ShapeKeys... Done (0.025441 sec) FBX export prepare: Wrapping Armatures... Done (0.008019 sec) FBX export prepare: Wrapping World... Done (0.000239 sec) FBX export prepare: Wrapping Materials... Done (0.000293 sec) FBX export prepare: Wrapping Textures... Done (0.000063 sec) FBX export prepare: Wrapping Animations... Traceback (most recent call last): ``` File "/home/lyndon/Software/blender/blender-2.76b-linux-glibc211-x86_64/2.76/scripts/addons/io_scene_fbx/__init__.py", line 583, in execute return export_fbx_bin.save(self, context, **keywords) File "/home/lyndon/Software/blender/blender-2.76b-linux-glibc211-x86_64/2.76/scripts/addons/io_scene_fbx/export_fbx_bin.py", line 3039, in save ret = save_single(operator, context.scene, filepath, **kwargs_mod) File "/home/lyndon/Software/blender/blender-2.76b-linux-glibc211-x86_64/2.76/scripts/addons/io_scene_fbx/export_fbx_bin.py", line 2934, in save_single scene_data = fbx_data_from_scene(scene, settings) File "/home/lyndon/Software/blender/blender-2.76b-linux-glibc211-x86_64/2.76/scripts/addons/io_scene_fbx/export_fbx_bin.py", line 2329, in fbx_data_from_scene animations, animated, frame_start, frame_end = fbx_animations(tmp_scdata) File "/home/lyndon/Software/blender/blender-2.76b-linux-glibc211-x86_64/2.76/scripts/addons/io_scene_fbx/export_fbx_bin.py", line 2070, in fbx_animations ob.animation_data.action = act ``` AttributeError: bpy_struct: attribute "action" from "AnimData" is read-only location: <unknown location>:-1 location: <unknown location>:-1
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @lyndondaniels

Added subscriber: @lyndondaniels
Bastien Montagne self-assigned this 2016-04-08 14:37:59 +02:00

Added subscriber: @mont29

Added subscriber: @mont29

Bah… this has nothing to see with FK, it’s because current action of your object is not editable (due to being used in NLA or something)… Will add a check for this in exporter, but you probably want to disable 'All Actions' option of FBX exporter in such case.

Bah… this has nothing to see with FK, it’s because current action of your object is not editable (due to being used in NLA or something)… Will add a check for this in exporter, but you probably want to disable 'All Actions' option of FBX exporter in such case.

This issue was referenced by c964103c1b

This issue was referenced by c964103c1bd0698281e6bf8cd8d05f85947c0546

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#48089
No description provided.