Load moho dont work ?

Issue #44 resolved
Noname created an issue

Hello,

It could be that I do something wrong, but it appears that option Load Moho doesn’t work.

I use papagayo 2.0b1.

Imported character has visemes.

Error:

Traceback (most recent call last):
  File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\Diffeomorphic-import-daz-af82c6c2aa84\error.py", line 187, in execute
    self.run(context)
  File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\Diffeomorphic-import-daz-af82c6c2aa84\morphing.py", line 1615, in run
    loadMoho(context, self.filepath, 1.0)
  File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\Diffeomorphic-import-daz-af82c6c2aa84\morphing.py", line 1599, in loadMoho
    pinProp(rig, scn, key, "Visemes", prefix, None, frame)
TypeError: pinProp() takes 6 positional arguments but 7 were given

location: <unknown location>:-1

Best regards

Comments (4)

  1. Thomas Larsson repo owner

    It was a long time since I checked the Moho code and apparently it had developed some rot. Should work now.

  2. Noname reporter
    • changed status to open

    Re-openning issue re appeared in latest version:

    Traceback (most recent call last):
      File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\Diffeomorphic-import-daz-9ba4cff98646\error.py", line 187, in execute
        self.run(context)
      File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\Diffeomorphic-import-daz-9ba4cff98646\morphing.py", line 1644, in run
        loadMoho(context, self.filepath, 1.0)
      File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\Diffeomorphic-import-daz-9ba4cff98646\morphing.py", line 1604, in loadMoho
        bpy.ops.object.mode_set(mode='POSE')
      File "C:\blender-2.82a\2.82\scripts\modules\bpy\ops.py", line 201, in __call__
        ret = op_call(self.idname_py(), None, kw)
    TypeError: Converting py args to operator properties:  enum "POSE" not found in ('OBJECT')
    
    location: <unknown location>:-1
    
  3. Noname reporter

    I think this is false positive, I was playing around with HD and shrinkwrap and I don’t know exactly what I did to get that error.

    After trying to reproduce this on freshly loaded file all started to work fine, so maybe I did imported units etc. onto mesh instead of armature, dunno.

    Closing as resolved I guess.

  4. Log in to comment