Ubuntu 22.04

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

Re: Ubuntu 22.04

Postby gus812 » Wed Dec 28, 2022 1:44 pm

Yes
gus812
 
Posts: 3
Joined: Tue Dec 27, 2022 6:59 pm
Location: TEXAS

Re: Ubuntu 22.04

Postby gus812 » Wed Dec 28, 2022 9:49 pm

Also managed to install from ppa. Still have same problem.
gus812
 
Posts: 3
Joined: Tue Dec 27, 2022 6:59 pm
Location: TEXAS

Re: Ubuntu 22.04

Postby whytry313 » Mon Jan 22, 2024 3:07 pm

Managed to make it work but it's kind of a ride, so if you are ready to tweak and hope for the best there it is:

1) Impish installation: APT latest realease to this date
Link: https://launchpad.net/~makehuman-official/+archive/ubuntu/makehuman-community

Code: Select all
# Add the repo
sudo add-apt-repository ppa:makehuman-official/makehuman-community

# Edit the repo file
sudo nano /etc/apt/sources.list.d/makehuman-official-ubuntu-makehuman-community-jammy.list

# replace "jammy" by "impish", it should look like this:
deb https://ppa.launchpadcontent.net/makehuman-official/makehuman-community/ubuntu/ impish main

# close+save (Ctrl+x and "y" to save changes), and update apt
sudo apt update

# install makehuman
sudo apt install makehuman-community

# Recommended but not required: install recommended packages
sudo apt install libgle3 python3-tk


2) Python 3.9 to 3.10 errors: the "'collections' has no attribute 'MutableSet'" error
Link: https://stackoverflow.com/questions/74006130/attributeerror-module-collections-has-no-attribute-mutableset

Basically "collections.MutableSet" and "collections.Callable" where moved to "collections.abc.MutableSet" and "collections.abc.Callable"
If you know what you are doing, the idea is to replace each collections[ Callable | MutableSet ], by collections.abc[ Callable | MutableSet ] in /usr/share/makehuman-community/,
any good IDE with find and replace can do this, tho this date, the 1.2.0 final should find 3 instances of collections.Callable and 1 instace of collections.MutableSet listed in the code below

- represents the edited line, + represents what the line should be (don't include them while pasting)
Code: Select all
# /usr/share/makehuman-community/lib/language.py: Line 116
- class OrderedSet(collections.MutableSet):
+ class OrderedSet(collections.abc.MutableSet):

# /usr/share/makehuman-community/lib/log.py: Line 249
- if hasattr(logging, "captureWarnings") and isinstance(logging.captureWarnings, collections.Callable):
+ if hasattr(logging, "captureWarnings") and isinstance(logging.captureWarnings, collections.abc.Callable):

# /usr/share/makehuman-community/core/guicommon.py: Line 145
- if not self._view or not isinstance(self._view, collections.Callable):
+ if not self._view or not isinstance(self._view, collections.abc.Callable):

# /usr/share/makehuman-community/apps/gui/guimodifier.py: Line 202
- if hasattr(gui3d.app, cameraName) and isinstance(getattr(gui3d.app, cameraName), collections.abc.Callable):
+ if hasattr(gui3d.app, cameraName) and isinstance(getattr(gui3d.app, cameraName), collections.abc.Callable):


3) Loading Progress crash
Link: https://www.geeksforgeeks.org/how-to-convert-float-to-int-in-python/

A simple type error crashes the program, a Int value is expected on the loading window but a Float is passed,
a quick fix should be applied by casting that float into a integer

again, - represents the edited line, + represents what the line should be (don't include them while pasting)
Code: Select all
# /usr/share/makehuman-community/lib/qtgui.py: Line 978
- self.setValue(min_ + progress * (max_ - min_))
+ self.setValue(int(min_ + progress * (max_ - min_)))


4) Run the program
The program should now run, If at this point the program still doesn't run you might want to inpect the errors or wait for a good samaritan to reply to your comment
whytry313
 
Posts: 1
Joined: Mon Jan 22, 2024 2:32 pm

Re: Ubuntu 22.04

Postby j2l » Mon Mar 18, 2024 3:13 pm

Thank you so much!!
I was about to switch to something else and I found your detailed workaround that works perfectly.
I really appreciate your help.

[quote="whytry313"]Managed to make it work but it's kind of a ride, so if you are ready to tweak and hope for the best there it is:
j2l
 
Posts: 2
Joined: Wed Jan 01, 2020 9:19 am

Re: Ubuntu 22.04

Postby joepal » Wed May 08, 2024 5:03 am

For anyone else finding this thread: The PPA now has updated builds for 22.04.
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4589
Joined: Wed Jun 04, 2008 11:20 am

Re: Ubuntu 22.04

Postby Ricardo2020 » Thu May 09, 2024 6:22 am

I have the new 1.3.0 installed and running on Linux Mint Cinnamon Virginia.

I ran the SUDO commands listed on the Official PPA page using the terminal and all went well.

I now have a clean install of MakeHuman. All the mistakes I made while using the earlier version were lessons leaned and the new version should be much tidier and more functional once I get it plugged in with the perspective view and other features not in the stock setup, including the new stuff I have made.

It is like starting over, but knowing what to do and what not to do. I have a lot of files in the earlier version. Sone will move to the new version, with improved organization now that I know how the directory hierarchy works...

Once I have all of it put together, I plan to start uploading the additional assets I have made.

Thanks, Joe. And thanks to all who helped out. I have been looking forward to this!
Paddle faster. I hear charango music!
User avatar
Ricardo2020
 
Posts: 258
Joined: Sat Apr 18, 2020 4:17 pm
Location: Tennessee

Previous

Return to Bugs, problems and feature requests

Who is online

Users browsing this forum: No registered users and 1 guest

cron