Crash on transferring morphs to face (Eyelashes) - G9

Issue #2167 invalid
GeneralProtectionFault created an issue

UPDATE BELOW ***

DAZ Studio: 4.22

Diffeo: 4.2.0.2264

Reproduce:

  • Easy Import a G9 figure (the G9 base reproduced it for me)
  • Import Standard morphs - just check the 3 FACS options

Crash output (at the end of importing the morphs):

Make All Bones Posable completed in 0.1 seconds
Transfer morphs Genesis 9 Mesh => Genesis 9 Eyelashes
Traceback (most recent call last):
File "/home/user/.config/blender/4.2/scripts/addons/import_daz/error.py", line 225, in execute
self.run(context)
File "/home/user/.config/blender/4.2/scripts/addons/import_daz/transfer.py", line 338, in run
failed = self.transferAllMorphs(context, src, targets)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/.config/blender/4.2/scripts/addons/import_daz/transfer.py", line 370, in transferAllMorphs
if not self.transferMorphs(snames, src, trg, srcboxes, context):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/.config/blender/4.2/scripts/addons/import_daz/transfer.py", line 386, in transferMorphs
if not self.findMatch(src, trg):
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/.config/blender/4.2/scripts/addons/import_daz/transfer.py", line 666, in findMatch
self.findMatchNearest(self.trihuman, trg)
File "/home/user/.config/blender/4.2/scripts/addons/import_daz/transfer.py", line 138, in findMatchNearest
w = np.linalg.solve(A, B)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/numpy/linalg/_linalg.py", line 410, in solve
r = gufunc(a, b, signature=signature)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: solve: Input operand 1 has a mismatch in its core dimension 0, with gufunc signature (m,m),(m,n)->(m,n) (size 2028 is different from 3)
Error: Python: Traceback (most recent call last):
File "/home/user/.config/blender/4.2/scripts/addons/import_daz/error.py", line 225, in execute
self.run(context)
File "/home/user/.config/blender/4.2/scripts/addons/import_daz/transfer.py", line 338, in run
failed = self.transferAllMorphs(context, src, targets)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/.config/blender/4.2/scripts/addons/import_daz/transfer.py", line 370, in transferAllMorphs
if not self.transferMorphs(snames, src, trg, srcboxes, context):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/.config/blender/4.2/scripts/addons/import_daz/transfer.py", line 386, in transferMorphs
if not self.findMatch(src, trg):
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/.config/blender/4.2/scripts/addons/import_daz/transfer.py", line 666, in findMatch
self.findMatchNearest(self.trihuman, trg)
File "/home/user/.config/blender/4.2/scripts/addons/importTraceback (most recent call last):
File "/home/user/.config/blender/4.2/scripts/addons/import_daz/error.py", line 225, in execute
self.run(context)
File "/home/user/.config/blender/4.2/scripts/addons/import_daz/morphing.py", line 1388, in run
self.transferToFaceMeshes(context)
File "/home/user/.config/blender/4.2/scripts/addons/import_daz/morphing.py", line 728, in transferToFaceMeshes
transferShapesToMeshes(context, ob, meshes, self.faceshapes.keys())
File "/home/user/.config/blender/4.2/scripts/addons/import_daz/morphing.py", line 745, in transferShapesToMeshes
bpy.ops.daz.transfer_shapekeys(
File "/usr/share/blender/4.2/scripts/modules/bpy/ops.py", line 109, in __call__
ret = _op_call(self.idname_py(), kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Error: Python: Traceback (most recent call last):
File "/home/user/.config/blender/4.2/scripts/addons/import_daz/error.py", line 225, in execute
self.run(context)
File "/home/user/.config/blender/4.2/scripts/addons/import_daz/transfer.py", line 338, in run
failed = self.transferAllMorphs(context, src, targets)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/.config/blender/4.2/scripts/addons/import_daz/transfer.py", line 370, in transferAllMorphs
if not self.transferMorphs(snames, src, trg, srcboxes, context):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/.config/blender/4.2/scripts/addons/import_daz/transfer.py", line 386, in transferMorphs
if not self.findMatch(src, trg):
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/.config/blender/4.2/scripts/addons/import_daz/transfer.py", line 666, in findMatch
self.findMatchNearest(self.trihuman, trg)
File "/home/user/.config/blender/4.2/scripts/addons/import_daz/transfer.py", line 138, in findMatchNearest
w = np.linalg.solve(A, B)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/numpy/linalg/_linalg.py", line 410, in solve
r = gufunc(a, b, signature=signature)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: solve: Input operand 1 has a mismatch in its core dimension 0, with gufunc signature (m,m),(m,n)->(m,n) (size 2028 is different from 3)
Location: /usr/share/blender/4.2/scripts/modules/bpy/ops.py:109

Error: Python: Traceback (most recent call last):
File "/home/user/.config/blender/4.2/scripts/addons/import_daz/error.py", line 225, in execute
self.run(context)
File "/home/user/.config/blender/4.2/scripts/addons/import_daz/morphing.py", line 1388, in run
self.transferToFaceMeshes(context)
File "/home/user/.config/blender/4.2/scripts/addons/import_daz/morphing.py", line 728, in transferToFaceMeshes
transferShapesToMeshes(context, ob, meshes, self.faceshapes.keys())
File "/home/user/.config/blender/4.2/scripts/addons/import_daz/morphing.py", line 745, in transferShapesToMeshes
bpy.ops.daz.transfer_shapekeys(
File "/usr/share/blender/4.2/scripts/modules/bpy/ops.py", line 109, in __call__
ret = _op_call(self.idname_py(), kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Error: Python: Traceback (most recent call last):
File "/home/user/.config/blender/4.2/scripts/addons/import_daz/error.py", line 225, in execute
self.run(context)
File "/home/user/.config/blender/4.2/scripts/addons/import_daz/transfer.py", line 338, in run
failed = self.transferAllMorphs(context, src, targets)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/.config/blender/4.2/scripts/addons/import_daz/transfer.py", line 370, in transferAllMorphs
if not self.transferMorphs(snames, src, trg, srcboxes, context):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/.config/blender/4.2/scripts/addons/import_daz/transfer.py", line 386, in transferMorphs
if not self.findMatch(src, trg):
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/.config/blender/4.2/scripts/addons/import_daz/transfer.py", line 666, in findMatch
self.findMatchNearest(self.trihuman, trg)
File "/home/user/.config/blender/4.2/scripts/addons/import_daz/transfer.py", line 138, in findMatchNearest
w = np.linalg.solve(A, B)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/numpy/linalg/_linalg.py", line 410, in solve
r = gufunc(a, b, signature=signature)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: solve: Input operand 1 has a mismatch in its core dimension 0, with gufunc signature (m,m),(m,n)->(m,n) (size 2028 is different from 3)
Location: /usr/share/blender/4.2/scripts/modules/bpy/ops.py:109

Comments (4)

  1. GeneralProtectionFault reporter

    I’m sorry, I think this can be disregarded/closed. Looking closer at that, it was using Python 3.12, and that because Blender was using my system Python (complained of an externally managed environment at startup).

    I think this is the result of a goofball package maintainer--not using Blender’s Python interpreter that comes with it.

    I downloaded the standalone and this issue cleared up.

  2. Alessandro Padovani

    4.2.0.2264, blender 4.2.0

    I can’t reproduce the issue here, everything works fine. Be sure to clean install and update both the blender and daz scripts, then re-export.

    my steps:

    1. export G9 as HD
    2. import with “facs“ + “facs details“ + “facs expressions“ and “transfer to face”

  3. Log in to comment