FBX Export: Python error with dupligroups #40091

Closed
opened 2014-05-08 10:27:36 +02:00 by Mitchell Stokes · 7 comments

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

simple_level.blend

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 [simple_level.blend](https://archive.blender.org/developer/F87791/simple_level.blend)
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Bastien Montagne was assigned by Mitchell Stokes 2014-05-08 10:27:36 +02:00
Author
Member

Added subscriber: @Moguri

Added subscriber: @Moguri

This issue was referenced by 90a1962233

This issue was referenced by 90a19622339e1c56c8c2e27962a4a6878d2f0adf

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

Closed by commit 90a1962233.

Closed by commit 90a1962233.
Author
Member

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). =/

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). =/
Author
Member

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.

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