clothes not showing up in MKH

If you have problems understanding something or getting started, ask here

Moderator: joepal

Re: clothes not showing up in MKH

Postby Aranuvir » Tue Oct 20, 2015 5:33 pm

Just some observation: celticprincess1.png goes to the same folder as the clothes. When you download the files, the filenames include the number "1" ! If you change the filename you will get the following error (and clothes will not show up!):

    Unable to load obj file: /PATH-TO-FILE/celticprincess1.obj
    Traceback (most recent call last):
    File "./core/files3d.py", line 202, in loadMesh
    loadTextMesh(obj, path)
    File "./core/files3d.py", line 161, in loadTextMesh
    wavefront.loadObjFile(path, obj)
    File "./shared/wavefront.py", line 58, in loadObjFile
    objFile = open(path, 'rU', encoding="utf-8")
    File "/usr/lib/python2.7/codecs.py", line 884, in open
    file = __builtin__.open(filename, mode, buffering)
    IOError: [Errno 2] no such file or directory: u'/PATH-TO-FILE/celticprincess1.obj'

The thumbnail file needs to be renamed accordingly to the other filenames to show up.
Aranuvir
 
Posts: 1317
Joined: Sun Oct 12, 2014 2:12 pm

Re: clothes not showing up in MKH

Postby Pax » Tue Oct 20, 2015 6:13 pm

This did the trick.

Despite what was shown in the Finder, in the console the .txt extensions showed up.

I renamed them using the mv command in OSX

Thanks!
Pax
 
Posts: 4
Joined: Tue Oct 20, 2015 9:53 am

Re: clothes not showing up in MKH

Postby Aranuvir » Tue Oct 20, 2015 6:59 pm

Your welcome! Hopefully the "mv" command on OSX is more comfortable, than it is on Linux. Doing a batch conversion usually needs the combination with the "find"command.
IMHO suppressing known file extensions in an file browser is very bad behaviour. On Windows you click on a Textfile.txt, but it was Textfile.txt.exe and voilà you got your virus. I don't know OSX and Finder, but if it's possible, I would change the behaviour.

BTW if you really need your own file name, you can edit the content of the mhclo-file and mhmat-file in an text-editor of your choice, accordingly to the filenames. ( sed and vi can be omitted ;) )
Aranuvir
 
Posts: 1317
Joined: Sun Oct 12, 2014 2:12 pm

Previous

Return to Newbies

Who is online

Users browsing this forum: No registered users and 1 guest