Post by digitalkathe on Aug 28, 2018 21:45:48 GMT -5
I've been trying to import a mesh into Sims 4 Studio for quite some time, and have tried to make absolutely sure that I'm using all the right stuff, but I'm just at a loss as to what this error means. I did everything that was suggested before posting....if I missed something, I'm really sorry! But I think I covered it all. But, anyway, I don't know how to fix it....this is the error I keep getting:
I'd be really grateful if someone could help me resolve this.
{Spoiler}
The Sims 4 Studio - Version 3.1.2.1
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()<—</executeimportmesh></module></string></module></string></executeimportmesh></module></string></module></string>
The Sims 4 Studio - Version 3.1.2.1
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()<—</executeimportmesh></module></string></module></string></executeimportmesh></module></string></module></string>
I'd be really grateful if someone could help me resolve this.