Error exporting tgi

  • It is the first attempt to model the airport terminal construction. When I try to export to a tgi file with blender, an error message appears. I don't know what I lack. I hope I can get answers and guidance from the leaders. Thanks! :)




    Python: Traceback (most recent call last):

    File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\io_scene_tgi\__init__.py", line 180, in execute

    return export_tgi.save(context, **keywords)

    File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\io_scene_tgi\export_tgi.py", line 1083, in save

    _write(context, filepath,

    File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\io_scene_tgi\export_tgi.py", line 1026, in _write

    write_file(full_path, objects, depsgraph, scene,

    File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\io_scene_tgi\export_tgi.py", line 755, in write_file

    bone_id = bone_list.index( bpy.context.blend_data.armatures[0].bonPython: Traceback (most recent call last):

    File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\io_scene_tgi\__init__.py", line 180, in execute

    return export_tgi.save(context, **keywords)

    File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\io_scene_tgi\export_tgi.py", line 1083, in save

    _write(context, filepath,

    File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\io_scene_tgi\export_tgi.py", line 1026, in _write

    write_file(full_path, objects, depsgraph, scene,

    File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\io_scene_tgi\export_tgi.py", line 755, in write_file

    bone_id = bone_list.index( bpy.context.blend_data.armatures[0].bones[ bone ] )

    AttributeError: 'NoneType' object has no attribute 'index'