Page MenuHome

FBX Export: Python error with dupligroups
Closed, ResolvedPublic

Description

When attempting to export the attached blend file, the following Python error is reported to the console:
FBX export starting... 'D:\\Documents\\ExportTest\\Assets\\simple_level.fbx'
Traceback (most recent call last):

File "D:\blender\2.70\scripts\addons\io_scene_fbx\__init__.py", line 412, in execute
  return export_fbx_bin.save(self, context, **keywords)
File "D:\blender\2.70\scripts\addons\io_scene_fbx\export_fbx_bin.py", line 3236, in save
  ret = save_single(operator, context.scene, filepath, **kwargs_mod)
File "D:\blender\2.70\scripts\addons\io_scene_fbx\export_fbx_bin.py", line 3155, in save_single
  scene_data = fbx_data_from_scene(scene, settings)
File "D:\blender\2.70\scripts\addons\io_scene_fbx\export_fbx_bin.py", line 2738, in fbx_data_from_scene
  empty_key = data_empties[obj.data]

KeyError: None

Event Timeline

Bastien Montagne (mont29) changed the task status from Unknown Status to Resolved.May 8 2014, 11:46 AM

Closed by commit rBA90a19622339e.

I've got another error:

FBX export starting... 'D:\\Documents\\ExportTest\\Assets\\simple_level.fbx'
Traceback (most recent call last):
  File "D:\blender\2.70\scripts\addons\io_scene_fbx\__init__.py", line 412, in execute
    return export_fbx_bin.save(self, context, **keywords)
  File "D:\blender\2.70\scripts\addons\io_scene_fbx\export_fbx_bin.py", line 3245, in save
    ret = save_single(operator, context.scene, filepath, **kwargs_mod)
  File "D:\blender\2.70\scripts\addons\io_scene_fbx\export_fbx_bin.py", line 3164, in save_single
    scene_data = fbx_data_from_scene(scene, settings)
  File "D:\blender\2.70\scripts\addons\io_scene_fbx\export_fbx_bin.py", line 2749, in fbx_data_from_scene
    mesh_key, _me, _free = data_meshes[obj]
KeyError: bpy.data.objects['Cube.001']

Same blend file. This is rather strange since 'Cube.001' is indeed in bpy.data.objects (checked with the interactive console). =/

The error occurs if I use "Selected Objects" and I do not have the parts of the group selected (Cube.001 and Circle) and the group parts are in an inactive layer. In other words, if I select both layers and select the group parts, then I can use the "Selected Objects" option.