Crash import standard morph on last commit

Issue #2178 resolved
bouich jules created an issue

Hi!

There is a crash when we import standard morph to a G9 in the last commit:

this is what i check before the crash

Thank you,

Comments (7)

  1. Alessandro Padovani

    4.2.1.2282, blender 4.2.1

    I can confirm the issue. This happens both with and without “spline drivers“ in global settings.

    steps:

    1. import G9 with FACS

  2. Alessandro Padovani

    I also get some errors at startup, with manual install where I unzip and copy the folders manually in the blender addons folder. I understand we can now use extensions but I’d rather not. Please let me know if we are forced to extensions or can still use manual install.

    update. This is limited to blender 4.2, blender 3.6 works fine.

    Loading DAZ Importer v 4.2.1
    DAZ loaded
    Register DAZ Importer
    Load settings from C:/Users/Alessandro/Documents/DAZ Importer/import_daz_settings.json
    Loading MHX RTS v 4.2.1
    MHX RTS loaded
    Loading DAZ Preset Exporter v 4.2.1
    Traceback (most recent call last):
      File "C:\Program Files\blender-4.2.1-windows-x64\4.2\scripts\modules\addon_utils.py", line 407, in enable
        mod = importlib.import_module(module_name)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Program Files\blender-4.2.1-windows-x64\4.2\python\Lib\importlib\init.py", line 126, in import_module
        return _bootstrap._gcd_import(name[level:], package, level)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
      File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
      File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
      File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
      File "<frozen importlib._bootstrap_external>", line 940, in exec_module
      File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
      File "C:\Users\Alessandro\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\export_daz\init.py", line 39, in <module>
        from . import preset
      File "C:\Users\Alessandro\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\export_daz\preset.py", line 26, in <module>
        from ..import_daz.error import *
    ImportError: attempted relative import beyond top-level package
    Loading BVH Retargeter
    BVH Retargeter loaded
    Did not find settings file: "C:\Users\Alessandro/Documents/DAZ Importer/retarget_bvh_settings.json"
    

  3. Thomas Larsson repo owner

    Bouich’s bug has been fixed. However, there is another bug that happens when we add new morphs to already driven bones.

  4. Thomas Larsson repo owner

    The dependent addons (export_daz, shell_edit, rig_daz) should now work both as extensions and legacy addons, provided that you put the files in the right location. If you install from a zip file, either the dev version or the upcoming release, the plugin will always be an extension, because there is a blender_manifest.toml file in the zip.

  5. Log in to comment