problem saving/exporting

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

problem saving/exporting

Postby joseratur » Tue Feb 15, 2011 11:51 am

First of all I would like to say that Makehuman software is excellent.
Second, I’m a newbie but I’ve spend several hours digging into the forum and I’ve didn’t found it, so if by chance the same problem is on another disc. I demand to the Admin to put the link page as an answer please.
I run windows 7 64 bits, and downloaded the last version of Makehuman (1.0 alpha 5.1).
When I start the application I’ve get on the log “import site failed; use –v for traceback” (don’t know if it is normal or not)
The problem is that when I tried to save, nothing happens… only get an UnicodeEncodeError: ‘ascii’ codec can’t encode character u’\xe9’ in position 12:
original out not in range<128>
Same thing exporting to .obj
Exporting in .dae LookupError: no codec searsh functions registred: can’t find encoding

I have ascii installed, as I’ve saw it on another post… the srange is that Makehuman 0.9.1 works fine… but I would like to upgrade…
All that I need is to export in .obj to work with a third-party software.
Thank you for your time
joseartur
joseratur
 
Posts: 5
Joined: Sun Feb 13, 2011 2:45 pm

Re: problem saving/exporting

Postby mflerackers » Tue Feb 15, 2011 12:10 pm

The latest version is alpha 5.1b (http://code.google.com/p/makehuman/down ... _win32.exe), the previous versions had unicode issues.
MakeHuman project Developer
mflerackers
 
Posts: 636
Joined: Thu Feb 05, 2009 11:53 am
Location: Kyoto

Re: problem saving/exporting

Postby joseratur » Tue Feb 15, 2011 7:29 pm

same problem... the one that works is .mhx
joseratur
 
Posts: 5
Joined: Sun Feb 13, 2011 2:45 pm

Re: problem saving/exporting

Postby mflerackers » Wed Feb 16, 2011 12:39 am

Can you post a complete trace?
MakeHuman project Developer
mflerackers
 
Posts: 636
Joined: Thu Feb 05, 2009 11:53 am
Location: Kyoto

Re: problem saving/exporting

Postby joseratur » Wed Feb 16, 2011 11:25 am

ok this is it... a simple character with only one change (gender) and export to .obj...


'import site' failed; use -v for traceback
Version 1.0.0
Asymm loaded
hair properties imported
hair properties loaded
makehair plugin
Storing mesh status
Asymm loaded
Pose plugin imported
pose loaded
Could not load rendering_aqsis
'ascii' codec can't encode character u'\xe9' in position 80: ordinal not in rang
e(128)
Rendering setting imported
Settings imported
('setFocus', <gui3d.Slider instance at 0x072BE760>)
updated 15340 vertices
('setFocus', <gui3d.Slider instance at 0x072BE760>)
do Gender
updated 15340 vertices
('setFocus', <gui3d.ToggleButton instance at 0x07B74260>)
('setFocus', <gui3d.FileEntryView instance at 0x07B751C0>)
('setFocus', <gui3d.TextEdit instance at 0x07B75030>)
Color 0 not found
not a clickable zone
('setFocus', <gui3d.ToggleButton instance at 0x07B7F468>)
('setFocus', <gui3d.FileEntryView instance at 0x07B827D8>)
('setFocus', <gui3d.TextEdit instance at 0x07B82968>)
Color 0 not found
not a clickable zone
Color 0 not found
('setFocus', <gui3d.FileEntryView instance at 0x07B827D8>)
('setFocus', <gui3d.TextEdit instance at 0x07B82968>)
Traceback (most recent call last):
File "./core\module3d.py", line 1413, in mouseButtonUp
self.application.mouseUp(button, x, y)
File "./core\gui3d.py", line 507, in mouseUp
self.mouseDownObject.callEvent('onClicked', event)
File "./core\events3d.py", line 93, in callEvent
getattr(self, eventType)(event)
File "./core\gui3d.py", line 1021, in onClicked
self.onFileSelected(self.edit.getText())
File "./apps\gui\guifiles.py", line 198, in onFileSelected
mh2obj.exportObj(self.app.scene3d.selectedHuman.meshData, os.path.join(expor
tPath, filename + ".obj"), 'data/3dobjs/base.obj', self.exportGroups.selected)
File "./apps\mh2\mh2obj.py", line 55, in exportObj
f.write('mtllib ' + filename + '.mtl\n')
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 19:
ordinal not in range(128)

I hope that helps...
As I've told you I have Aqsis installed...
Thank you for your help
joseratur
 
Posts: 5
Joined: Sun Feb 13, 2011 2:45 pm

Re: problem saving/exporting

Postby mflerackers » Wed Feb 16, 2011 11:37 am

The mh2obj.py has been changed by now

+from os.path import basename

-f.write('mtllib ' + filename + '.mtl\n')
+f.write('mtllib ' + basename(filename) + '.mtl\n')

It's in the nightly and svn, but wasn't fixed in 5.1b yet.

The aqsis renderer has changed more than a few lines, so I can't immediately say which lines to change/
MakeHuman project Developer
mflerackers
 
Posts: 636
Joined: Thu Feb 05, 2009 11:53 am
Location: Kyoto

Re: problem saving/exporting

Postby joseratur » Sat Feb 26, 2011 4:50 pm

do you have some idea what's going on? do i keep hopping to have a solution? :D
thanks
joseratur
 
Posts: 5
Joined: Sun Feb 13, 2011 2:45 pm

Re: problem saving/exporting

Postby mflerackers » Sun Feb 27, 2011 12:06 am

Is obj export still failing with the latest nightly build?
MakeHuman project Developer
mflerackers
 
Posts: 636
Joined: Thu Feb 05, 2009 11:53 am
Location: Kyoto

Re: problem saving/exporting

Postby joseratur » Tue Mar 08, 2011 12:52 pm

It works... thanks... :D :D :D
joseratur
 
Posts: 5
Joined: Sun Feb 13, 2011 2:45 pm


Return to Bugs, problems and feature requests

Who is online

Users browsing this forum: No registered users and 1 guest