Diffeo import error
DrGonzo62
Posts: 249
Hi,
I tried to import the "Sweet Street" asset yesterday, and the import failed.
Luckily, I was able to isolate the problem to a single prop within this asset.
Is there a more detailed log file that would give me a clue as to which part of an asset is causing an error on import?
Thanks!
Python: Traceback (most recent call last): File "C:\Users\micro\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\user_default\import_daz\error.py", line 211, in execute self.run(context) File "C:\Users\micro\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\user_default\import_daz\main.py", line 704, in run self.easyImport(context) File "C:\Users\micro\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\user_default\import_daz\main.py", line 721, in easyImport bpy.ops.daz.import_daz_manually( File "C:\Program Files\Blender Foundation\Blender 4.2\4.2\scripts\modules\bpy\ops.py", line 109, in __call__ ret = _op_call(self.idname_py(), kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^RuntimeError: Error: Python: Traceback (most recent call last): File "C:\Users\micro\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\user_default\import_daz\error.py", line 211, in execute self.run(context) File "C:\Users\micro\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\user_default\import_daz\main.py", line 237, in run self.loadDazFile(filepath, context) File "C:\Users\micro\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\user_default\import_daz\main.py", line 133, in loadDazFile fitToFile(filepath, main.nodes) File "C:\Users\micro\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\user_default\import_daz\dbzfile.py", line 354, in fitToFile dbz = loadDbzFile(filepath) ^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\micro\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\user_default\import_daz\dbzfile.py", line 174, in loadDbzFile struct = loadJson(filepath) ^^^^^^^^^^^^^^^^^^ File "C:\Users\micro\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\user_default\import_daz\load_json.py", line 112, in loadJson string = bytes.decode("utf-8-sig") ^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\Blender Foundation\Blender 4.2\4.2\python\Lib\encodings\utf_8_sig.py", line 23, in decode (output, consumed) = codecs.utf_8_decode(input, errors, True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8e in position 631: invalid start byteLocation: C:\Program Files\Blender Foundation\Blender 4.2\4.2\scripts\modules\bpy\ops.py:109
Comments
You can look at the blender console, if there's any asset with troubles it is reported there. Personally I don't get the unicode error, but this may also depend on your regional settings on windows, mine is english. There are some issues importing the expresso machine though, as missing materials and duplicated definitions, now reported to Thomas.
https://bitbucket.org/Diffeomorphic/import_daz/issues/2288/
update. This is fixed in the last commit.
https://bitbucket.org/Diffeomorphic/import_daz/downloads/
Hi Padone,
I've installed Diffeomorphic-import_daz-180fb1071a0a and I'm still getting this error on import.
Looks like it was posted 2 days ago, so I'm not sure that I've got the latest commit.
I've tried importing this asset with "Unmorphed Transformed" mesh fitting instead of dbz, and I don't get this import error.
Haven't tried that before updating Diffeo (new to Blender), so maybe the 180fb1071a0a commit fixed that import error.
Thanks for the console info, that sure will help in the future.
dbz is for figures, scenes are imported with unmorphed