59 Assets download errors and Crashes.

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

59 Assets download errors and Crashes.

Postby japreja » Sun Feb 05, 2023 3:51 am

First, Ive been using MakeHuman for years and never needed help with much so this is the first time I have needed to post here in the forums. Thanks for the awesome software.

I have been suffering from MakeHuman crashes in the current version 1.2.0 when using the community tab to download assets. I was getting frustrated and investigated a little about what was causing the crashes. Some Assets just popup a 404 message and do not crash. I think the crashes come from Code-Page errors from Japanese/Chinese Charactors and Latin Charactors with non standard english charactors. I've narrowed it down to about 59 assets and most titles and descriptions of these assets view fine in web browsers, but in MakeHuman they cause errors/crashes and display as question marks. here are some notes I've taken over the past week. Hope its helpfull to atleast help others find and manualy download assets that keep crashing MakeHuman, you can trackdown an assets download page with NODE_ID by using " http://www.makehumancommunity.org/node/NODE_ID " and replace the word NODE_ID with the actual node ID number ;) :

Code: Select all
Assets crashing Makehuman &/OR causing 404 errors.  59 assets total out of all available assets.

Pose:
   NODE_ID:   1401
   AUTHOR:      Elvaerwyn
   LICENSE:   CC-BY
   TITLE:      You like all this?
   LINK:      http://www.makehumancommunity.org/node/1401

cloths:
   NODE_ID:   245
   AUTHOR:      o4saken
   LICENSE:   CC0
   TITLE:      "Assassins Creed Jacket"
   LINK:      http://www.makehumancommunity.org/node/245

   NODE_ID:   729
   AUTHOR:      grinsgold
   LICENSE:   CC-BY
   TITLE:      Wedge "Pirate Djunk"
   LINK:      http://www.makehumancommunity.org/node/729

   NODE_ID:   863
   AUTHOR:      grinsgold
   LICENSE:   CC0
   TITLE:      Potplant "Thirsty Daisy"
   LINK:      http://www.makehumancommunity.org/node/863

   NODE_ID:   2590
   AUTHOR:      123guzhanhong123
   LICENSE:   CC-BY
   TITLE:      Disgusting octopus?????
   LINK:      http://www.makehumancommunity.org/node/2590

   NODE_ID:   2633
   AUTHOR:      123guzhanhong123
   LICENSE:   CC-BY
   TITLE:      mortgage slave??
   LINK:      http://www.makehumancommunity.org/node/2633

   NODE_ID:   2638
   AUTHOR:      123guzhanhong123
   LICENSE:   CC-BY
   TITLE:      A broken bone?????
   LINK:      http://www.makehumancommunity.org/node/2638

   NODE_ID:   2639
   AUTHOR:      123guzhanhong123
   LICENSE:   CC-BY
   TITLE:      Centipede bioweapons??????
   LINK:      http://www.makehumancommunity.org/node/2639

   NODE_ID:   2641
   AUTHOR:      123guzhanhong123
   LICENSE:   CC-BY
   TITLE:      Mutant Shark man?????
   LINK:      http://www.makehumancommunity.org/node/2641

   NODE_ID:   2706
   AUTHOR:      123guzhanhong123
   LICENSE:   CC-BY
   TITLE:      ?????????????
   LINK:      http://www.makehumancommunity.org/node/2706

   NODE_ID:   2719
   AUTHOR:      123guzhanhong123
   LICENSE:   CC-BY
   TITLE:      ????
   LINK:      http://www.makehumancommunity.org/node/2719

   NODE_ID:   2739
   AUTHOR:      123guzhanhong123
   LICENSE:   CC-BY
   TITLE:      Stone lion?Low precision scan modeling?
   LINK:      http://www.makehumancommunity.org/node/2739

   NODE_ID:   2775
   AUTHOR:      123guzhanhong123
   LICENSE:   CC-BY
   TITLE:      gain an insight into all things on earth????????
   LINK:      http://www.makehumancommunity.org/node/2775

   NODE_ID:   2876
   AUTHOR:      culturalibre
   LICENSE:   CC-BY
   TITLE:      El Chapuln Colorado
   LINK:      http://www.makehumancommunity.org/node/2876

   NODE_ID:   2877
   AUTHOR:      culturalibre
   LICENSE:   CC-BY
   TITLE:      Chipote Chilln
   LINK:      http://www.makehumancommunity.org/node/2877

   NODE_ID:   2878
   AUTHOR:      culturalibre
   LICENSE:   CC-BY
   TITLE:      Mirndome
   LINK:      http://www.makehumancommunity.org/node/2878

   NODE_ID:   2956
   AUTHOR:      E201337ujh
   LICENSE:   CC0
   TITLE:      Cloth de Benote
   LINK:      http://www.makehumancommunity.org/node/2956

   NODE_ID:   3061
   AUTHOR:      123guzhanhong123
   LICENSE:   CC-BY
   TITLE:      The Human Centipede??????
   LINK:      http://www.makehumancommunity.org/node/3061

   NODE_ID:   3098
   AUTHOR:      123guzhanhong123
   LICENSE:   CC-BY
   TITLE:      Upside down monster?????
   LINK:      http://www.makehumancommunity.org/node/3098

   NODE_ID:   3099
   AUTHOR:      culturalibre
   LICENSE:   CC-BY
   TITLE:      CL question
   LINK:      http://www.makehumancommunity.org/node/3099

   NODE_ID:   3106
   AUTHOR:      JALdMIC
   LICENSE:   CC0
   TITLE:      Steam Deck(fan made)
   LINK:      http://www.makehumancommunity.org/node/3106

   NODE_ID:   3132
   AUTHOR:      JALdMIC
   LICENSE:   CC-BY
   TITLE:      Egyptian_hat
   LINK:      http://www.makehumancommunity.org/node/3132

   NODE_ID:   3143
   AUTHOR:      JALdMIC
   LICENSE:   CC-BY
   TITLE:      Jade_weapon
   LINK:      http://www.makehumancommunity.org/node/3143

   NODE_ID:   3147
   AUTHOR:      123guzhanhong123
   LICENSE:   CC-BY
   TITLE:      The Human Centipede 2?????2?
   LINK:      http://www.makehumancommunity.org/node/3147

target:

   NODE_ID:   214
   AUTHOR:      sonntag78
   LICENSE:   CC0
   TITLE:      Orkifyhead
   LINK:      http://www.makehumancommunity.org/node/214

   NODE_ID:   2933
   AUTHOR:      JALdMIC
   LICENSE:   CC-BY
   TITLE:      toriel_mout
   LINK:      http://www.makehumancommunity.org/node/2933

   NODE_ID:   3009
   AUTHOR:      JALdMIC
   LICENSE:   CC-BY
   TITLE:      Wolf_HeadV3
   LINK:      http://www.makehumancommunity.org/node/3009

   NODE_ID:   3131
   AUTHOR:      JALdMIC
   LICENSE:   CC-BY
   TITLE:      shark_mouth
   LINK:      http://www.makehumancommunity.org/node/3131

   NODE_ID:   3146
   AUTHOR:      JALdMIC
   LICENSE:   CC0
   TITLE:      drooped_rabbit_ears
   LINK:      http://www.makehumancommunity.org/node/3146

hair:
   NODE_ID:   72
   AUTHOR:      brkurt
   LICENSE:   CC-BY
   TITLE:      Helen Of Troy
   LINK:      http://www.makehumancommunity.org/node/72
skin:
   Nearly all assets by 123guzhanhong123 crash makehuman, Seems like un-necissary question marks (in MakeHuman) that could be a result of code-page errors and/or foreign charactors being replaced by question marks.

material:
   NODE_ID:   196
   AUTHOR:      grinsegold
   LICENSE:   CC0
   TITLE:      Make-up layer "Smokey eyes"
   LINK:      http://www.makehumancommunity.org/node/196

model:
   NODE_ID:   2022
   AUTHOR:      Garvax_marker
   LICENSE:   CC0
   TITLE:      neightboor
   LINK:      http://www.makehumancommunity.org/node/2022

   NODE_ID:   2143
   AUTHOR:      BaronVonGott
   LICENSE:   CC0
   TITLE:      Slender 18 year old Caucasian male
   LINK:      http://www.makehumancommunity.org/node/2143

   NODE_ID:   2442
   AUTHOR:      culturalibre
   LICENSE:   CC0
   TITLE:      The incredible Hulk (Sal Buscema)
   LINK:      http://www.makehumancommunity.org/node/2442

   NODE_ID:   2551
   AUTHOR:      Ricardo2020
   LICENSE:   CC0
   TITLE:      Shelly Blake
   LINK:      http://www.makehumancommunity.org/node/2551

   NODE_ID:   2712
   AUTHOR:      Ricardo2020
   LICENSE:   CC0
   TITLE:      Juicy Lucy
   LINK:      http://www.makehumancommunity.org/node/2712

   NODE_ID:   2815
   AUTHOR:      Ricardo2020
   LICENSE:   CC0
   TITLE:      Tessa Baily
   LINK:      http://www.makehumancommunity.org/node/2815

   NODE_ID:   3208
   AUTHOR:      paradox_constant
   LICENSE:   CC-BY
   TITLE:      "All man" hero for Webtoon "God's actual Plan"
   LINK:      http://www.makehumancommunity.org/node/3208

japreja
 
Posts: 4
Joined: Sun Feb 05, 2023 3:30 am

Re: 59 Assets download errors and Crashes.

Postby joepal » Sun Feb 05, 2023 6:14 am

Thanks, that was some thorough debugging.

Do you happen to have a log file from a time when MH crashed on an asset?

Assets being broken in themselves, such as when a clothing asset refers to a non-existing texture file, will be hard to do anything about. Encoding errors in urls should theoretically be possible to handle though.
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4465
Joined: Wed Jun 04, 2008 11:20 am

Re: 59 Assets download errors and Crashes.

Postby japreja » Sun Feb 05, 2023 11:37 am

joepal wrote:Do you happen to have a log file from a time when MH crashed on an asset?


I checked the only 4 log files I have and there is noting indicating the crash. Logging seems to stop once the GUI is loaded. The only download error that is logged result from the 404 when an asset file is missing. the only one I managed to copy down before deleting the files was the following from "plugin_logs":

Code: Select all
--- C:\Users\japreja\Documents\makehuman\v1py3\plugin_logs\assetdownload.txt ---

[ERROR] downloadtask.py/run():150 Caught http error HTTP Error 404: Not Found


It was the same for each file that had the 404 message box that pops up and does not crash the system. the following log file names do not seem to be collecting any logs after the software is loaded, unless I start toying around in the "shell", "execute", and "scripting" tabs.

makehuman.log
makehuman_debug.txt
python_error.txt
python_out.txt


Is there a method programmed so one can use the shell to enable full logging during runtime?
japreja
 
Posts: 4
Joined: Sun Feb 05, 2023 3:30 am

Re: 59 Assets download errors and Crashes.

Postby joepal » Sun Feb 05, 2023 2:23 pm

The makehuman.log file should keep logging. It's surprising that it doesn't. It should contain all the debug output.

On which platform is this? I know that particularly mac have traditionally had extra trouble with some operations in regards to the asset downloader. These are hard for me to debug, since I don't own a mac.

A 404 is obviously not platform dependent though.
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4465
Joined: Wed Jun 04, 2008 11:20 am

Re: 59 Assets download errors and Crashes.

Postby jwc » Mon Feb 06, 2023 3:50 am

I downloaded the listed pose from Elvaerwyn on a mac system and did not have an issue. The pose loaded correctly and modified the basic human as expected.
Note that since the path name referenced C:\..., the problem is probably happening on a Windows system.

My recollection that past errors like this were resolved with either finding "strange" characters in the install path or with an uninstall/reinstall.
jwc
 
Posts: 57
Joined: Sat Apr 27, 2013 11:59 pm

Re: 59 Assets download errors and Crashes.

Postby japreja » Tue Feb 07, 2023 4:19 pm

On which platform is this?


I am on Windows 10.

My recollection that past errors like this were resolved with either finding "strange" characters in the install path or with an uninstall/reinstall.


I've done complete reinstalls 3 times over the past week and a half. It is something to do with multiple issues

  • a few regarding codepage errors that when downloading assets with special charactors as stated above. On windows, "Program Files" has a space in the name so I decided to create a top level directory without spaces and install into that just as a process of elimination.
  • one with how files/directories are saved/created that contain the single quote ', double quote ", and the tilda ~ being placed in the file name throwing the errors. I've taken care of most of these on my PC. but Still finding some asset errors that probably are not related to my initial post.

Code: Select all
Exception during event onShow
Traceback (most recent call last):
  File "./core\events3d.py", line 211, in callEvent
    method(event)
  File "C:\Development\makehuman\makehuman\plugins\3_libraries_clothes_chooser.py", line 146, in onShow
    super(ClothesTaskView, self).onShow(event)
  File "./apps/gui\proxychooser.py", line 473, in onShow
    self.filechooser.refresh()
  File "./lib\filechooser.py", line 894, in refresh
    super(ListFileChooser, self).refresh()
  File "./lib\filechooser.py", line 580, in refresh
    self.loadHandler.refresh(files)
  File "./lib\filechooser.py", line 459, in refresh
    tags = self.library.getTags(filename = file)
  File "./apps/gui\proxychooser.py", line 646, in getTags
    return filecache.MetadataCacher.getTags(self, filename)
  File "./lib\filecache.py", line 264, in getTags
    metadata = self.getMetadata(filename)
  File "./lib\filecache.py", line 240, in getMetadata
    self.updateFileCache(self.getSearchPaths() + [os.path.dirname(fileId)], self.getFileExtensions(), False)
  File "./lib\filecache.py", line 299, in updateFileCache
    self._filecache.update(search_paths, file_extensions, self._get_metadata_callback, remove_old_entries)
  File "./lib\filecache.py", line 152, in update
    self._cache[fileId] = (mtime,) + getMetadata(filepath)
  File "./lib\filecache.py", line 190, in _get_metadata_callback
    return self.getMetadataImpl(self.getMetadataFile(filename))
  File "./apps/gui\proxychooser.py", line 175, in getMetadataImpl
    return proxy.peekMetadata(filename, self.getProxyType())
  File "./shared\proxy.py", line 1025, in peekMetadata
    for line in fp:
  File "D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64\codecs.py", line 322, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xec in position 112: invalid continuation byte
Exception during event onShow
Traceback (most recent call last):
  File "./core\events3d.py", line 211, in callEvent
    method(event)
  File "C:\Development\makehuman\makehuman\plugins\3_libraries_clothes_chooser.py", line 146, in onShow
    super(ClothesTaskView, self).onShow(event)
  File "./apps/gui\proxychooser.py", line 473, in onShow
    self.filechooser.refresh()
  File "./lib\filechooser.py", line 894, in refresh
    super(ListFileChooser, self).refresh()
  File "./lib\filechooser.py", line 580, in refresh
    self.loadHandler.refresh(files)
  File "./lib\filechooser.py", line 459, in refresh
    tags = self.library.getTags(filename = file)
  File "./apps/gui\proxychooser.py", line 646, in getTags
    return filecache.MetadataCacher.getTags(self, filename)
  File "./lib\filecache.py", line 264, in getTags
    metadata = self.getMetadata(filename)
  File "./lib\filecache.py", line 240, in getMetadata
    self.updateFileCache(self.getSearchPaths() + [os.path.dirname(fileId)], self.getFileExtensions(), False)
  File "./lib\filecache.py", line 299, in updateFileCache
    self._filecache.update(search_paths, file_extensions, self._get_metadata_callback, remove_old_entries)
  File "./lib\filecache.py", line 152, in update
    self._cache[fileId] = (mtime,) + getMetadata(filepath)
  File "./lib\filecache.py", line 190, in _get_metadata_callback
    return self.getMetadataImpl(self.getMetadataFile(filename))
  File "./apps/gui\proxychooser.py", line 175, in getMetadataImpl
    return proxy.peekMetadata(filename, self.getProxyType())
  File "./shared\proxy.py", line 1025, in peekMetadata
    for line in fp:
  File "D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64\codecs.py", line 322, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xec in position 112: invalid continuation byte



    that dont indicate which file caused the error. The file paths seem to be from the computer that compiled MakeHuman with no indication of the actual asset file causing the error.

I've been finding files like the asset "BTH_Full_Brown_Beard" where the *.mhclo file is not a text file but a binary for FBX. The file, once read, causes MakeHuman to stop loading the remaining assets and throw the above error only when navigating to the Geometries/Clothing tab after downloading the asset using the community tab. Once the asset is removed, the rest of the assets load fine, atleast until the next binary file is loaded, indicated by the "UnicodeDecodeError: 'utf-8' codec can't decode byte 0xec in position 112: invalid continuation byte" error.

I've downloaded all assets with the exception of the 59 listed above and will fix what I can regarding mis-named and mising textures, and binary fbx files, but it will probably take a while since there are over 5 gigs of assets. I sort of wish the entire user contributed asset library was on github so if an assets creator is no longer active in the community anyone can push some fixes.

As for coding, I haven't touched python for several years, i think the current version last time I programmed with it was 2.5?, and would probably do more harm than good. If I can keep track of everything I will try to fix as much as I can within the assets since I really do appreciate the OpenSource code and I know there are only a few of you doing all the major coding. You guys/gals rock!
japreja
 
Posts: 4
Joined: Sun Feb 05, 2023 3:30 am


Return to Bugs, problems and feature requests

Who is online

Users browsing this forum: No registered users and 1 guest