HD import fails
Error when importing G8F HD character:
ERROR:
JSON error while reading zipped file
"G:\DAZ 3D Scenes\G8F.dbz"
Expecting property name enclosed in double quotes: line 956145 column 5 (char 76688722)
For details see
'C:\Documents\daz_importer_errors.txt'
TRACEBACK:
File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\Diffeomorphic-import-daz-9ba4cff98646\error.py", line 187, in execute
self.run(context)
File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\Diffeomorphic-import-daz-9ba4cff98646\daz.py", line 48, in run
getMainAsset(self.filepath, context, self)
File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\Diffeomorphic-import-daz-9ba4cff98646\main.py", line 70, in getMainAsset
fitToFile(filepath, main.nodes)
File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\Diffeomorphic-import-daz-9ba4cff98646\objfile.py", line 217, in fitToFile
dbz = loadDbzFile(filepath)
File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\Diffeomorphic-import-daz-9ba4cff98646\objfile.py", line 124, in loadDbzFile
struct = loadJson(filepath)
File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\Diffeomorphic-import-daz-9ba4cff98646\load_json.py", line 70, in loadJson
reportError(msg, trigger=trigger)
File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\Diffeomorphic-import-daz-9ba4cff98646\error.py", line 92, in reportError
raise DazError(msg)
File contains G8F custom character plus some clothes.
Strangely G3F Lilith test file imports correctly with dbz (resaved dbz file using latest version - works fine)
Regards
Comments (9)
-
repo owner -
reporter This happens with latest version.
Importing without dbz works fine.
Model is Apryl but I did changed materials etc. but still this shouldn’t cause issue ?
-
reporter Retested using latest version 404a874, error, from
daz_importer_errors.txt
:ERROR: JSON error while reading zipped file "G:\Scenes\G8F.dbz" Expecting property name enclosed in double quotes: line 1184894 column 5 (char 95090897) For details see 'c:\Dokuments\daz_importer_errors.txt' TRACEBACK: File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\Diffeomorphic-import-daz-404a874fb883\error.py", line 233, in execute self.run(context) File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\Diffeomorphic-import-daz-404a874fb883\daz.py", line 47, in run getMainAsset(self.filepath, context, self) File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\Diffeomorphic-import-daz-404a874fb883\main.py", line 70, in getMainAsset fitToFile(filepath, main.nodes) File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\Diffeomorphic-import-daz-404a874fb883\objfile.py", line 231, in fitToFile dbz = loadDbzFile(filepath) File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\Diffeomorphic-import-daz-404a874fb883\objfile.py", line 133, in loadDbzFile struct = loadJson(filepath) File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\Diffeomorphic-import-daz-404a874fb883\load_json.py", line 70, in loadJson reportError(msg, trigger=trigger) File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\Diffeomorphic-import-daz-404a874fb883\error.py", line 115, in reportError raise DazError(msg)
Import without dbz works fine.
-
repo owner I was using a different version of the HD export script myself for another project, so I didn’t notice any errors in the committed version. It has now been replaced by the working version.
-
reporter Unfortunately it seams like it doesn’t work, error is still there:
TRACEBACK: File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\Diffeomorphic-import-daz-52d1ce51e4a9\error.py", line 233, in execute self.run(context) File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\Diffeomorphic-import-daz-52d1ce51e4a9\daz.py", line 47, in run getMainAsset(self.filepath, context, self) File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\Diffeomorphic-import-daz-52d1ce51e4a9\main.py", line 70, in getMainAsset fitToFile(filepath, main.nodes) File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\Diffeomorphic-import-daz-52d1ce51e4a9\objfile.py", line 231, in fitToFile dbz = loadDbzFile(filepath) File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\Diffeomorphic-import-daz-52d1ce51e4a9\objfile.py", line 133, in loadDbzFile struct = loadJson(filepath) File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\Diffeomorphic-import-daz-52d1ce51e4a9\load_json.py", line 70, in loadJson reportError(msg, trigger=trigger) File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\Diffeomorphic-import-daz-52d1ce51e4a9\error.py", line 115, in reportError raise DazError(msg)
PS. What I did:
- update plugin in Blender
- make sure that Daz plugins are up to date
- delete old json / dbz
- export json dbz using latest versions
- import in Blender using latest
-
repo owner Could you upload the dbz file so I can have a look.
-
reporter Sure, link: https://gofile.io/d/9wOjiw
-
repo owner I forgot about this issue, but today I had the same problem. It arose when you have a geograft with a geometry shell. Fixed now.
-
reporter - changed status to resolved
Imports works fine now.
Had to re-export json data or it would fail to load HD.
- Log in to comment
I cannot reproduce this error. However, I have messed with the HD export script and may have introduced some bugs, but they don’t seem to be there now. Reexport the dbz file from DS with the latest HD exporter, and hopefully things should work out.