Post by mon on Dec 6, 2023 10:40:52 GMT -5
I keep getting this error message just for one blend file
The Sims 4 Studio - Version 3.2.1.2
System.AggregateException: One or more errors occurred. (Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\ProgramData\S4Studio\Scripts\geomexporter.py", line 41, in <module>
save_geom(geom, o, body_type)
File "C:\Users\USER\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\s4studio\cas\blender.py", line 123, in save_geom
weight_list[blend_index_map] = min(int(vertex.groups.weight * 255), 255)
ValueError: cannot convert float NaN to integer
blenderkit addon: Verbose is enabled
blenderkit addon: Read in JSON settings from file
Auto Reload --- Checking for Addon New Version
Auto Reload --- Addon up to date
Auto Reload --- All files modification time updated
Auto Reload --- Checking for Addon New Version
Auto Reload --- Addon up to date
Auto Reload --- All files modification time updated
changing mode from OBJECT to OBJECT select=None
Mode is now None
changing mode from None to OBJECT select=<bpy_struct, Object("Spiral.001") at 0x000002554564D608>
Mode is now OBJECT
changing mode from OBJECT to EDIT select=<bpy_struct, Object("Spiral.001") at 0x000002554564D608>
Mode is now EDIT
changing mode from EDIT to OBJECT select=<bpy_struct, Object("Spiral.001") at 0x000002554564D608>
Mode is now OBJECT
ROTATING mode= OBJECT active=<bpy_struct, Object("Spiral.001") at 0x000002554564D608>
blenderkit INFO: Unregistering BlenderKit add-on [16:39:15.417, __init__.py:2041]
blenderkit INFO: Reported Blender quit to daemon [16:39:15.425, __init__.py:2061]
Blender quit
)
---> S4Studio.Blender.BlenderException: Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\ProgramData\S4Studio\Scripts\geomexporter.py", line 41, in <module>
save_geom(geom, o, body_type)
File "C:\Users\USER\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\s4studio\cas\blender.py", line 123, in save_geom
weight_list[blend_index_map] = min(int(vertex.groups.weight * 255), 255)
ValueError: cannot convert float NaN to integer
blenderkit addon: Verbose is enabled
blenderkit addon: Read in JSON settings from file
Auto Reload --- Checking for Addon New Version
Auto Reload --- Addon up to date
Auto Reload --- All files modification time updated
Auto Reload --- Checking for Addon New Version
Auto Reload --- Addon up to date
Auto Reload --- All files modification time updated
changing mode from OBJECT to OBJECT select=None
Mode is now None
changing mode from None to OBJECT select=<bpy_struct, Object("Spiral.001") at 0x000002554564D608>
Mode is now OBJECT
changing mode from OBJECT to EDIT select=<bpy_struct, Object("Spiral.001") at 0x000002554564D608>
Mode is now EDIT
changing mode from EDIT to OBJECT select=<bpy_struct, Object("Spiral.001") at 0x000002554564D608>
Mode is now OBJECT
ROTATING mode= OBJECT active=<bpy_struct, Object("Spiral.001") at 0x000002554564D608>
blenderkit INFO: Unregistering BlenderKit add-on [16:39:15.417, __init__.py:2041]
blenderkit INFO: Reported Blender quit to daemon [16:39:15.425, __init__.py:2061]
Blender quit
at S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version)
at S4Studio.Blender.BlenderUtilities.ImportGeom(String custom_blend, String custom_geom, Int32 body_type, String cut)
at S4Studio.ViewModels.CAS.CASLODItem.ImportMesh(BlenderUtilities blender_util, String blender_path)
at S4Studio.ViewModels.CAS.CASStandalone.<>c__DisplayClass76_0.<ExecuteImportMesh>b__0()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__272_0(Object obj)
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of inner exception stack trace ---
The Sims 4 Studio - Version 3.2.1.2
System.AggregateException: One or more errors occurred. (Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\ProgramData\S4Studio\Scripts\geomexporter.py", line 41, in <module>
save_geom(geom, o, body_type)
File "C:\Users\USER\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\s4studio\cas\blender.py", line 123, in save_geom
weight_list[blend_index_map] = min(int(vertex.groups.weight * 255), 255)
ValueError: cannot convert float NaN to integer
blenderkit addon: Verbose is enabled
blenderkit addon: Read in JSON settings from file
Auto Reload --- Checking for Addon New Version
Auto Reload --- Addon up to date
Auto Reload --- All files modification time updated
Auto Reload --- Checking for Addon New Version
Auto Reload --- Addon up to date
Auto Reload --- All files modification time updated
changing mode from OBJECT to OBJECT select=None
Mode is now None
changing mode from None to OBJECT select=<bpy_struct, Object("Spiral.001") at 0x000002554564D608>
Mode is now OBJECT
changing mode from OBJECT to EDIT select=<bpy_struct, Object("Spiral.001") at 0x000002554564D608>
Mode is now EDIT
changing mode from EDIT to OBJECT select=<bpy_struct, Object("Spiral.001") at 0x000002554564D608>
Mode is now OBJECT
ROTATING mode= OBJECT active=<bpy_struct, Object("Spiral.001") at 0x000002554564D608>
blenderkit INFO: Unregistering BlenderKit add-on [16:39:15.417, __init__.py:2041]
blenderkit INFO: Reported Blender quit to daemon [16:39:15.425, __init__.py:2061]
Blender quit
)
---> S4Studio.Blender.BlenderException: Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\ProgramData\S4Studio\Scripts\geomexporter.py", line 41, in <module>
save_geom(geom, o, body_type)
File "C:\Users\USER\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\s4studio\cas\blender.py", line 123, in save_geom
weight_list[blend_index_map] = min(int(vertex.groups.weight * 255), 255)
ValueError: cannot convert float NaN to integer
blenderkit addon: Verbose is enabled
blenderkit addon: Read in JSON settings from file
Auto Reload --- Checking for Addon New Version
Auto Reload --- Addon up to date
Auto Reload --- All files modification time updated
Auto Reload --- Checking for Addon New Version
Auto Reload --- Addon up to date
Auto Reload --- All files modification time updated
changing mode from OBJECT to OBJECT select=None
Mode is now None
changing mode from None to OBJECT select=<bpy_struct, Object("Spiral.001") at 0x000002554564D608>
Mode is now OBJECT
changing mode from OBJECT to EDIT select=<bpy_struct, Object("Spiral.001") at 0x000002554564D608>
Mode is now EDIT
changing mode from EDIT to OBJECT select=<bpy_struct, Object("Spiral.001") at 0x000002554564D608>
Mode is now OBJECT
ROTATING mode= OBJECT active=<bpy_struct, Object("Spiral.001") at 0x000002554564D608>
blenderkit INFO: Unregistering BlenderKit add-on [16:39:15.417, __init__.py:2041]
blenderkit INFO: Reported Blender quit to daemon [16:39:15.425, __init__.py:2061]
Blender quit
at S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version)
at S4Studio.Blender.BlenderUtilities.ImportGeom(String custom_blend, String custom_geom, Int32 body_type, String cut)
at S4Studio.ViewModels.CAS.CASLODItem.ImportMesh(BlenderUtilities blender_util, String blender_path)
at S4Studio.ViewModels.CAS.CASStandalone.<>c__DisplayClass76_0.<ExecuteImportMesh>b__0()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__272_0(Object obj)
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of inner exception stack trace ---