Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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.


Log in to reply