Post by lolaquinn143 on Oct 11, 2020 13:37:11 GMT -5
Hey Guys!
I've been trying to figure out why I'm getting this error when creating customer deco items using blender and S4 Studio. After creating my blender file and using the rabbit in the S4 Studio, replacing the mesh with my new blender file, it gives me the below error message. I've tried uninstalling S4 Studio and Blender making sure I have the correct version thats currently listed when downloading S4 Studio. Any help would be much appriciated.
The Sims 4 Studio - Version 3.1.3.7
System.AggregateException: One or more errors occurred. ---> S4Studio.Blender.BlenderException:
File "<string>", line 2, in <module>
File "C:\ProgramData\S4Studio\Scripts\objectexporter.py", line 14, in <module>
save_lod(mlod,geometry_state)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\buybuild\blender.py", line 393, in save_lod
save_mesh(blender_mesh, m, new_mesh, geometry_state)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\buybuild\blender.py", line 279, in save_mesh
pos_scales = calculate_pos_scales(total_mesh_bounds, max_pos_size)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\buybuild\geometry.py", line 38, in calculate_pos_scales
extremes = [math.ceil(max([abs(x) for x in extremes]))] * 3
OverflowError: cannot convert float infinity to integer
AL lib: (EE) UpdateDeviceParams: Failed to set 44100hz, got 48000hz instead
at S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version) in Z:\thes4studio\TheS4Studio\S4Studio.Shared\BlenderUtilities.cs:line 248
at S4Studio.Blender.BlenderUtilities.ImportMlod(String fileName, String mlod, String rig, String state) in Z:\thes4studio\TheS4Studio\S4Studio.Shared\BlenderUtilities.cs:line 483
at S4Studio.ViewModels.ObjectLodItem.ImportMesh(BlenderUtilities blender_util, String blender_path) in Z:\thes4studio\TheS4Studio\S4Studio.Shared\ViewModels\BuildBuy\Objects\ObjectLodItem.cs:line 641
at S4Studio.ViewModels.ObjectLodItem.<>c__DisplayClass49_0.<ImportMesh>b__0() in Z:\thes4studio\TheS4Studio\S4Studio.Shared\ViewModels\BuildBuy\Objects\ObjectLodItem.cs:line 622
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
---> (Inner Exception #0) S4Studio.Blender.BlenderException:
File "<string>", line 2, in <module>
File "C:\ProgramData\S4Studio\Scripts\objectexporter.py", line 14, in <module>
save_lod(mlod,geometry_state)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\buybuild\blender.py", line 393, in save_lod
save_mesh(blender_mesh, m, new_mesh, geometry_state)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\buybuild\blender.py", line 279, in save_mesh
pos_scales = calculate_pos_scales(total_mesh_bounds, max_pos_size)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\buybuild\geometry.py", line 38, in calculate_pos_scales
extremes = [math.ceil(max([abs(x) for x in extremes]))] * 3
OverflowError: cannot convert float infinity to integer
AL lib: (EE) UpdateDeviceParams: Failed to set 44100hz, got 48000hz instead
at S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version) in Z:\thes4studio\TheS4Studio\S4Studio.Shared\BlenderUtilities.cs:line 248
at S4Studio.Blender.BlenderUtilities.ImportMlod(String fileName, String mlod, String rig, String state) in Z:\thes4studio\TheS4Studio\S4Studio.Shared\BlenderUtilities.cs:line 483
at S4Studio.ViewModels.ObjectLodItem.ImportMesh(BlenderUtilities blender_util, String blender_path) in Z:\thes4studio\TheS4Studio\S4Studio.Shared\ViewModels\BuildBuy\Objects\ObjectLodItem.cs:line 641
at S4Studio.ViewModels.ObjectLodItem.<>c__DisplayClass49_0.<ImportMesh>b__0() in Z:\thes4studio\TheS4Studio\S4Studio.Shared\ViewModels\BuildBuy\Objects\ObjectLodItem.cs:line 622
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()<---
I've been trying to figure out why I'm getting this error when creating customer deco items using blender and S4 Studio. After creating my blender file and using the rabbit in the S4 Studio, replacing the mesh with my new blender file, it gives me the below error message. I've tried uninstalling S4 Studio and Blender making sure I have the correct version thats currently listed when downloading S4 Studio. Any help would be much appriciated.
The Sims 4 Studio - Version 3.1.3.7
System.AggregateException: One or more errors occurred. ---> S4Studio.Blender.BlenderException:
File "<string>", line 2, in <module>
File "C:\ProgramData\S4Studio\Scripts\objectexporter.py", line 14, in <module>
save_lod(mlod,geometry_state)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\buybuild\blender.py", line 393, in save_lod
save_mesh(blender_mesh, m, new_mesh, geometry_state)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\buybuild\blender.py", line 279, in save_mesh
pos_scales = calculate_pos_scales(total_mesh_bounds, max_pos_size)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\buybuild\geometry.py", line 38, in calculate_pos_scales
extremes = [math.ceil(max([abs(x) for x in extremes]))] * 3
OverflowError: cannot convert float infinity to integer
AL lib: (EE) UpdateDeviceParams: Failed to set 44100hz, got 48000hz instead
at S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version) in Z:\thes4studio\TheS4Studio\S4Studio.Shared\BlenderUtilities.cs:line 248
at S4Studio.Blender.BlenderUtilities.ImportMlod(String fileName, String mlod, String rig, String state) in Z:\thes4studio\TheS4Studio\S4Studio.Shared\BlenderUtilities.cs:line 483
at S4Studio.ViewModels.ObjectLodItem.ImportMesh(BlenderUtilities blender_util, String blender_path) in Z:\thes4studio\TheS4Studio\S4Studio.Shared\ViewModels\BuildBuy\Objects\ObjectLodItem.cs:line 641
at S4Studio.ViewModels.ObjectLodItem.<>c__DisplayClass49_0.<ImportMesh>b__0() in Z:\thes4studio\TheS4Studio\S4Studio.Shared\ViewModels\BuildBuy\Objects\ObjectLodItem.cs:line 622
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
---> (Inner Exception #0) S4Studio.Blender.BlenderException:
File "<string>", line 2, in <module>
File "C:\ProgramData\S4Studio\Scripts\objectexporter.py", line 14, in <module>
save_lod(mlod,geometry_state)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\buybuild\blender.py", line 393, in save_lod
save_mesh(blender_mesh, m, new_mesh, geometry_state)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\buybuild\blender.py", line 279, in save_mesh
pos_scales = calculate_pos_scales(total_mesh_bounds, max_pos_size)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\buybuild\geometry.py", line 38, in calculate_pos_scales
extremes = [math.ceil(max([abs(x) for x in extremes]))] * 3
OverflowError: cannot convert float infinity to integer
AL lib: (EE) UpdateDeviceParams: Failed to set 44100hz, got 48000hz instead
at S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version) in Z:\thes4studio\TheS4Studio\S4Studio.Shared\BlenderUtilities.cs:line 248
at S4Studio.Blender.BlenderUtilities.ImportMlod(String fileName, String mlod, String rig, String state) in Z:\thes4studio\TheS4Studio\S4Studio.Shared\BlenderUtilities.cs:line 483
at S4Studio.ViewModels.ObjectLodItem.ImportMesh(BlenderUtilities blender_util, String blender_path) in Z:\thes4studio\TheS4Studio\S4Studio.Shared\ViewModels\BuildBuy\Objects\ObjectLodItem.cs:line 641
at S4Studio.ViewModels.ObjectLodItem.<>c__DisplayClass49_0.<ImportMesh>b__0() in Z:\thes4studio\TheS4Studio\S4Studio.Shared\ViewModels\BuildBuy\Objects\ObjectLodItem.cs:line 622
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()<---