Error when attempting to import morphs for character

Issue #1868 resolved
R. Haydricht created an issue

Met with this error when I attempt to import custom facial expression morphs to my character in Blender 4.0.1 via Diffeo 1.7.2.1935 Python: Traceback (most recent call last):
File "C:\Users\haydr\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\import_daz\error.py", line 223, in execute
self.run(context)
File "C:\Users\haydr\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\import_daz\morphing.py", line 1516, in run
namepaths = self.loadToMesh(self.meshes[0], self.chars[0], None)
File "C:\Users\haydr\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\import_daz\morphing.py", line 597, in loadToMesh
self.loadAllMorphs(namepaths)
File "C:\Users\haydr\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\import_daz\load_morph.py", line 153, in loadAllMorphs
self.buildRestDrivers()
File "C:\Users\haydr\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\import_daz\load_morph.py", line 1373, in buildRestDrivers
fcu = self.addSumDriver(rest, drivers, {})
File "C:\Users\haydr\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\import_daz\load_morph.py", line 1571, in addSumDriver
self.amt[drvprop] = 0.0
KeyError: 'the length of IDProperty names is limited to 63 characters'

Comments (3)

  1. Thomas Larsson repo owner

    Apparently you are trying to load a morph with a very long name, which exceeds Blender’s 63-character limit. In the last commit property names are truncated. Hopefully that will fix the issue. However, I don’t have any such morphs readily available and cannot confirm that anything has changed.

  2. Log in to comment