Blender import broken in SVN r4532

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

Blender import broken in SVN r4532

Postby Rhynedahll » Sun Feb 03, 2013 1:18 pm

Blender SVN r54275

Makehuman SVN r44532

"Tokenizer out of kilter 1"
Orphan, an epic fantasy by H. Jonas Rhynedahll
The Key to Magic: Book One
Available on Kindle at Amazon: The Key to Magic
Rhynedahll
 
Posts: 195
Joined: Sat Nov 28, 2009 1:23 pm

Re: Blender import broken in SVN r4532

Postby ThomasL » Mon Feb 04, 2013 6:27 am

This is a sign of a damaged mhx file. Either you interrupted the export process, e.g. by shutting down MH, or there was a bug that terminated export. Mhx export works fine for me when I export a simple character. What options (hair, clothes, expressions, etc.) were enabled when you exported?
ThomasL
 
Posts: 1139
Joined: Tue Sep 15, 2009 2:46 am

Re: Blender import broken in SVN r4532

Postby Rhynedahll » Mon Feb 04, 2013 3:56 pm

I updated to r4541.
Using the saved file from previous version.

The export from MH does fail.

Options:

Feet on Ground
Body Shapes
Keep Hidden Faces
Advanced Spine

Use mhx rig

Code: Select all
Exception during event onFileSelected
Traceback (most recent call last):
  File "./core\events3d.py", line 195, in callEvent
    method(event)
  File "./apps\gui\guiexport.py", line 86, in onFileSelected
    exporter.export(gui3d.app.selectedHuman, filename)
  File "plugins\9_export_mhx.py", line 90, in export
    mh2mhx.exportMhx(human, filename("mhx"), options)
  File "./apps\mh2\mh2mhx.py", line 30, in exportMhx
    mhx.mhx_main.exportMhx(human, filename, options)
  File "./shared\mhx\mhx_main.py", line 86, in exportMhx
    exportMhx_25(human, config, fp)
  File "./shared\mhx\mhx_main.py", line 170, in exportMhx_25
    copyFile25(human, "shared/mhx/templates/rig-poses25.mhx", fp, None, config, proxyData)
  File "./shared\mhx\mhx_main.py", line 420, in copyFile25
    writeShapeKeys(fp, human, "%sMesh" % the.Human, config, None)
  File "./shared\mhx\mhx_main.py", line 1153, in writeShapeKeys
    writeCorrectives(fp, human, rig_shoulder_25.ShoulderTargetDrivers, "shoulder", "shoulder", proxy, 0.88, 0.90)
  File "./shared\mhx\mhx_main.py", line 1110, in writeCorrectives
    shapeList = read_expression.readCorrectives(drivers, human, folder, landmarks, t0, t1)
  File "./shared\mhx\read_expression.py", line 256, in readCorrectives
  File "./apps\warpmodifier.py", line 449, in compileWarpTarget
    mod = WarpModifier(template, bodypart, fallback)
  File "./apps\warpmodifier.py", line 152, in __init__
    for (tlabel, tname, tvar, tmin, tmax) in theModifierTypes[modtype]:
KeyError: 'GenderAgeMuscleWeight'
Orphan, an epic fantasy by H. Jonas Rhynedahll
The Key to Magic: Book One
Available on Kindle at Amazon: The Key to Magic
Rhynedahll
 
Posts: 195
Joined: Sat Nov 28, 2009 1:23 pm

Re: Blender import broken in SVN r4532

Postby tjindy » Tue Feb 05, 2013 8:36 am

Got the same error. I wroted earlier to Bugs forum.. but no reply ;)
Hope devs back export soon :)

TJ
tjindy
 
Posts: 103
Joined: Sun Mar 01, 2009 9:01 pm

Re: Blender import broken in SVN r4532

Postby ThomasL » Wed Feb 06, 2013 6:09 am

Should be fixed in r4555. The problem was that I moved the file read_expression.py, but the old .pyc file remained at the old position and was still invoked by the mhx exporter. Since I deleted the .pyc file myself, I did not see this. The solution was to rename the file, making the old .pyc file unused.
ThomasL
 
Posts: 1139
Joined: Tue Sep 15, 2009 2:46 am


Return to MHX2 and other plugins developed outside MakeHuman

Who is online

Users browsing this forum: No registered users and 1 guest

cron