Can't load MHX2 plugin any more

Discussions about MHX2 and other plugins that are developed outside the scope of MakeHuman. Note that bug reports should go to the respective code projects and might go unseen here.

Moderator: joepal

Can't load MHX2 plugin any more

Postby learning » Tue Oct 30, 2018 8:32 am

The only unofficial plugin for MH I use is MHX2 exporter, and I used to keep in in ~/makehuman/v1/plugins directory. But after some update (I don't know exactly which as I wasn't using MH as often as before for the last year or so), it just stopped loading. All the official plugins do load:

Code: Select all
Loading plugins
Importing plugin 0_modeling_0_modifiers
Imported plugin 0_modeling_0_modifiers
Loading plugin 0_modeling_0_modifiers
Loading modifiers from data/modifiers/modeling_modifiers.json
Attempting to load targets from NPZ file.
1258 targets loaded from NPZ file succesfully.
Loaded 249 modifiers from file data/modifiers/modeling_modifiers.json
Loaded 249 modifier descriptions from file data/modifiers/modeling_modifiers_desc.json
Loaded plugin 0_modeling_0_modifiers
Importing plugin 0_modeling_8_random
Imported plugin 0_modeling_8_random
Loading plugin 0_modeling_8_random
Loaded plugin 0_modeling_8_random
Importing plugin 0_modeling_9_custom_targets
Imported plugin 0_modeling_9_custom_targets
Loading plugin 0_modeling_9_custom_targets
Loaded plugin 0_modeling_9_custom_targets
Importing plugin 0_modeling_a_measurement
Imported plugin 0_modeling_a_measurement
Loading plugin 0_modeling_a_measurement
Loading modifiers from data/modifiers/measurement_modifiers.json
Loaded 20 modifiers from file data/modifiers/measurement_modifiers.json
Loaded 20 modifier descriptions from file data/modifiers/measurement_modifiers_desc.json
Loaded plugin 0_modeling_a_measurement
Importing plugin 0_modeling_background
Imported plugin 0_modeling_background
Loading plugin 0_modeling_background
Loaded plugin 0_modeling_background
Importing plugin 2_foot_posing
Imported plugin 2_foot_posing
Loading plugin 2_foot_posing
Loaded plugin 2_foot_posing
Importing plugin 2_posing_expression
Imported plugin 2_posing_expression
Loading plugin 2_posing_expression
Loaded plugin 2_posing_expression
Importing plugin 3_libraries_animation
Imported plugin 3_libraries_animation
Loading plugin 3_libraries_animation
Loaded plugin 3_libraries_animation
Importing plugin 3_libraries_clothes_chooser
Imported plugin 3_libraries_clothes_chooser
Loading plugin 3_libraries_clothes_chooser
Loaded plugin 3_libraries_clothes_chooser
Importing plugin 3_libraries_eye_chooser
Imported plugin 3_libraries_eye_chooser
Loading plugin 3_libraries_eye_chooser
Selecting proxy file "data/eyes/high-poly/high-poly.mhclo" from eyes library.
compiled proxy file missing: data/eyes/high-poly/high-poly.mhpxy
Problem loading binary proxy: ('compiled proxy file missing: %s', u'data/eyes/high-poly/high-poly.mhpxy')
Loading proxy file: data/eyes/high-poly/high-poly.mhclo.
Loading material from file /usr/share/makehuman/data/eyes/materials/brown.mhmat
Shader: adding built-in uniform gl_NormalMatrix
Shader: adding built-in uniform gl_ModelViewProjectionMatrix
VectorUniform(AdditiveShading) = [ 0.]
VectorUniform(AdditiveShading) = [ 0.]
Not writing compiled proxies to system paths (data/eyes/high-poly/high-poly.mhpxy).
Loading binary mesh /usr/share/makehuman/data/eyes/high-poly/high-poly.npz.
Loaded plugin 3_libraries_eye_chooser
Importing plugin 3_libraries_eyebrows
Imported plugin 3_libraries_eyebrows
Loading plugin 3_libraries_eyebrows
Loaded plugin 3_libraries_eyebrows
Importing plugin 3_libraries_eyelashes
Imported plugin 3_libraries_eyelashes
Loading plugin 3_libraries_eyelashes
Loaded plugin 3_libraries_eyelashes
Importing plugin 3_libraries_material_chooser
Imported plugin 3_libraries_material_chooser
Loading plugin 3_libraries_material_chooser
Loaded plugin 3_libraries_material_chooser
Importing plugin 3_libraries_polygon_hair_chooser
Imported plugin 3_libraries_polygon_hair_chooser
Loading plugin 3_libraries_polygon_hair_chooser
Loaded plugin 3_libraries_polygon_hair_chooser
Importing plugin 3_libraries_pose
Imported plugin 3_libraries_pose
Loading plugin 3_libraries_pose
Loaded plugin 3_libraries_pose
Importing plugin 3_libraries_proxy_chooser
Imported plugin 3_libraries_proxy_chooser
Loading plugin 3_libraries_proxy_chooser
Loaded plugin 3_libraries_proxy_chooser
Importing plugin 3_libraries_skeleton
Imported plugin 3_libraries_skeleton
Loading plugin 3_libraries_skeleton
Loaded plugin 3_libraries_skeleton
Importing plugin 3_libraries_teeth
Imported plugin 3_libraries_teeth
Loading plugin 3_libraries_teeth
Loaded plugin 3_libraries_teeth
Importing plugin 3_libraries_tongue
Imported plugin 3_libraries_tongue
Loading plugin 3_libraries_tongue
Loaded plugin 3_libraries_tongue
Importing plugin 4_rendering_9_viewer
Imported plugin 4_rendering_9_viewer
Loading plugin 4_rendering_9_viewer
Loaded plugin 4_rendering_9_viewer
Importing plugin 4_rendering_opengl
Imported plugin 4_rendering_opengl
Loading plugin 4_rendering_opengl
Assigning setting rendering_width value 800 that was loaded before the setting was declared.
Assigning setting rendering_height value 600 that was loaded before the setting was declared.
Assigning setting GL_RENDERER_SSS value False that was loaded before the setting was declared.
Assigning setting GL_RENDERER_AA value True that was loaded before the setting was declared.
Loaded plugin 4_rendering_opengl
Importing plugin 4_rendering_scene
Imported plugin 4_rendering_scene
Loading plugin 4_rendering_scene
Setting rendering_width is already declared. Adding it again has no effect.
Setting rendering_height is already declared. Adding it again has no effect.
Loaded plugin 4_rendering_scene
Importing plugin 5_settings_0_settings
Imported plugin 5_settings_0_settings
Loading plugin 5_settings_0_settings
Setting language to english
Theme makehuman version 1.1.0
Loaded theme data/themes/makehuman.mht
Loaded Qt style data/themes/makehuman.qss
Loaded plugin 5_settings_0_settings
Importing plugin 5_settings_mouse
Imported plugin 5_settings_mouse
Loading plugin 5_settings_mouse
Loaded plugin 5_settings_mouse
Importing plugin 5_settings_shortcuts
Imported plugin 5_settings_shortcuts
Loading plugin 5_settings_shortcuts
Loaded plugin 5_settings_shortcuts
Importing plugin 6_help
Imported plugin 6_help
Loading plugin 6_help
Loaded plugin 6_help
Importing plugin 7_expression_mixer
Imported plugin 7_expression_mixer
Loading plugin 7_expression_mixer
Loaded plugin 7_expression_mixer
Importing plugin 7_logging
Imported plugin 7_logging
Loading plugin 7_logging
Loaded plugin 7_logging
Importing plugin 9_export_bvh
Imported plugin 9_export_bvh
Loading plugin 9_export_bvh
Loaded plugin 9_export_bvh
Importing plugin 9_export_collada
Imported plugin 9_export_collada
Loading plugin 9_export_collada
Loaded plugin 9_export_collada
Importing plugin 9_export_fbx
Imported plugin 9_export_fbx
Loading plugin 9_export_fbx
Loaded plugin 9_export_fbx
Importing plugin 9_export_light
Imported plugin 9_export_light
Loading plugin 9_export_light
Loaded plugin 9_export_light
Importing plugin 9_export_obj
Imported plugin 9_export_obj
Loading plugin 9_export_obj
Loaded plugin 9_export_obj
Importing plugin 9_export_ogre
Imported plugin 9_export_ogre
Loading plugin 9_export_ogre
Loaded plugin 9_export_ogre
Importing plugin 9_export_stl
Imported plugin 9_export_stl
Loading plugin 9_export_stl
Loaded plugin 9_export_stl
Importing plugin 9_export_uvmap
Imported plugin 9_export_uvmap
Loading plugin 9_export_uvmap
Loaded plugin 9_export_uvmap
Loading GUI
showing category Modelling
showing task Macro modelling
Loading theme
Theme makehuman version 1.1.0
Loaded theme data/themes/makehuman.mht
Loaded Qt style data/themes/makehuman.qss
Applying targets
Updating skeleton joint positions
Done baking animations
Loading macro targets
Loading done


But no 9_export_mhx2

Did the user plugin path change or the plugin format? Is there any way to get it working?
learning
 
Posts: 317
Joined: Mon Feb 24, 2014 9:36 am

Re: Can't load MHX2 plugin any more

Postby joepal » Tue Oct 30, 2018 8:46 am

I don't see that it has even tried to load MHX2 here. Neither MH nor MHX2 have changed so much that you wouldn't even get an error message.

Exactly what version of MH are you using here? If you are playing around with the py3 version from github, the relevant directory would be ~/makehuman/v1py3/plugins, as we changed the path to avoid messing with existing installs of the stable version.
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4465
Joined: Wed Jun 04, 2008 11:20 am

Re: Can't load MHX2 plugin any more

Postby learning » Tue Oct 30, 2018 8:12 pm

Nope, I used the repository one.

I kinda fixed the issue by copying the mhx2 plugin to /usr/share/makehuman/plugins, but this solution is not exactly sustainable — what if I have to reinstall the system or some part of it? — and putting things in /usr/ isn't generally a good idea, at least some time ago it used to mess with package managing. I'd still like MH to load plugins from my home directory.
learning
 
Posts: 317
Joined: Mon Feb 24, 2014 9:36 am

Re: Can't load MHX2 plugin any more

Postby joepal » Tue Oct 30, 2018 9:16 pm

User home plugins have been implemented (and I think is working) in the py3 version, so will be available in next release. If I remember right, you can't read plugins from home in 1.1.1. So unfortunately, you'll have to install to /usr when using that.
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4465
Joined: Wed Jun 04, 2008 11:20 am

Re: Can't load MHX2 plugin any more

Postby loki1950 » Tue Oct 30, 2018 10:53 pm

Just one of the reasons that always run Makehuman in userland on Linux but then I have been using the source version for so long that it has become second nature ;)

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo Ideapad 320-15ABR Win 10/Mint 19
User avatar
loki1950
 
Posts: 1219
Joined: Thu Dec 18, 2014 6:27 pm
Location: Ottawa,Ontario

Re: Can't load MHX2 plugin any more

Postby learning » Wed Oct 31, 2018 9:50 am

joepal wrote:User home plugins have been implemented (and I think is working) in the py3 version, so will be available in next release. If I remember right, you can't read plugins from home in 1.1.1. So unfortunately, you'll have to install to /usr when using that.

I'm pretty sure it used to work before, but ok. So here's waiting for the release.
learning
 
Posts: 317
Joined: Mon Feb 24, 2014 9:36 am


Return to MHX2 and other plugins developed outside MakeHuman

Who is online

Users browsing this forum: No registered users and 1 guest