Hi, Unreal gurus,
I’ve been trying to build HTML5 version of the games.
But somehow it always failed in this manner:
[289/289] python IntuitiveMeleeCombat.js
wrote symbol map file to /home/sbbg/Projects/Unreal Projects/IntuitiveMeleeCombat/Binaries/HTML5/IntuitiveMeleeCombat.js.symbols
Traceback (most recent call last):
File "/home/sbbg/Shared/UnrealEngine/Engine/Extras/ThirdPartyNotUE/emsdk/emscripten/1.37.9/tools/separate_asm.py", line 8, in <module>
import asm_module
File "/home/sbbg/Shared/UnrealEngine/Engine/Extras/ThirdPartyNotUE/emsdk/emscripten/1.37.9/tools/asm_module.py", line 4, in <module>
import shared, js_optimizer
File "/home/sbbg/Shared/UnrealEngine/Engine/Extras/ThirdPartyNotUE/emsdk/emscripten/1.37.9/tools/shared.py", line 48
except Exception, e:
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/sbbg/Shared/UnrealEngine/Engine/Extras/ThirdPartyNotUE/emsdk/emscripten/1.37.9/emcc.py", line 2396, in <module>
run()
File "/home/sbbg/Shared/UnrealEngine/Engine/Extras/ThirdPartyNotUE/emsdk/emscripten/1.37.9/emcc.py", line 2090, in run
subprocess.check_call([shared.PYTHON, shared.path_from_root('tools', 'separate_asm.py'), js_target, asm_target, js_target])
File "/usr/lib64/python2.7/subprocess.py", line 186, in check_call
raise CalledProcessError(retcode, cmd)
I’m not sure if it’s problem of python version on my system.
I currently have python 2.7.13 & 3.4.6 installed.
Any suggestion is appreciated,
thank you.