Post by xxxtigger on Apr 16, 2022 8:44:58 GMT -5
HI, again,
Figured I would try once more for help.
I got this error message in S4s when trying to import my mesh, and this is not the first time...
Does anyone know what this means and how to fix it?
The Sims 4 Studio - Version 3.1.5.8
System.AggregateException: One or more errors occurred. ---> S4Studio.Blender.BlenderException:
File "<string>", line 1, in <module>
File "<string>", line 41, in <module>
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\io.py", line 626, in write
rcol.get_block_index(self, self.ROOT_REFERENCE_TYPE)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\io.py", line 525, in get_block_index
block.write_rcol(stream, self)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\cas\geometry.py", line 460, in write_rcol
s.u16(index)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\io.py", line 231, in u16
self.u(data, 16, order)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\io.py", line 210, in u
elif size == 16: self.write('H', data, order)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\io.py", line 183, in write
self.f.write(struct.pack(l, data))
struct.error: ushort format requires 0 <= number <= USHRT_MAX
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__DisplayClass71_0.<ExecuteImportMesh>b__0()
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 1, in <module>
File "<string>", line 41, in <module>
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\io.py", line 626, in write
rcol.get_block_index(self, self.ROOT_REFERENCE_TYPE)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\io.py", line 525, in get_block_index
block.write_rcol(stream, self)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\cas\geometry.py", line 460, in write_rcol
s.u16(index)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\io.py", line 231, in u16
self.u(data, 16, order)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\io.py", line 210, in u
elif size == 16: self.write('H', data, order)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\io.py", line 183, in write
self.f.write(struct.pack(l, data))
struct.error: ushort format requires 0 <= number <= USHRT_MAX
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__DisplayClass71_0.<ExecuteImportMesh>b__0()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()<---
Figured I would try once more for help.
I got this error message in S4s when trying to import my mesh, and this is not the first time...
Does anyone know what this means and how to fix it?
The Sims 4 Studio - Version 3.1.5.8
System.AggregateException: One or more errors occurred. ---> S4Studio.Blender.BlenderException:
File "<string>", line 1, in <module>
File "<string>", line 41, in <module>
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\io.py", line 626, in write
rcol.get_block_index(self, self.ROOT_REFERENCE_TYPE)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\io.py", line 525, in get_block_index
block.write_rcol(stream, self)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\cas\geometry.py", line 460, in write_rcol
s.u16(index)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\io.py", line 231, in u16
self.u(data, 16, order)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\io.py", line 210, in u
elif size == 16: self.write('H', data, order)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\io.py", line 183, in write
self.f.write(struct.pack(l, data))
struct.error: ushort format requires 0 <= number <= USHRT_MAX
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__DisplayClass71_0.<ExecuteImportMesh>b__0()
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 1, in <module>
File "<string>", line 41, in <module>
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\io.py", line 626, in write
rcol.get_block_index(self, self.ROOT_REFERENCE_TYPE)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\io.py", line 525, in get_block_index
block.write_rcol(stream, self)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\cas\geometry.py", line 460, in write_rcol
s.u16(index)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\io.py", line 231, in u16
self.u(data, 16, order)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\io.py", line 210, in u
elif size == 16: self.write('H', data, order)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\io.py", line 183, in write
self.f.write(struct.pack(l, data))
struct.error: ushort format requires 0 <= number <= USHRT_MAX
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__DisplayClass71_0.<ExecuteImportMesh>b__0()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()<---