Export mhx2 to file fails

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

Export mhx2 to file fails

Postby hausmeister » Tue Nov 03, 2020 7:43 pm

I am using Linux Mint 19,2 and 9_export_mhx2 from mhx-mh-latest.zip
I can not export with mhx2 to a file, but e.g. collada (.dae) works.

I get the following error:
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 56, in export
mh2mhx2.exportMhx2(filename("mhx2"), cfg)
File "plugins/9_export_mhx2/mh2mhx2.py", line 98, in exportMhx2
mesh.material.setViewPortColor(getSkinBlender().getDiffuseColor())
AttributeError: 'Material' object has no attribute 'setViewPortColor'
hausmeister
 
Posts: 6
Joined: Tue Nov 03, 2020 7:36 pm

Re: Export mhx2 to file fails

Postby RobBaer » Wed Nov 04, 2020 12:16 am

Could you tell us which MakeHuman you are running. Is it 1.1.1 or the 1.2.x release candidate?

Also, could you tell us where/when/how/version for your version of mhx2?
User avatar
RobBaer
 
Posts: 1208
Joined: Sat Jul 13, 2013 3:30 pm
Location: Kirksville, MO USA

Re: Export mhx2 to file fails

Postby hausmeister » Wed Nov 04, 2020 7:07 pm

It is Makehuman 1.1.1_1 for Linux mint (contained as a package)
In mh2mhx.py I can read "Mhx2 Version = 0.31
hausmeister
 
Posts: 6
Joined: Tue Nov 03, 2020 7:36 pm

Re: Export mhx2 to file fails

Postby RobBaer » Wed Nov 04, 2020 9:03 pm

My sense, given the "older nature" of your MakeHuman installation, is to recommend that you start by upgrading to the latest 1.2.0 version of MakeHuman. There is a release candidate for Windows that will become final within days that you could download and try right now. However, since you are on Linux Mint, you have two choices. One is to install from source, but there is some possibility of having to play around with dependencies.

The better is to wait until final ppa for Linux is announced (theoretically within days). Loki has gone through the process already and I think may have some tips for how to get the "recommends" part of things with the new Mint policies. He's been there, done that already.
User avatar
RobBaer
 
Posts: 1208
Joined: Sat Jul 13, 2013 3:30 pm
Location: Kirksville, MO USA

Re: Export mhx2 to file fails

Postby loki1950 » Wed Nov 04, 2020 10:03 pm

Thanks for the mention Rob I use he ppa and it is indeed version 1.2.0 and it is working as advertised.Mint has changed it's mind about "recommends" so that is no longer an issue.

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: Export mhx2 to file fails

Postby hausmeister » Thu Nov 05, 2020 4:59 pm

Thank you for your efforts!
hausmeister
 
Posts: 6
Joined: Tue Nov 03, 2020 7:36 pm

Re: Export mhx2 to file fails

Postby hausmeister » Thu Nov 05, 2020 5:28 pm

With makehuman 1.2.0 everything works fine!
hausmeister
 
Posts: 6
Joined: Tue Nov 03, 2020 7:36 pm


Return to MHX2 and other plugins developed outside MakeHuman

Who is online

Users browsing this forum: No registered users and 1 guest

cron