After a system upgrade a few months ago, makehuman stoped exporting mhx2. At first I thought it was a problem with the mhx2 plugin but when I tested exporting to other formats, I got the same error.
As far as I can tell it has something to do with numpy but I have no idea how to fix it.
Write MHX2 file /home/artista/makehuman/v1/exports/teste.mhx2
Exception during event onFileSelected
Traceback (most recent call last):
File "./core/events3d.py", line 211, in callEvent
method(event)
File "./apps/gui/guiexport.py", line 112, in onFileSelected
exporter.export(gui3d.app.selectedHuman, filename)
File "plugins/9_export_mhx2/__init__.py", line 55, in export
mh2mhx2.exportMhx2(filename("mhx2"), cfg)
File "plugins/9_export_mhx2/mh2mhx2.py", line 52, in exportMhx2
meshes = [obj.mesh.clone(cfg.scale, True) for obj in objects]
File "./core/module3d.py", line 160, in clone
self.filterMaskedVerts(other, update=False)
File "./core/module3d.py", line 311, in filterMaskedVerts
inverse_uv_idx[uv_idx] = np.arange(self.texco.shape[0], dtype=np.int32)
ValueError: shape mismatch: value array of shape (21334,) could not be broadcast to indexing result of shape (9416,)