Unsolved emsdk/upstream/emscripten/emrun: 9: Syntax error: word unexpected (expecting ")")
-
Hi guys,
Am compiling on Ubuntu 20.04 LTS, Qt5,... my first project with QtWebAssembly.
But when I try to launch after a successful build, I get the error:from: can't read /var/mail/tools emsdk/upstream/emscripten/emrun: 9: Syntax error: word unexpected (expecting ")")
Seems to have a problem with the emrun script:
if __name__ == '__main__': python_selector.run(__file__)
The reference to
mail
means to me that emrun is running 'sh' or 'bash' on a python script. Very odd. -
Just met the same issue on Qt Creator 5 this week.
My solution is using Qt Creator 6 beta 2 "Qt Creator 6.0.0-beta2 (5.83.0)" which is just released one week earlier.
(I also tried beta 1 but the issue is not patched in that version yet.) -
@Seishin Am stuck with the old Qt Creator 5... but thanks for the help :)
(Never got around that problem in the end, and gave up!)