Did DS 4.22 brake Diffeomorphic also ?
So I installed Diffeomorphic 1.7.2 as it would run on Blender 4 and I am trying DS 4.22 but it does not go very well, question is if I have messed up something or the 4.22 update broke Diffeomorphic:
File "C:\Program Files\Blender Foundation\Blender 4.0\4.0\scripts\modules\bpy\ops.py", line 109, in __call__
ret = _op_call(self.idname_py(), kw)
RuntimeError: Error: Python: KeyError: 'bpy_prop_collection.get(key, ...): key must be a string or tuple, not int'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\username\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\import_daz\error.py", line 223, in execute
self.run(context)
File "C:\Users\username\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\import_daz\main.py", line 287, in run
self.loadDazFile(filepath, context)
File "C:\Users\username\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\import_daz\main.py", line 180, in loadDazFile
asset.postbuild(context, inst)
File "C:\Users\username\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\import_daz\modifier.py", line 697, in postbuild
twist = deriveBone("%s.twist" % bname, eb, rig, 31, eb.parent)
File "C:\Users\username\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\import_daz\mhx.py", line 68, in deriveBone
return makeBone(bname, rig, eb0.head, eb0.tail, eb0.roll, layer, parent)
File "C:\Users\username\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\import_daz\mhx.py", line 79, in makeBone
enableBoneNumLayer(eb, rig, layer)
File "C:\Users\username\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\import_daz\utils.py", line 95, in enableBoneNumLayer
coll0 = rig.data.collections.get(layer)
SystemError: <built-in method get of bpy_prop_collection object at 0x0000026BF2261B00> returned a result with an exception set
Location: C:\Program Files\Blender Foundation\Blender 4.0\4.0\scripts\modules\bpy\ops.py:109
Comments
Personally I didn't get 4.22 yet, I may install it as beta to confirm the bug, but if anyone else can check it'll save me the hassle. Or you can open a bug report at bitbucket for Thomas to check.
https://bitbucket.org/Diffeomorphic/import_daz/issues
I've done a couple of cases these days with DS PB 4.22.0.7 and Blender 4.0.1, no big issue even any message, so far so good. But OP better name the key figure(s) / items in your scene, then we see if we may replicate same or similar tests.
DDI version 1.7.2.1934, btw...
I used a Genesis 2 based character when I got the error messages, I just now tried with a Genesis 8 character and that look like it worked fine so it's possible there is an issue with Gensis 2 or maybe with just my specific Gensis 2 character, I will try out a few different ones and see what the problem is.
Update: I exported a Victoria 6 out of the box, no cloth or hair and I get the same error messages so I think the problem is with Genesis 2
I tried with a G2 in the scene though I've not used it for at least 2 years. Yes, you're right. The error messages popped up. It seems a bone merge issue, but there's no problem with Blender 3.6, so it's not related to DS version.
Pls report the bug..
Nice job narrowing down the issue, should make it easier to smoosh the bug
It look like this has already been fixed in the Diffeomorphic repository with some other Blender 4 bugs.
Yes, this bug was fixed 6 hours ago with commit 71d6cba. in DDI version 1.7.3.1938
Pretty quick ! Thanks to Thomas !
Buncha coding beasts we got round these parts lol. Thanks for the fast fixes man.