Addon no longer loads

Issue #1233 invalid
KD created an issue

Commit bd9a824 caused the add-on to no longer load:

Loading DAZ
Traceback (most recent call last):
File "C:\prog\blender_builds\stable\blender-3.3.1+lts.b292cfe5a936\3.3\scripts\modules\addon_utils.py", line 333, in enable
mod = import(module_name)
File "C:\Users\*****\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\import_daz_init_.py", line 77, in <module>
importModules()
File "C:\Users\*****\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\import_daz_init_.py", line 73, in importModules
mod = importlib.import_module("." + modname, anchor)
File "C:\prog\blender_builds\stable\blender-3.3.1+lts.b292cfe5a936\3.3\python\lib\importlib_init_.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "C:\Users\*****\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\import_daz\morphing.py", line 738, in <module>
MP = MorphPaths()
File "C:\Users\*****\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\import_daz\morphing.py", line 619, in init
self.ShortForms["units"] = self.ShortForms["ctrlunits"] + self.ShortForms["ectrlunits"] + ShortForms["phmunits"]
NameError: name 'ShortForms' is not defined

Marked as minor because commit a82176d restored functionality but introduced new bug (separate issue 1234).

Comments (4)

  1. Thomas Larsson repo owner

    Hm. That was an internal commit which wasn’t pushed to the external master until the bug was fixed in later commits.

  2. KD reporter

    Okay. I was testing intermediate commits to try to understand where at which stage issue #1234 crept in.

    BTW, thank you for all the hard work on the whole toolkit.

  3. Log in to comment