Error in Importing Body Morphs

Issue #921 resolved
akradiThr created an issue

Using blender 2.93 and having this error when importing body morphs

Error: Python: Traceback (most recent call last):
  File "C:\Users\Abdullah Noor\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import_daz-8e73da21a0e5\error.py", line 208, in execute
    self.run(context)
  File "C:\Users\Abdullah Noor\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import_daz-8e73da21a0e5\morphing.py", line 1112, in run
    StandardMorphLoader.run(self, context)
  File "C:\Users\Abdullah Noor\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import_daz-8e73da21a0e5\morphing.py", line 963, in run
    msg = self.getAllMorphs(namepaths, context, True)
  File "C:\Users\Abdullah Noor\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import_daz-8e73da21a0e5\morphing.py", line 858, in getAllMorphs
    self.loadAllMorphs(namepaths)
  File "C:\Users\Abdullah Noor\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import_daz-8e73da21a0e5\load_morph.py", line 95, in loadAllMorphs
    self.makeAllMorphs(namepaths, True)
  File "C:\Users\Abdullah Noor\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import_daz-8e73da21a0e5\load_morph.py", line 130, in makeAllMorphs
    char = self.makeSingleMorph(name, path, bodypart, force)
  File "C:\Users\Abdullah Noor\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import_daz-8e73da21a0e5\load_morph.py", line 157, in makeSingleMorph
    self.makeFormulas(asset, skey)
  File "C:\Users\Abdullah Noor\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import_daz-8e73da21a0e5\load_morph.py", line 305, in makeFormulas
    self.addNewProp(prop, asset, skey)
  File "C:\Users\Abdullah Noor\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import_daz-8e73da21a0e5\load_morph.py", line 442, in addNewProp
    setActivated(self.rig, raw, True)
  File "C:\Users\Abdullah Noor\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import_daz-8e73da21a0e5\morphing.py", line 1657, in setActivated
    setBoolProp(pg, "active", value, True)
  File "C:\Users\Abdullah Noor\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import_daz-8e73da21a0e5\driver.py", line 548, in setBoolProp
    setOverridable(rna, prop)
  File "C:\Users\Abdullah Noor\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\Diffeomorphic-import_daz-8e73da21a0e5\utils.py", line 165, in setOverridable
    rna.property_overridable_library_set(propRef(attr), True)
TypeError: DazActiveGroup.property_overridable_library_set("["active"]") not found

location: <unknown location>:-1

Comments (3)

  1. Luke Graybill

    I can verify this issue while using Blender 2.93.8 LTS with addon build 0907.

    Body morphs do load correctly in Blender versions 3.0.0 and higher (including 3.2 alpha), so probably this is due to an API change introduced in the 3.0.0 release. The RNA stuff did change a lot in that release.

  2. Thomas Larsson repo owner

    The error should be gone now. The fix is sort of hackish, since boolean custom properties are no longer overridable. But this probably doesn’t matter, since the important custom properties are floats. And it doesn’t affect recent Blender versions.

  3. Log in to comment