i can't import fbx files traceback #78890

Closed
opened 2020-07-13 18:23:21 +02:00 by SeRing · 13 comments

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce GTX 1080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 446.14

Blender Version
Broken: version: 2.82 (sub 7), branch: master, commit date: 2020-02-12 16:20, hash: blender/blender@77d23b0bd7
Worked: (optional)

Short description of error
Other fbx files load, but I don't know why, but I can't load 1 fbx files with this error. Blender 2.79, 2.82, 2.83 all tried, but it didn't work. Please help me.

Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.82\2.82\scripts\addons\io_scene_fbx\__init__.py", line 217, in execute
    if import_fbx.load(self, context, filepath=path, **keywords) == {'FINISHED'}:
  File "C:\Program Files\Blender Foundation\Blender 2.82\2.82\scripts\addons\io_scene_fbx\import_fbx.py", line 2561, in load
    _(); del _
  File "C:\Program Files\Blender Foundation\Blender 2.82\2.82\scripts\addons\io_scene_fbx\import_fbx.py", line 2560, in _
    fbx_item[1] = blen_read_geom(fbx_tmpl, fbx_obj, settings)
  File "C:\Program Files\Blender Foundation\Blender 2.82\2.82\scripts\addons\io_scene_fbx\import_fbx.py", line 1258, in blen_read_geom
    blen_read_geom_layer_color(fbx_obj, mesh)
  File "C:\Program Files\Blender Foundation\Blender 2.82\2.82\scripts\addons\io_scene_fbx\import_fbx.py", line 1055, in blen_read_geom_layer_color
    blen_data = color_lay.data
AttributeError: 'NoneType' object has no attribute 'data'

location: <unknown location>:-1

Exact steps for others to reproduce the error
[Please describe the exact steps needed to reproduce the issue]
[Based on the default startup or an attached .blend file (as simple as possible)]

  1. Enter File - import - fbx and load the fbx in question.

  2. Nothing appears on the screen and the contents appear on the log below in red.

**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: GeForce GTX 1080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 446.14 **Blender Version** Broken: version: 2.82 (sub 7), branch: master, commit date: 2020-02-12 16:20, hash: `blender/blender@77d23b0bd7` Worked: (optional) **Short description of error** Other fbx files load, but I don't know why, but I can't load 1 fbx files with this error. Blender 2.79, 2.82, 2.83 all tried, but it didn't work. Please help me. ``` Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender 2.82\2.82\scripts\addons\io_scene_fbx\__init__.py", line 217, in execute if import_fbx.load(self, context, filepath=path, **keywords) == {'FINISHED'}: File "C:\Program Files\Blender Foundation\Blender 2.82\2.82\scripts\addons\io_scene_fbx\import_fbx.py", line 2561, in load _(); del _ File "C:\Program Files\Blender Foundation\Blender 2.82\2.82\scripts\addons\io_scene_fbx\import_fbx.py", line 2560, in _ fbx_item[1] = blen_read_geom(fbx_tmpl, fbx_obj, settings) File "C:\Program Files\Blender Foundation\Blender 2.82\2.82\scripts\addons\io_scene_fbx\import_fbx.py", line 1258, in blen_read_geom blen_read_geom_layer_color(fbx_obj, mesh) File "C:\Program Files\Blender Foundation\Blender 2.82\2.82\scripts\addons\io_scene_fbx\import_fbx.py", line 1055, in blen_read_geom_layer_color blen_data = color_lay.data AttributeError: 'NoneType' object has no attribute 'data' location: <unknown location>:-1 ``` **Exact steps for others to reproduce the error** [Please describe the exact steps needed to reproduce the issue] [Based on the default startup or an attached .blend file (as simple as possible)] 1. Enter File - import - fbx and load the fbx in question. 2. Nothing appears on the screen and the contents appear on the log below in red.
Author

Added subscriber: @Sera-4

Added subscriber: @Sera-4
SeRing changed title from Please Help me to i can't import fbx files traceback 2020-07-13 18:24:39 +02:00
Author

Removed subscriber: @Sera-4

Removed subscriber: @Sera-4

Added subscriber: @Sera-4

Added subscriber: @Sera-4

Added subscriber: @rjg

Added subscriber: @rjg

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'

If you made the fbx file yourself, please try to create the smallest possible file that results in this error and add it to your bug report.

If you made the fbx file yourself, please try to create the smallest possible file that results in this error and add it to your bug report.

Changed status from 'Needs User Info' to: 'Archived'

Changed status from 'Needs User Info' to: 'Archived'
Robert Guetzkow self-assigned this 2020-07-24 19:18:28 +02:00

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed.

Thanks again for the report. If the problem persists please open a new report with the required information.

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed. Thanks again for the report. If the problem persists please open a new report with the required information.

Added subscriber: @lee_sfs

Added subscriber: @lee_sfs

I am also getting this error.
Last week I could import the same files.
When I export the same geometry from 3ds max, I get this error too.

Traceback (most recent call last):

File "D:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\addons\io_scene_fbx\__init__.py", line 216, in execute
  if import_fbx.load(self, context, filepath=path, **keywords) == {'FINISHED'}:
File "D:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\addons\io_scene_fbx\import_fbx.py", line 2608, in load
  _(); del _
File "D:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\addons\io_scene_fbx\import_fbx.py", line 2607, in _
  fbx_item[1] = blen_read_material(fbx_tmpl, fbx_obj, settings)
File "D:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\addons\io_scene_fbx\import_fbx.py", line 1468, in blen_read_material
  blen_read_custom_properties(fbx_obj, ma, settings)
File "D:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\addons\io_scene_fbx\import_fbx.py", line 372, in blen_read_custom_properties
  assert(val >= 0 and val < len(enum_items))

AssertionError

location: :-1


I can export a cube from 3ds max, and import into blender fine now.

I am also getting this error. Last week I could import the same files. When I export the same geometry from 3ds max, I get this error too. Traceback (most recent call last): ``` File "D:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\addons\io_scene_fbx\__init__.py", line 216, in execute if import_fbx.load(self, context, filepath=path, **keywords) == {'FINISHED'}: File "D:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\addons\io_scene_fbx\import_fbx.py", line 2608, in load _(); del _ File "D:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\addons\io_scene_fbx\import_fbx.py", line 2607, in _ fbx_item[1] = blen_read_material(fbx_tmpl, fbx_obj, settings) File "D:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\addons\io_scene_fbx\import_fbx.py", line 1468, in blen_read_material blen_read_custom_properties(fbx_obj, ma, settings) File "D:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\addons\io_scene_fbx\import_fbx.py", line 372, in blen_read_custom_properties assert(val >= 0 and val < len(enum_items)) ``` AssertionError location: <unknown location>:-1 --------- I can export a cube from 3ds max, and import into blender fine now.

@lee_sfs The stack trace shows a different error. Please create a new bug report through Help > Report a Bug in Blender and attach the minimal example fbx file that causes this issue on import.

@lee_sfs The stack trace shows a different error. Please create a new bug report through *Help > Report a Bug* in Blender and attach the minimal example fbx file that causes this issue on import.

Added subscriber: @GeekyGami

Added subscriber: @GeekyGami

This comment was removed by @GeekyGami

*This comment was removed by @GeekyGami*
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#78890
No description provided.