MH Problems

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: MH Problems

Postby Aranuvir » Sun Sep 27, 2020 7:05 pm

Can you post the content from cmd.exe?
Aranuvir
 
Posts: 1314
Joined: Sun Oct 12, 2014 2:12 pm

Re: MH Problems

Postby VapeLord » Sun Sep 27, 2020 7:08 pm

Of course, I forgot:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Alle Rechte vorbehalten.

C:\Users\Darki>cd c:\test\

c:\test>python WhatEverYouWant.py
Python : 3.8.5 (tags/v3.8.5:580fbb0, Jul 20 2020, 15:57:54) [MSC v.1924 64 bit (
AMD64)]
Numpy : 1.19.2
GL Version : 4.5.13417 Compatibility Profile Context 16.301.1901.0
User avatar
VapeLord
 
Posts: 64
Joined: Mon Mar 23, 2020 7:09 am
Location: Germany

Re: MH Problems

Postby Aranuvir » Sun Sep 27, 2020 7:22 pm

Hm. theoretically MakeHuman should run. Could you try again: "python makehuman.py --noshaders"
(it should be "minus-minus-noshaders" on Windows, too)
Aranuvir
 
Posts: 1314
Joined: Sun Oct 12, 2014 2:12 pm

Re: MH Problems

Postby VapeLord » Sun Sep 27, 2020 7:29 pm

hmmm.....still the same:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Alle Rechte vorbehalten.

C:\Users\Darki>cd c:\test\

c:\test>python WhatEverYouWant.py
Python : 3.8.5 (tags/v3.8.5:580fbb0, Jul 20 2020, 15:57:54) [MSC v.1924 64 bit (
AMD64)]
Numpy : 1.19.2
GL Version : 4.5.13417 Compatibility Profile Context 16.301.1901.0

c:\test>cd c:\makehuman-master\makehuman-master\makehuman\

c:\makehuman-master\makehuman-master\makehuman>python makehuman.py --noshaders
MakeHuman Copyright (C) 2001-2020 http://www.makehumancommunity.org
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. For details use the option --license

Traceback (most recent call last):
File "C:\Program Files\Python38\lib\site-packages\OpenGL\latebind.py", line 43
, in __call__
return self._finalCall( *args, **named )
TypeError: 'NoneType' object is not callable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "./lib\qtui.py", line 295, in initializeGL
gl.OnInit()
File "./lib\glmodule.py", line 316, in OnInit
glLightModelfv(GL_LIGHT_MODEL_AMBIENT, A(0.0, 0.0, 0.0, 1.0))
File "C:\Program Files\Python38\lib\site-packages\OpenGL\latebind.py", line 47
, in __call__
return self._finalCall( *args, **named )
File "C:\Program Files\Python38\lib\site-packages\OpenGL\wrapper.py", line 700
, in wrapperCall
raise err
File "C:\Program Files\Python38\lib\site-packages\OpenGL\wrapper.py", line 693
, in wrapperCall
result = wrappedOperation( *cArguments )
File "C:\Program Files\Python38\lib\site-packages\OpenGL\platform\baseplatform
.py", line 415, in __call__
return self( *args, **named )
File "C:\Program Files\Python38\lib\site-packages\OpenGL\error.py", line 230,
in glCheckError
raise self._errorClass(
OpenGL.error.GLError: GLError(
err = 1282,
description = b'Der Vorgang ist ung\xfcltig.',
baseOperation = glLightModelfv,
pyArgs = (
GL_LIGHT_MODEL_AMBIENT,
array([0., 0., 0., 1.], dtype=float32),
),
cArgs = (
GL_LIGHT_MODEL_AMBIENT,
array([0., 0., 0., 1.], dtype=float32),
),
cArguments = (
GL_LIGHT_MODEL_AMBIENT,
array([0., 0., 0., 1.], dtype=float32),
)
)

c:\makehuman-master\makehuman-master\makehuman>
User avatar
VapeLord
 
Posts: 64
Joined: Mon Mar 23, 2020 7:09 am
Location: Germany

Re: MH Problems

Postby Aranuvir » Sun Sep 27, 2020 7:55 pm

We should find out if the driver still supports legacy OpenGL and mixing these functions with modern OpenGL.

@VapeLord: Perhaps you could try older PyOpenGL versions, but I'm not too positive that will help. Uninstall PyOpenGL with pip unintsall PyOpenGL, then reinstall it and nail down the version as you did with PyQT5. Here you can find a version history; https://pypi.org/project/PyOpenGL/#history. I assume 'a' stands for alpha and b for beta and would avoid the 'a' versions. Other suggestions, as mentioned before, try to switch the graphics card to Intel or try another Operating System.

In the long run we will have to rewrite the OpenGL part of MakeHuman to only use modern OpenGL. But this will probably take a long time.
Aranuvir
 
Posts: 1314
Joined: Sun Oct 12, 2014 2:12 pm

Re: MH Problems

Postby VapeLord » Sun Sep 27, 2020 8:15 pm

Okay, thanks for the help. I will try it the next days and give you feedback if it worked. (I pray) :-)
User avatar
VapeLord
 
Posts: 64
Joined: Mon Mar 23, 2020 7:09 am
Location: Germany

Re: MH Problems

Postby RobBaer » Sun Sep 27, 2020 9:41 pm

Don't know if this is more noise in the whole situation, but Joel is using pyopengl 3.1.1a which is what I've always used on Windows to good success.
Also, Joel has built Windows version with python 3.7 and not python 3.8.

Don't know if that affects anything either. BUT you might try matching dependency versions with what is know to work.

ADDENDUM: FWIW I tried quickly to install a Python 3.8 using Anaconda python and it seems that something has happened to built-in PyQt5 support. I couldn't get it to work with pip install and got error messages related to spyder not supporting pyqt >5.12 (same problem as MH?) I backed off to python 3.7.9 and pyopengl = 3.1.1a1 and qt = 5.9.7 and MakeHuman starts again. I'm guessing versions matter a lot.
?
Joel's built version of MH uses its own python if its NOT getting mixed up with the one you have installed. I think blender installs its own too. Have you tried a fresh version of the nightly build after upgrading your driver and rebooting AND WITHOUT your own python installed? Is you python install getting in the way of either Blender or MH by being too early in the system path? I think both are at Python 3.7
User avatar
RobBaer
 
Posts: 1208
Joined: Sat Jul 13, 2013 3:30 pm
Location: Kirksville, MO USA

Re: MH Problems

Postby Ardiana » Mon Apr 05, 2021 5:16 am

c:\makehuman-master\makehuman-master\makehuman>python makehuman.py --noshaders
MakeHuman Copyright (C) 2001-2020 http://www.makehumancommunity.org
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. For details use the option --license

Traceback (most recent call last):
File "C:\Program Files\Python38\lib\site-packages\OpenGL\latebind.py", line 43
, in __call__
return self._finalCall( *args, **named )
TypeError: 'NoneType' object is not callable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "./lib\qtui.py", line 295, in initializeGL
gl.OnInit()
File "./lib\glmodule.py", line 316, in OnInit
glLightModelfv(GL_LIGHT_MODEL_AMBIENT, A(0.0, 0.0, 0.0, 1.0))
File "C:\Program Files\Python38\lib\site-packages\OpenGL\latebind.py", line 47
, in __call__
return self._finalCall( *args, **named )
File "C:\Program Files\Python38\lib\site-packages\OpenGL\wrapper.py", line 700
, in wrapperCall
raise err
File "C:\Program Files\Python38\lib\site-packages\OpenGL\wrapper.py", line 693
, in wrapperCall
result = wrappedOperation( *cArguments )
File "C:\Program Files\Python38\lib\site-packages\OpenGL\platform\baseplatform
.py", line 415, in __call__
return self( *args, **named )
File "C:\Program Files\Python38\lib\site-packages\OpenGL\error.py", line 230,
in glCheckError
raise self._errorClass(
OpenGL.error.GLError: GLError(
err = 1282,
description = b'Der Vorgang ist ung\xfcltig.',
baseOperation = glLightModelfv,
pyArgs = (
GL_LIGHT_MODEL_AMBIENT,
array([0., 0., 0., 1.], dtype=float32),
),
cArgs = (
GL_LIGHT_MODEL_AMBIENT,
array([0., 0., 0., 1.], dtype=float32),
),
cArguments = (
GL_LIGHT_MODEL_AMBIENT,
array([0., 0., 0., 1.], dtype=float32),
)
)



I have the exact same problem as VapeLord. I had been using Makehuman 1.2.0 alpha 3 on my Windows 7 for over a year. Since last autumn my primary GPU broke down, I've been using the Intel core GPU. I've noticed some programs, namely Makehuman and Autodesk Meshmixer won't work. Opening 3d models in Blender and playing 3D games works though.

All the above text he posted is exactly same with me. Error 1282 and the OpenGL wrapper errors in those 5 exact lines. I downloaded the source Makehuman from github and downloaded Python 3.8.8. to use the source with same results. And unlike him, I can't even get the Whateveryouwant.py to run. It gives a GlError like below --- v
Attachments
python error.png
Ardiana
 
Posts: 5
Joined: Mon Apr 05, 2021 4:43 am

Re: MH Problems

Postby RobBaer » Mon Apr 05, 2021 10:14 pm

@Ardiana
It appears you are trying to run from source on windows and didn't get very far. It is hard to know what happened from what you shared. However, I think a place to start is what versions of Python and its dependencies you are using when you try to start up. It has been a while since I have tried running from source on Windows, so I just updated my python and gave it a try (I use anaconda python on windows 10, with intel and Nvidia graphics capabilities). MH started up and worked fine on my Windows machine.

The MH version is the 1.2.0 available in Master on Github at the moment 1.2.0 final (HEAD:0d2ac674).
Python

Code: Select all
...
SYS.VERSION: 3.8.1 (default, Jan  8 2020, 15:55:49) [MSC v.1916 64 bit (AMD64)]
[2021-04-05 17:03:30,662] log.py->debug():97 -- DEBUG -- PLATFORM.MACHINE: AMD64
[2021-04-05 17:03:30,664] log.py->debug():97 -- DEBUG -- PLATFORM.WIN32_VER: 10 10.0.19041 SP0
[2021-04-05 17:03:31,418] log.py->debug():97 -- DEBUG -- NUMPY.VERSION: 1.17.4
[2021-04-05 17:03:32,499] log.py->debug():97 -- DEBUG -- QT.VERSION: 5.14.1
[2021-04-05 17:03:32,954] log.py->debug():97 -- DEBUG -- PYOPENGL.VERSION: 3.1.1a1
[2021-04-05 17:03:32,963] log.py->debug():97 -- DEBUG -- GL.VENDOR: Intel
[2021-04-05 17:03:32,970] log.py->debug():97 -- DEBUG -- GL.RENDERER: Intel(R) UHD Graphics 630
[2021-04-05 17:03:32,978] log.py->debug():97 -- DEBUG -- GL.VERSION: 4.6.0 - Build 27.20.100.9168
[2021-04-05 17:03:32,984] log.py->debug():97 -- DEBUG -- 4.60 - Build 27.20.100.9168
[2021-04-05 17:03:32,985] log.py->debug():97 -- DEBUG -- GLSL.VERSION: 4.60 - Build 27.20.100.9168


So, I notice some differences from you. In particular, it seems that you are using a newer numpy version. I did not use the no shaders flag, but my built in Intel graphics did just find at starting and supporting openGL rendering. My old, old NVidea card has worded before by apparently it is not the default that got used when I started up in this test. I didn't try it this time.

My Windows 10 version is fairly up to date. You might try aligning you PyQt and Numpy versions with mine and give it another go.

If, on the other hand, you tried installing the binary version, I would try uninstalling, re-downloading, and installing for all users to see if something got corrupted. If none of this helps, tell us a little more about what exactly you did that produced your error messages. Hopefully you are now using version 1.2.0 final and not still the alpha 3 version you mention in your post.
User avatar
RobBaer
 
Posts: 1208
Joined: Sat Jul 13, 2013 3:30 pm
Location: Kirksville, MO USA

Re: MH Problems

Postby Ardiana » Mon Apr 05, 2021 11:36 pm

RobBaer wrote:So, I notice some differences from you. In particular, it seems that you are using a newer numpy version. I did not use the no shaders flag, but my built in Intel graphics did just find at starting and supporting openGL rendering. My old, old NVidea card has worded before by apparently it is not the default that got used when I started up in this test. I didn't try it this time.

My Windows 10 version is fairly up to date. You might try aligning you PyQt and Numpy versions with mine and give it another go.

If, on the other hand, you tried installing the binary version, I would try uninstalling, re-downloading, and installing for all users to see if something got corrupted. If none of this helps, tell us a little more about what exactly you did that produced your error messages. Hopefully you are now using version 1.2.0 final and not still the alpha 3 version you mention in your post.


The Python that came with my alpha3 is 3.6. Since that didn't work I installed the newest Python that works on my Windows because 3.9 upwards only works on Windows 10. I also added the python folder to my windows environment path so Windows can understand the command. Then I noticed I couldn't use pip to install the dependencies so according to instructions I went to https://bootstrap.pypa.io/get-pip.py and downloaded the page and ran get-pip.py in the command console. With pip now installed in the Python folders I ran
pip install numpy
pip install pyopengl
pip install pyqt5
Python installed stuff like wheel, numpy and pyQt5. I don't know how to display what I have though. I downloaded the Makehuman source from github: https://github.com/makehumancommunity/makehuman
But when I tried to run
python download_assets_git.py
through Python I got this error:
Attachments
python error 2.png
Ardiana
 
Posts: 5
Joined: Mon Apr 05, 2021 4:43 am

PreviousNext

Return to Bugs, problems and feature requests

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron