Crash when exporting mhx using config options

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

Crash when exporting mhx using config options

Postby joepal » Thu Oct 06, 2011 6:50 pm

Exporting using "gui options" work fine. But when I use "config options", I get a crash. The mh_export.config is the one from SVN.

Maybe exporting for 2.4 should be disabled per default in the config.

Code: Select all
    Using config file /usr/share/makehuman/mh_export.config
Proxy configuration: Use ['Obj', 'Mhx', 'Dae']
   <CProxyFile type Clothes layer 4
    mhx True obj True dae True
    name None file "/usr/share/makehuman/data/clothes/sweater/sweater.mhclo">
   <CProxyFile type Clothes layer 4
    mhx True obj True dae True
    name None file "/usr/share/makehuman/data/clothes/jeans/jeans.mhclo">
Traceback (most recent call last):
  File "./core/gui3d.py", line 833, in onMouseUpCallback
    self.mouseDownObject.callEvent('onClicked', event)
  File "./core/events3d.py", line 106, in callEvent
    getattr(self, eventType)(event)
  File "./core/gui3d.py", line 252, in onClicked
    self.view.callEvent('onClicked', event)
  File "./core/events3d.py", line 106, in callEvent
    getattr(self, eventType)(event)
  File "./core/gui3d.py", line 1860, in onClicked
    self.onFileSelected(self.edit.getText())
  File "./apps/gui/guifiles.py", line 452, in onFileSelected
    mh2mhx.exportMhx(self.app.selectedHuman, os.path.join(exportPath, filename + ".mhx"), options)
  File "./apps/mh2/mh2mhx.py", line 35, in exportMhx
    mhx_main.exportMhx(human, filename, options)
  File "./shared/mhx/mhx_main.py", line 58, in exportMhx
    mhx_24.exportMhx(human, filename, options)
  File "./shared/mhx/mhx_24.py", line 53, in exportMhx
    mh2proxy.safePrint("Unable to open file for writing", filename)
AttributeError: 'module' object has no attribute 'safePrint'
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4626
Joined: Wed Jun 04, 2008 11:20 am

Return to MHX2 and other plugins developed outside MakeHuman

Who is online

Users browsing this forum: No registered users and 1 guest