Import FBX not working #44806

Closed
opened 2015-05-22 14:15:12 +02:00 by Walid Abushady · 13 comments

System Information
Windows 64-bit Nvidia Geforce GTX56

Version 2.74
Broken: 2.74 000dfc0
Worked: (optional)

FBX file with baked animation created from Maya 2015 does not import into Blender

Traceback (most recent call last):

File "C:\Program Files\Blender Foundation\Blender\2.74\scripts\addons\io_scene_fbx\__init__.py", line 203, in execute
  return import_fbx.load(self, context, **keywords)
File "C:\Program Files\Blender Foundation\Blender\2.74\scripts\addons\io_scene_fbx\import_fbx.py", line 2276, in load
  _(); del _
File "C:\Program Files\Blender Foundation\Blender\2.74\scripts\addons\io_scene_fbx\import_fbx.py", line 2275, in _
  fbx_item[1] = blen_read_geom(fbx_tmpl, fbx_obj, settings)
File "C:\Program Files\Blender Foundation\Blender\2.74\scripts\addons\io_scene_fbx\import_fbx.py", line 1146, in blen_read_geom
  blen_read_geom_layer_uv(fbx_obj, mesh)
File "C:\Program Files\Blender Foundation\Blender\2.74\scripts\addons\io_scene_fbx\import_fbx.py", line 971, in blen_read_geom_layer_uv
2, 2, layer_id,
File "C:\Program Files\Blender Foundation\Blender\2.74\scripts\addons\io_scene_fbx\import_fbx.py", line 896, in blen_read_geom_array_mapped_polyloop
  blen_data, blen_attr, fbx_layer_data, stride, item_size, descr, xform)
File "C:\Program Files\Blender Foundation\Blender\2.74\scripts\addons\io_scene_fbx\import_fbx.py", line 753, in blen_read_geom_array_setattr
  _process(blen_data, blen_attr, fbx_data, xform, item_size, blen_idx, fbx_idx)
File "C:\Program Files\Blender Foundation\Blender\2.74\scripts\addons\io_scene_fbx\import_fbx.py", line 748, in _process
  setattr(blen_data[blen_idx], blen_attr, fbx_data[fbx_idx:fbx_idx + item_size])

ValueError: bpy_struct: item.attr = val: sequences of dimension 0 should contain 2 items, not 0

location: :-1

Exact steps for others to reproduce the error
Open Blender
Clear scene by hitting A to select all then X to delete everything
Import FBX
Error message

**System Information** Windows 64-bit Nvidia Geforce GTX56 Version 2.74 Broken: 2.74 000dfc0 Worked: (optional) FBX file with baked animation created from Maya 2015 does not import into Blender Traceback (most recent call last): ``` File "C:\Program Files\Blender Foundation\Blender\2.74\scripts\addons\io_scene_fbx\__init__.py", line 203, in execute return import_fbx.load(self, context, **keywords) File "C:\Program Files\Blender Foundation\Blender\2.74\scripts\addons\io_scene_fbx\import_fbx.py", line 2276, in load _(); del _ File "C:\Program Files\Blender Foundation\Blender\2.74\scripts\addons\io_scene_fbx\import_fbx.py", line 2275, in _ fbx_item[1] = blen_read_geom(fbx_tmpl, fbx_obj, settings) File "C:\Program Files\Blender Foundation\Blender\2.74\scripts\addons\io_scene_fbx\import_fbx.py", line 1146, in blen_read_geom blen_read_geom_layer_uv(fbx_obj, mesh) File "C:\Program Files\Blender Foundation\Blender\2.74\scripts\addons\io_scene_fbx\import_fbx.py", line 971, in blen_read_geom_layer_uv ``` 2, 2, layer_id, ``` File "C:\Program Files\Blender Foundation\Blender\2.74\scripts\addons\io_scene_fbx\import_fbx.py", line 896, in blen_read_geom_array_mapped_polyloop blen_data, blen_attr, fbx_layer_data, stride, item_size, descr, xform) File "C:\Program Files\Blender Foundation\Blender\2.74\scripts\addons\io_scene_fbx\import_fbx.py", line 753, in blen_read_geom_array_setattr _process(blen_data, blen_attr, fbx_data, xform, item_size, blen_idx, fbx_idx) File "C:\Program Files\Blender Foundation\Blender\2.74\scripts\addons\io_scene_fbx\import_fbx.py", line 748, in _process setattr(blen_data[blen_idx], blen_attr, fbx_data[fbx_idx:fbx_idx + item_size]) ``` ValueError: bpy_struct: item.attr = val: sequences of dimension 0 should contain 2 items, not 0 location: <unknown location>:-1 **Exact steps for others to reproduce the error** Open Blender Clear scene by hitting A to select all then X to delete everything Import FBX Error message
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @dinokaizer

Added subscriber: @dinokaizer
Author

Here is the FBX file{F178738}

Here is the FBX file{[F178738](https://archive.blender.org/developer/F178738/Example.fbx)}

Added subscriber: @mont29

Added subscriber: @mont29

Error is not with animation, it’s with mesh (UV data to be precise).

But I definitively cannot investigate a 57MiB file (fyi, once textified it gives over half a Giga of JSon file!). Please try to reproduce the issue with a much simpler one (ideally, a cube, or at least something reasonably small).

Error is not with animation, it’s with mesh (UV data to be precise). But I definitively cannot investigate a 57MiB file (fyi, once textified it gives over half a Giga of JSon file!). Please try to reproduce the issue with a much simpler one (ideally, a cube, or at least something reasonably small).
Author

I'm sorry but I cannot reproduce the error with any other file, I even tried removing the UVs in Maya but it makes no difference and still won't import
This is for a very important project and I am running out of options :(

I'm sorry but I cannot reproduce the error with any other file, I even tried removing the UVs in Maya but it makes no difference and still won't import This is for a very important project and I am running out of options :(

Added subscriber: @LevonHudson

Added subscriber: @LevonHudson

I have access to Maya, i will have a look at the file and see if i can reproduce the error.

I have access to Maya, i will have a look at the file and see if i can reproduce the error.
Author

Thank you so much for helping :)

Thank you so much for helping :)

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Bastien Montagne self-assigned this 2015-05-31 18:35:38 +02:00

Closing for now, easy to reopen if/when required info is provided.

Closing for now, easy to reopen if/when required info is provided.
Author

That's too bad, levon have you got anything? I can't reproduce the error with any other file

That's too bad, levon have you got anything? I can't reproduce the error with any other file

Added subscriber: @catontheroof

Added subscriber: @catontheroof
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 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#44806
No description provided.