Python: Traceback (most recent call last): error when importing with diffeomorphic
anthony.arcana
Posts: 3
[Python: Traceback (most recent call last): error when importing with diffeomorphic] hello, can someone knows whats going on here? i have followed all the steps im kind of a noob...
thanks
Edited for Please put your question in the post body and the title - Daz 3D Forums
Screenshot (59).png
1920 x 1080 - 680K
Post edited by Richard Haseltine on
Comments
Moved to Blender Discussion.
this is fixed with the last commit
The same bug here when importing Genesis 8 with Golden Palace. ( Diffeomorphic version1.6.2.1068 and Blender 3.2.1 stable version )
Swiched to Blender 3.1.0 and it works well without this bug.
Blender Info Log:
Python: Traceback (most recent call last):
File "C:\Users\User Name\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\Diffeomorphic-import_daz-a664319ebcfe\error.py", line 207, in execute
self.run(context)
File "C:\Users\User Name\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\Diffeomorphic-import_daz-a664319ebcfe\main.py", line 731, in run
self.easyImport(context)
File "C:\Users\User Name\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\Diffeomorphic-import_daz-a664319ebcfe\main.py", line 765, in easyImport
self.treatRig(context, rigname)
File "C:\Users\User Name\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\Diffeomorphic-import_daz-a664319ebcfe\main.py", line 837, in treatRig
bpy.ops.daz.merge_rigs(
File "D:\Blender 3.2.1\3.2\scripts\modules\bpy\ops.py", line 115, in __call__
ret = _op_call(self.idname_py(), None, kw)
RuntimeError: Error: Python: Traceback (most recent call last):
File "C:\Users\User Name\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\Diffeomorphic-import_daz-a664319ebcfe\error.py", line 207, in execute
self.run(context)
File "C:\Users\User Name\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\Diffeomorphic-import_daz-a664319ebcfe\merge.py", line 1007, in run
self.mergeRigs(context, info, subinfos, repars)
File "C:\Users\User Name\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\Diffeomorphic-import_daz-a664319ebcfe\merge.py", line 1113, in mergeRigs
self.mergeRigs1(context, info, subinfos, repars)
File "C:\Users\User Name\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\Diffeomorphic-import_daz-a664319ebcfe\merge.py", line 1151, in mergeRigs1
subinfo.copyPose(context, rig)
File "C:\Users\User Name\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\Diffeomorphic-import_daz-a664319ebcfe\merge.py", line 909, in copyPose
pb = rig.pose.bones[bname]
KeyError: 'bpy_prop_collection[key]: key "Golden Palace Gens:lLabiumMajora1" not found'
Location: D:\Blender 3.2.1\3.2\scripts\modules\bpy\ops.py:115
With Blender 3.1.0 the Diffeomorphic v1.6.2 worked once but the sencond time it failed with the same error:
Blender Info Log:
Python: Traceback (most recent call last):
...
KeyError: 'bpy_prop_collection[key]: key "Golden Palace Gens:lLabiumMajora1" not found'
Switched to Blender 2.93.9 LTS and tested a few times it finally works with Diffeomorphic v1.6.1 (Diffeomorphic v1.6.1 python script was written in Blender 2.93 python version)
In order to merge geograft and the materials you have to use Diffeomorphic v1.6.1 with Blender 2.93.9 LTS.
That might help someone that tries to fix such problem.
@acatmaster
Works fine here, tried both manual import and easy import with merge geografts. No errors. Test scene included golden.duf it's G8F with golden palace.
blender 3.2.1, diffeomorphic 1.6.2.1068
My Blender 3.21 was the Steam version, will test again using the standalone Blender version.
Update: Test passed with Blender 3.21 standalone version (The Steam version of Blender 3.21 does not work again) and Diffeomorphic 1.6.2.1090 (https://bitbucket.org/Diffeomorphic/import_daz/downloads/)
Test Diffeomorphic 1.6.2.1090 Import DAZ: Success
Test Diffeomorphic 1.6.2.1090 Easy Import DAZ, checked the option Use Favorite Morphs including 100+ genital morphs: Success
Use HD Morphs Plugin (https://gitlab.com/x190/daz-hd-morphs/-/branches) with Diffeomorphic to generate HD mesh: Index Error: list index out of range
Switched to Diffeomorphic 1.6.2.1090 with Blender 3.21, from Diffeomorphic 1.6.1 with Blender 2.93LTS, as the new Diffeomorphic update solves the Blender no responding issue when importing hundreds of morphs, and the new Diffeomorphic version correctly imports the Genesis8.1 materials.