Makehuman 1.2.0 Cannot Open Models Created with Previous Ver

Tech support and suggestions forum. If you only have a basic question on how to get started, please use the "newbies" forum in the community section.

Moderator: joepal

Makehuman 1.2.0 Cannot Open Models Created with Previous Ver

Postby CHEED » Mon Sep 14, 2020 9:01 pm

I have some old modes created using the previous versions.

I am unable to open them. They are .mhm.

1.2.0 cannot open them.

Any suggestions or workaround to this?

I am using Ubuntu Studio 18.04.
Attachments
Screenshot_2020-09-14_22-59-50.png
Deliberate Creator | Life By Design; Not Default
User avatar
CHEED
 
Posts: 54
Joined: Thu Aug 25, 2011 6:53 am

Re: Makehuman 1.2.0 Cannot Open Models Created with Previous

Postby Aranuvir » Mon Sep 14, 2020 9:13 pm

Any suggestions or workaround to this?

Yes, post the error logs...
Aranuvir
 
Posts: 1220
Joined: Sun Oct 12, 2014 2:12 pm

Re: Makehuman 1.2.0 Cannot Open Models Created with Previous

Postby joepal » Tue Sep 15, 2020 9:13 am

And the contents of the mhm files. They are plain text files, so can be opened with any text editor.
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 3877
Joined: Wed Jun 04, 2008 11:20 am

Re: Makehuman 1.2.0 Cannot Open Models Created with Previous

Postby punkduck » Tue Sep 15, 2020 6:28 pm

just a silly question from my side, I remember I had trouble when I changed back from Apple to Linux (I also use Ubuntu 18.04 now). I simply copied a file called settings.ini and of course I have a different home path on my Linux box compared to Apple before: there are at least a few potential problems inside the settings.ini ... I will simply add my MakeHuman 1.1 one as an example.

Code: Select all
{
    "realtimeUpdates": true,
    "restoreWindowSize": true,
    "sliderImages": true,
    "loaddir": "/data/punkduck/makehuman/v1/models",
    "excludePlugins": [],
    "rtl": false,
    "invertMouseWheel": false,
    "lowspeed": 1,
    "language": "english",
    "savedir": "/data/punkduck/makehuman/v1/models",
    "GL_RENDERER_AA": true,
    "Scene_Editor_FileDlgPath": "/data/punkduck/makehuman/v1/data/scenes",
    "rendering_width": 2000,
    "cameraAutoZoom": false,
    "preloadTargets": true,
    "rendering_height": 1500,
    "GL_RENDERER_SSS": true,
    "realtimeFitting": true,
    "exportdir": "/data/punkduck/makehuman/v1/exports",
    "version": "1.1.1",
    "highspeed": 5,
    "realtimeNormalUpdates": false,
    "units": "metric",
    "guiTheme": "makehuman",
    "windowGeometry": {
        "y": 25,
        "width": 2560,
        "state": [
            "maximized"
        ],
        "height": 1391,
        "x": -1
    }
}


there are few paths causing trouble as you can see. In my case it was the new home directory, now a copy will have some hidden problems with pathes called v1py3 instead of v1. Maybe the path simply points to the old folder ...
User avatar
punkduck
 
Posts: 972
Joined: Mon Oct 17, 2016 7:24 pm
Location: Nuremberg, Germany

Re: Makehuman 1.2.0 Cannot Open Models Created with Previous

Postby Aranuvir » Tue Sep 15, 2020 7:06 pm

Maybe the path simply points to the old folder

But it will still parse that folder, and in case it contains mhm files, they will be shown. And if I get the original post correctly it's not a problem of finding the files, but getting them to load. Anyway, we will have to wait for answers of the OP, anything else is simple guess work...
Aranuvir
 
Posts: 1220
Joined: Sun Oct 12, 2014 2:12 pm

Re: Makehuman 1.2.0 Cannot Open Models Created with Previous

Postby Aranuvir » Tue Sep 15, 2020 7:15 pm

BTW, since your old settings show version 1.1.1, they should get invalidated, if I get loadsettings correctly. Perhaps you want to recheck that behavior.
Aranuvir
 
Posts: 1220
Joined: Sun Oct 12, 2014 2:12 pm

Re: Makehuman 1.2.0 Cannot Open Models Created with Previous

Postby RobBaer » Wed Sep 16, 2020 4:00 pm

OT

If I remember correctly, and settings is the problem here, you can just delete "settings.ini" and MH will generate a proper default "settings.ini" version for you.
User avatar
RobBaer
 
Posts: 1046
Joined: Sat Jul 13, 2013 3:30 pm
Location: Kirksville, MO USA

Re: Makehuman 1.2.0 Cannot Open Models Created with Previous

Postby CHEED » Thu Sep 17, 2020 9:26 am

Aranuvir wrote:
Any suggestions or workaround to this?

Yes, post the error logs...


Here is what I have:

Exception during event onFileSelected
Traceback (most recent call last):
File "./core/events3d.py", line 211, in callEvent
method(event)
File "./apps/gui/guiload.py", line 113, in onFileSelected
gui3d.app.loadHumanMHM(filename)
File "./core/mhmain.py", line 405, in loadHumanMHM
self.selectedHuman.load(filename, True)
File "./apps/human.py", line 1538, in load
if not _compare_versions(version, getShortVersion(noSub=True)):
File "./apps/human.py", line 1454, in _compare_versions
return match1.groups(1) == match2.groups(1) and match1.groups(2) == match2.groups(2)
AttributeError: 'NoneType' object has no attribute 'groups'
Deliberate Creator | Life By Design; Not Default
User avatar
CHEED
 
Posts: 54
Joined: Thu Aug 25, 2011 6:53 am

Re: Makehuman 1.2.0 Cannot Open Models Created with Previous

Postby CHEED » Thu Sep 17, 2020 9:29 am

joepal wrote:And the contents of the mhm files. They are plain text files, so can be opened with any text editor.


Here are the contents:

# Written by MakeHuman 1.0.2 stable-20141104 (r540 6864ab5eee88) [data/VERSION static revision data]
version stable-20141104
tags Lucy
face mouth-upperlip-width-min-max 0.194000
face mouth-cupidsbow-width-min-max -0.774000
face mouth-lowerlip-height-min-max -0.548000
face r-eye-move-in-out -0.484000
face mouth-angles-up-down -0.420000
face mouth-upperlip-height-min-max -0.436000
face eyebrows-trans-depth-less-more -0.016000
face forehead-trans-depth-forward-backward 0.500000
face mouth-upperlip-middle-up-down -0.194000
face nose-scale-horiz-incr-decr 0.822000
face eyebrows-angle-up-down 0.210000
face mouth-cupidsbow-decr-incr 0.258000
face eyebrows-trans-vert-less-more -0.194000
face head-scale-vert-more-less -0.162000
face mouth-lowerlip-volume-deflate-inflate -0.016000
face chin-prognathism-less-more 0.210000
face head-scale-horiz-less-more -0.258000
face chin-prominent-less-more 0.146000
face nose-flaring-decr-incr 0.404000
face mouth-scale-vert-incr-decr -0.354000
face mouth-scale-depth-incr-decr -0.338000
face mouth-lowerlip-ext-up-down 0.016000
face head-angle-in-out 0.146000
face mouth-lowerlip-width-min-max 0.096000
face mouth-upperlip-ext-up-down 0.936000
face mouth-scale-horiz-incr-decr 0.258000
face l-eye-move-in-out -0.484000
face nose-nostril-width-min-max 0.096000
face nose-septumangle-decr-incr -0.290000
face mouth-lowerlip-middle-up-down 0.242000
face mouth-philtrum-volume-increase-decrease -0.758000
face head-invertedtriangular 0.460000
face head-rectangular 0.089000
face nose-width3-min-max 0.032000
tongue tongue01 52ad91a3-caad-4e50-8c38-67634e5e789c
teeth Teeth_Shape05 2d85d2a5-b6e1-4738-b193-f7d70f193cb2
hair fhair01 c4808d0d-bbbc-4e62-82a1-8610b06d0e05
eyelashes eyelashes02 04a0718e-aaa4-4480-a013-ad51703bef6b
eyebrows Eyebrow002 a4e73c2f-3a12-47c8-b706-31a68cac6907
eyes HighPolyEyes 2c12f43b-1303-432c-b7ce-d78346baf2e6
clothes shoes02 8887caca-d6fb-4d73-af10-1d4fb740a936
clothes t-shirt_long00 874ffa53-661b-4f10-a37e-da3599f96a74
clothes jeans01 faa58a00-05db-4a53-a3a6-72af1cec2053
clothesHideFaces True
gendered BreastFirmness 0.798000
gendered BreastSize 0.718000
macro Weight 0.621000
macro Gender 0.000000
macro Age 0.427000
macro Height 0.460000
macro Asian 0.306500
macro African 0.387000
macro Caucasian 0.306500
macro Muscle 0.661000
macro BodyProportions 0.500000
background enabled False
skinMaterial skins/young_african_male/young_african_male.mhmat
material fhair01 c4808d0d-bbbc-4e62-82a1-8610b06d0e05 hair/fhair01/materials/fhair01_black.mhmat
material HighPolyEyes 2c12f43b-1303-432c-b7ce-d78346baf2e6 eyes/materials/brown.mhmat
subdivide False
Deliberate Creator | Life By Design; Not Default
User avatar
CHEED
 
Posts: 54
Joined: Thu Aug 25, 2011 6:53 am

Re: Makehuman 1.2.0 Cannot Open Models Created with Previous

Postby CHEED » Thu Sep 17, 2020 9:31 am

punkduck wrote:just a silly question from my side, I remember I had trouble when I changed back from Apple to Linux (I also use Ubuntu 18.04 now). I simply copied a file called settings.ini and of course I have a different home path on my Linux box compared to Apple before: there are at least a few potential problems inside the settings.ini ... I will simply add my MakeHuman 1.1 one as an example.

Code: Select all
{
    "realtimeUpdates": true,
    "restoreWindowSize": true,
    "sliderImages": true,
    "loaddir": "/data/punkduck/makehuman/v1/models",
    "excludePlugins": [],
    "rtl": false,
    "invertMouseWheel": false,
    "lowspeed": 1,
    "language": "english",
    "savedir": "/data/punkduck/makehuman/v1/models",
    "GL_RENDERER_AA": true,
    "Scene_Editor_FileDlgPath": "/data/punkduck/makehuman/v1/data/scenes",
    "rendering_width": 2000,
    "cameraAutoZoom": false,
    "preloadTargets": true,
    "rendering_height": 1500,
    "GL_RENDERER_SSS": true,
    "realtimeFitting": true,
    "exportdir": "/data/punkduck/makehuman/v1/exports",
    "version": "1.1.1",
    "highspeed": 5,
    "realtimeNormalUpdates": false,
    "units": "metric",
    "guiTheme": "makehuman",
    "windowGeometry": {
        "y": 25,
        "width": 2560,
        "state": [
            "maximized"
        ],
        "height": 1391,
        "x": -1
    }
}


there are few paths causing trouble as you can see. In my case it was the new home directory, now a copy will have some hidden problems with pathes called v1py3 instead of v1. Maybe the path simply points to the old folder ...



Here is mine:

{
"realtimeUpdates": true,
"realtimeFitting": true,
"sliderImages": true,
"excludePlugins": [
"7_data",
"7_example",
"7_material_editor",
"7_profile",
"7_scene_editor",
"7_scripting",
"7_shell",
"7_targets",
"7_save_targets"
],
"activeUserPlugins": [],
"rtl": false,
"invertMouseWheel": false,
"lowspeed": 1,
"preloadTargets": true,
"cameraAutoZoom": false,
"language": "english",
"highspeed": 5,
"realtimeNormalUpdates": false,
"units": "metric",
"real_weight": false,
"guiTheme": "makehuman",
"restoreWindowSize": true,
"windowGeometry": {
"width": 1366,
"height": 717,
"x": 0,
"y": 25,
"state": [
"maximized"
]
},
"useHDPI": false,
"noShaders": false,
"noSampleBuffers": false,
"tagFilterMode": "OR",
"useNameTags": false,
"tagCount": 5,
"makehumanTags": [
"makehuman™"
],
"keepCustomValues": false,
"loaddir": "/home/collins/Documents/makehuman/v1py3/models",
"savedir": "/home/collins/Documents/makehuman/v1py3/models",
"exportdir": "/home/collins/Documents/makehuman/v1py3/exports",
"rendering_width": 800,
"rendering_height": 600,
"GL_RENDERER_SSS": false,
"GL_RENDERER_AA": true,
"version": "1.2.0"
}
Deliberate Creator | Life By Design; Not Default
User avatar
CHEED
 
Posts: 54
Joined: Thu Aug 25, 2011 6:53 am

Next

Return to Bugs, problems and feature requests

Who is online

Users browsing this forum: No registered users and 1 guest

cron