Post by KurayamiXIII on Sept 27, 2018 14:49:12 GMT -5
Hello everyone,
I am having this issue where I am trying to import a mesh from blender to s4s (the mesh was originally from mmd if it is of any importance) where it pops an error every time I try to import it. I have followed the tutorials here and no luck...
I even tried starting again and it doesn't work.
Any help is appreciated!
attempt 1
attempt 2
error when importing:
The Sims 4 Studio - Version 3.1.2.1
System.AggregateException: One or more errors occurred. ---> S4Studio.Blender.BlenderException:
File "<string>", line 2, in <module>
File "C:\ProgramData\S4Studio\Scripts\geomexporter.py", line 39, in <module>
save_geom(geom, o, body_type)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\cas\blender.py", line 42, in save_geom
hash = FNV32.hash(vertex_group.name)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\helpers.py", line 24, in hash
byteArray = str(string).lower().encode(encoding='ascii')
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-3: ordinal not in range(128)
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)
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 2, in <module>
File "C:\ProgramData\S4Studio\Scripts\geomexporter.py", line 39, in <module>
save_geom(geom, o, body_type)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\cas\blender.py", line 42, in save_geom
hash = FNV32.hash(vertex_group.name)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\helpers.py", line 24, in hash
byteArray = str(string).lower().encode(encoding='ascii')
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-3: ordinal not in range(128)
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)
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()<---
I am having this issue where I am trying to import a mesh from blender to s4s (the mesh was originally from mmd if it is of any importance) where it pops an error every time I try to import it. I have followed the tutorials here and no luck...
I even tried starting again and it doesn't work.
Any help is appreciated!
attempt 1
attempt 2
error when importing:
The Sims 4 Studio - Version 3.1.2.1
System.AggregateException: One or more errors occurred. ---> S4Studio.Blender.BlenderException:
File "<string>", line 2, in <module>
File "C:\ProgramData\S4Studio\Scripts\geomexporter.py", line 39, in <module>
save_geom(geom, o, body_type)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\cas\blender.py", line 42, in save_geom
hash = FNV32.hash(vertex_group.name)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\helpers.py", line 24, in hash
byteArray = str(string).lower().encode(encoding='ascii')
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-3: ordinal not in range(128)
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)
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 2, in <module>
File "C:\ProgramData\S4Studio\Scripts\geomexporter.py", line 39, in <module>
save_geom(geom, o, body_type)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\cas\blender.py", line 42, in save_geom
hash = FNV32.hash(vertex_group.name)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\helpers.py", line 24, in hash
byteArray = str(string).lower().encode(encoding='ascii')
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-3: ordinal not in range(128)
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)
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()<---