Build of Makehuman nightly crashes due new debug code.
|Assignee:||Jonas Hauquier||% Done:|
|Target version:||MakeHuman 1.1.0|
I've built Makehuman from the nightly build sources, but when I launch it it crashes. I've tried on two different machine.
The first one run Mac OS X Yosemite 10.0.3. Here is the log : http://pastie.org/9995807
The second one run Mac OS X Mavericks last version. The log is : http://pastie.org/9995913
I've followed the instructions to build Makehuman on my Mac, so I've installed qt-opensource-mac-4.8.6-1.dmg, and python-2.7.6-macosx10.6.dmg.
The dmg file of the Makehuman version I've built is available here : https://dl.dropboxusercontent.com/u/51818/makehumanhg-r1728-osx.dmg
#2 Updated by Francois Grobbelaar almost 4 years ago
I found the problem after looking at the error log of the uploaded MakeHuman.app.
For some reason the additional debug info that has been added to debugdump.py causes MH to crash on startup for Mac. I can actually see the debug logging appear in the log prior to it just crashing. Ends with KeyError: 'QT_PLUGIN_PATH' - in short, I think the Mac doesn't like it.
The log is as below:
PYQT.VERSION: 4.8.6 PYQT.JPG_SUPPORT: supported PYQT.SVG_SUPPORT: supported QT.PLUGIN_PATH: /Users/Francois/Development/dist.old copy/MakeHuman.app/Contents/PlugIns:/Users/Francois/Development/dist.old copy/MakeHuman.app/Contents/MacOS Traceback (most recent call last): File "/Users/Francois/Development/dist.old copy/MakeHuman.app/Contents/Resources/__boot__.py", line 316, in <module> _run() File "/Users/Francois/Development/dist.old copy/MakeHuman.app/Contents/Resources/__boot__.py", line 311, in _run exec(compile(source, path, 'exec'), globals(), globals()) File "/Users/Francois/Development/dist.old copy/MakeHuman.app/Contents/Resources/makehuman.py", line 648, in <module> main() File "/Users/Francois/Development/dist.old copy/MakeHuman.app/Contents/Resources/makehuman.py", line 640, in main application.run() File "./core/mhmain.py", line 1669, in run self.start() File "./lib/qtui.py", line 687, in start self.OnInit() File "./core/mhmain.py", line 1638, in OnInit mh.Application.OnInit(self) File "./lib/qtui.py", line 674, in OnInit debugdump.dump.appendQt() File "./lib/debugdump.py", line 145, in appendQt self.write("QT.PLUGIN_PATH_ENV: %s" % os.environ['QT_PLUGIN_PATH']) File "UserDict.pyc", line 23, in __getitem__ KeyError: 'QT_PLUGIN_PATH'
#3 Updated by LaurentR2D2 (Forum User) almost 4 years ago
This is effectively the problem, and raziel2001au has given me the way to solve it. I quote him below :
"Some additional debugging was added in the last couple of days, and for some reason that is causing MH to crash on Mac. For the time being, open up the MakeHuman.app package contents and navigate to: Contents/Resources/lib. Delete 'debugdump.pyc' and edit 'debugdump.py', removing the following line:
self.write("QT.PLUGIN_PATH_ENV: %s" % os.environ['QT_PLUGIN_PATH'])"
Following its instructions, I can launch Makehuman without problem.
#10 Updated by LaurentR2D2 (Forum User) almost 4 years ago
I've built the last revision last night on my Mac, and the problem is solved. I can launch Makehuman without problem. Here is the url to the dmg file :
Also available in: Atom