Error updating MHX Armature

Issue #1672 resolved
Prenses Karolin created an issue

Hi, I have several characters that were created weeks ago. I updated the MHX plugin today and when I want to check my character I see that there is "Update Armature" button.
When I click on it, the update process does not take place.

I think I will temporarily revert back to the previous version, but it would be good to have this bug fixed.

Also, if there are files you want from me, just let me know.

Comments (9)

  1. Alessandro Padovani

    I know very little of python but may be the folder name does matter. I always rename the folders as “import_daz“ and “mhx_rts”, and I know of some people that resolved installation issues renaming the folders. Some time ago I reported this to Thomas, to rename the distribution files for the updates, but it seems it’s not possible in bitbucket.

    Thomas, if renaming the folders is necessary then we may want to add this information to the installation notes.

  2. Thomas Larsson repo owner

    The mhx addon is independent of the daz importer, except when in comes to updating old rigs. Then the daz importer must be enabled, and the addon name must be “import_daz” in order for the mhx addon to find it. If you downloaded a zip file from the repo, there is an extra string to the addon name which is the commit id.

    This is not good. The functions should be duplicated in the mhx addon to avoid addon interdependence.

  3. Thomas Larsson repo owner

    Fixed in the last mhx commit. I copied the missing functions from the daz importer to the mhx addon, so now the latter doesn’t need to import the stuff anymore.

  4. Alessandro Padovani

    What about other addons ? I mean we have various extra addons now from Donald to import alembic and Xin to import HD. They all refer to diffeomorphic and it seems necessary to rename the folder as “import_daz“.

    If I am correct, then we should explain in the installation notes that it is necessary to rename the folders from bitbucket.

  5. Thomas Larsson repo owner

    Yes, if those addons contain lines like

    import import_daz
    

    or

    from import_daz import ...
    

    then the daz importer must actually be called “import_daz”, otherwise it will not be found. This was actually the reason why I renamed the addon from “import-daz” long ago, since

    import import-daz
    

    is not legal python syntax. It is unfortunate that Bitbucket changes the name if you download a zip file, but afaiu there is nothing I can do about it.

  6. Prenses Karolin reporter

    Yes, this problem is solved in the new version. Thank you very much. I also updated the folder names to "import_daz" and "mhx_rts".

  7. Log in to comment