Uninflated Lifejacket, Asset No. 3110

Discussions about user contributed assets. This is a good place to request new assets, as well as requesting support on existing assets that have been downloaded from the user contributions repository.

Moderator: joepal

Uninflated Lifejacket, Asset No. 3110

Postby Olly999-1 » Fri Dec 13, 2024 9:43 am

Hi Guys, I've been trying to use the uninflated lifejacket by dingsboms, but never been able to get any success with it. It just doesn't work. No problem with the inflated version 3111 though. Has anyone experienced the same, or can offer any solution. Cheers!
Olly999-1
 
Posts: 5
Joined: Thu May 19, 2022 11:37 am
Location: Kent, UK

Re: Uninflated Lifejacket, Asset No. 3110

Postby RobBaer » Tue Feb 04, 2025 2:40 pm

When you click on the asset you will notice that there is an error message in the status bar. It suggests you go to Utilities | log tabs to learn more about what happened. In the log you learn:
Code: Select all
Loading proxy file: C:/Users/rbaer/Documents/makehuman/v1py3/data/clothes\Life_Jacket\Life_Jacket.mhpxy.
[b]Loading material from file Life_Jacket_.mhmat
Failed to load material from file Life_Jacket_.mhmat.[/b]
compiled file missing: Life_Jacket_.npz
Problem loading binary mesh: ('compiled file missing: %s', 'Life_Jacket_.npz')
Loading ASCII mesh Life_Jacket_.obj.
Unable to load obj file: Life_Jacket_.obj
Traceback (most recent call last):
  File "./core\files3d.py", line 200, in loadMesh
    raise RuntimeError('compiled file missing: %s', npzpath)
RuntimeError: ('compiled file missing: %s', 'Life_Jacket_.npz')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "./core\files3d.py", line 208, in loadMesh
    loadTextMesh(obj, path)
  File "./core\files3d.py", line 167, in loadTextMesh
    wavefront.loadObjFile(path, obj)
  File "./shared\wavefront.py", line 57, in loadObjFile
    with open(path, 'r', encoding="utf-8") as objFile:
FileNotFoundError: [Errno 2] No such file or directory: 'Life_Jacket_.obj'
Failed to load Life_Jacket_.obj


Note lines 6 and 7 in the error message. They tell us the file name got spelled wrong somehow.

There is an error in the life_jacket.mchlo file. Go the the assets directory (C:\Users\%USERNAME%\Documents\makehuman\v1py3\data\clothes\Life_Jacket on Windows) and edit the file with a text editor like notepad. The basic info section should have the underscore before the period removed, so it looks like this:

# Basic info:
name Life Jacket
obj_file Life_Jacket.obj
material Life_Jacket.mhmat

Fix it and save. Then your lifejacket should work.
User avatar
RobBaer
 
Posts: 1228
Joined: Sat Jul 13, 2013 3:30 pm
Location: Kirksville, MO USA


Return to Assets, asset repositories and asset downloader

Who is online

Users browsing this forum: No registered users and 2 guests