Can't Import FBX from maya #62044

Closed
opened 2019-02-28 13:03:34 +01:00 by Mike · 11 comments

System Information
Operating system: Windows 10
Graphics card: NVIDEA GeForce GTX 1060

Blender Version
Blender 2.77

Short description of error
I am unable to import a fbx file from maya(have not tried other programs yet)

After I imported it nothing happens but a temporary error message pops up: Couldn't open file 'C:\Documents\Maya\somthing.fbx'

And in the console it ran like normal:
FBX Import: start importing C:\Documents\Maya\somthing.fbx
Traceback (most recent call last):

File "C:\programs\Blender Foundation\Blender\2.77\scripts\addons\io_scene_fbx\import_fbx.py", line 2234, in load
  elem_root, version = parse_fbx.parse(filepath)
File "C:\programs\Blender Foundation\Blender\2.77\scripts\addons\io_scene_fbx\parse_fbx.py", line 164, in parse
  elem = read_elem(read, tell, use_namedtuple)
File "C:\programs\Blender Foundation\Blender\2.77\scripts\addons\io_scene_fbx\parse_fbx.py", line 124, in read_elem
  elem_subtree.append(read_elem(read, tell, use_namedtuple))
File "C:\programs\Blender Foundation\Blender\2.77\scripts\addons\io_scene_fbx\parse_fbx.py", line 119, in read_elem
  elem_props_data[i] = read_data_dict[data_type](read)

KeyError: 0

Exact steps for others to reproduce the error
Start blender - click file > Import > fbx - click maya fbx file - click import.

**System Information** Operating system: Windows 10 Graphics card: NVIDEA GeForce GTX 1060 **Blender Version** Blender 2.77 **Short description of error** I am unable to import a fbx file from maya(have not tried other programs yet) After I imported it nothing happens but a temporary error message pops up: Couldn't open file 'C:\Documents\Maya\somthing.fbx' And in the console it ran like normal: FBX Import: start importing C:\Documents\Maya\somthing.fbx Traceback (most recent call last): ``` File "C:\programs\Blender Foundation\Blender\2.77\scripts\addons\io_scene_fbx\import_fbx.py", line 2234, in load elem_root, version = parse_fbx.parse(filepath) File "C:\programs\Blender Foundation\Blender\2.77\scripts\addons\io_scene_fbx\parse_fbx.py", line 164, in parse elem = read_elem(read, tell, use_namedtuple) File "C:\programs\Blender Foundation\Blender\2.77\scripts\addons\io_scene_fbx\parse_fbx.py", line 124, in read_elem elem_subtree.append(read_elem(read, tell, use_namedtuple)) File "C:\programs\Blender Foundation\Blender\2.77\scripts\addons\io_scene_fbx\parse_fbx.py", line 119, in read_elem elem_props_data[i] = read_data_dict[data_type](read) ``` KeyError: 0 **Exact steps for others to reproduce the error** Start blender - click file > Import > fbx - click maya fbx file - click import.
Author

Added subscriber: @Magic-4e

Added subscriber: @Magic-4e

Added subscriber: @brecht

Added subscriber: @brecht

Please try the latest version, 2.77 is 3 years old:
https://www.blender.org/download/
https://builder.blender.org/download/

Please try the latest version, 2.77 is 3 years old: https://www.blender.org/download/ https://builder.blender.org/download/

Added subscriber: @SergeyIvanov

Added subscriber: @SergeyIvanov

its working for me for blender 2.8 and maya 2018

its working for me for blender 2.8 and maya 2018

Removed subscriber: @SergeyIvanov

Removed subscriber: @SergeyIvanov
Author

I have updated it.
And yes it works now.
Thanks everyone.

I have updated it. And yes it works now. Thanks everyone.

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Brecht Van Lommel self-assigned this 2019-03-01 18:12:42 +01:00

Added subscriber: @Ficopoki

Added subscriber: @Ficopoki

Hi,
I have the same problem with blender 3.0.0 and i also tried this with 3.1.2. I cant open FBX file (size 6 GB i know it is super large) when importing. This is the message i get back from console. We tried this on laptop with 16 GB of ram, and on PC with 64 GB of ram but it still didn't work.

File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_fbx\import_fbx.py", line 2409, in load
elem_root, version = parse_fbx.parse(filepath)
File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_fbx\parse_fbx.py", line 188, in parse
elem = read_elem(read, tell, use_namedtuple)
File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_fbx\parse_fbx.py", line 147, in read_elem
elem_subtree.append(read_elem(read, tell, use_namedtuple))
File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_fbx\parse_fbx.py", line 142, in read_elem
elem_props_data[i] = read_data_dictdata_type

KeyError: 164```
Hi, I have the same problem with blender 3.0.0 and i also tried this with 3.1.2. I cant open FBX file (size 6 GB i know it is super large) when importing. This is the message i get back from console. We tried this on laptop with 16 GB of ram, and on PC with 64 GB of ram but it still didn't work. ```Traceback (most recent call last): ``` File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_fbx\import_fbx.py", line 2409, in load elem_root, version = parse_fbx.parse(filepath) File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_fbx\parse_fbx.py", line 188, in parse elem = read_elem(read, tell, use_namedtuple) File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_fbx\parse_fbx.py", line 147, in read_elem elem_subtree.append(read_elem(read, tell, use_namedtuple)) File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\scripts\addons\io_scene_fbx\parse_fbx.py", line 142, in read_elem elem_props_data[i] = read_data_dict[data_type](read) ``` KeyError: 164```
Author

Strange I have imported an fbx somewhere in the past months, but I didn't get get an error.
My armature did have incorrect scaling relative to the mesh though.
But than again, I have never worked on files as large as yours.

Strange I have imported an fbx somewhere in the past months, but I didn't get get an error. My armature did have incorrect scaling relative to the mesh though. But than again, I have never worked on files as large as yours.
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#62044
No description provided.