Code: Select all
ERROR - Unexpected 'TypeError' accured during batch export:
Traceback (most recent call last):
File "C:\Users\[i]redacted[/i]\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\io_scs_tools\operators\bases\export.py", line 184, in execute_export
result = _export.batch_export(self, init_obj_list, name_suffix=ef_name_suffix, menu_filepath=menu_filepath)
File "C:\Users\[i]redacted[/i]\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\io_scs_tools\exp\__init__.py", line 95, in batch_export
export_success = pix.export(filepath, name_suffix, root_object, game_object_list)
File "C:\Users\[i]redacted[/i]\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\io_scs_tools\exp\pix.py", line 196, in export
export_success = _pit.export(*(in_args + trans_structs_args))
File "C:\Users\[i]redacted[/i]\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\io_scs_tools\exp\pit.py", line 386, in export
_looks.apply_active_look(root_object) # apply look manually, as active look setter method works only when user sets index from UI
File "C:\Users\[i]redacted[/i]\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\io_scs_tools\internals\looks\__init__.py", line 115, in apply_active_look
for prop in mat_data:
TypeError: iter() returned non-iterator of type 'IDPropertyGroupViewKeys'
ERROR SUMMARY:
================
> Unexpected 'TypeError' accured during batch export:
Traceback (most recent call last):
File "C:\Users\[i]redacted[/i]\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\io_scs_tools\operators\bases\export.py", line 184, in execute_export
result = _export.batch_export(self, init_obj_list, name_suffix=ef_name_suffix, menu_filepath=menu_filepath)
File "C:\Users\[i]redacted[/i]\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\io_scs_tools\exp\__init__.py", line 95, in batch_export
export_success = pix.export(filepath, name_suffix, root_object, game_object_list)
File "C:\Users\[i]redacted[/i]\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\io_scs_tools\exp\pix.py", line 196, in export
export_success = _pit.export(*(in_args + trans_structs_args))
File "C:\Users\[i]redacted[/i]\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\io_scs_tools\exp\pit.py", line 386, in export
_looks.apply_active_look(root_object) # apply look manually, as active look setter method works only when user sets index from UI
File "C:\Users\[i]redacted[/i]\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\io_scs_tools\internals\looks\__init__.py", line 115, in apply_active_look
for prop in mat_data:
TypeError: iter() returned non-iterator of type 'IDPropertyGroupViewKeys'
================
- It seems it has something to do with look system, but i do not understand what exactly is an issue.
- It is not happening with models without looks.
- I have tried multiple models with looks, and they all are failing with the same error.
- I have tried downgrading scs_blender_tools to version 2.2 and issue persisted
- It seems to be also happening with blender tools version 2.1.6 (last known good version working for me before), so it must be a conflict with the new blender 3.0.0 version
- I have downgraded Blender to version 2.93.6 and the issue is no longer present!
Blender 3.0.0
scs_blender_tools: 2.2.1
ConvertPIXWrapper: 2.0
conversion-tools-2.12
Basically everything at latest available version.
The issue is caused by Blender 3.0.0. There must be some updates that break scs_blender_tools. The error does not happen with Blender 2.93.6 and scs_blender_tools 2.2.1.
Thanks.