🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    M5Burner JavaScript Error

    Scheduled Pinned Locked Moved SOFTWARE
    5 Posts 4 Posters 7.0k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B Offline
      bestudio
      last edited by

      I am trying to use M5Burner (version 2.3.0) on Mac OS Monterey (version 12.3.1) to burn the UIFlow firmware to my M5Stack BASIC. The firmware downloads successfully, but when I click 'Burn' or 'Configuration' I receive the following JavaScript error:

      Uncaught Exception:
      Error: spawn python ENOENT
      at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19)
      at onErrorNT (internal/child_process.js:456:16)
      at processTicksAndRejections (internal/process/task_queues.js:80:21)
      

      I have installed the latest Silicon Labs VCP driver.

      I have tried suggestions to ensure Python is installed correctly and any python alias to python3 is specified in my .zshrc file, but nothing works. My Python version, incidentally, is 3.8.9.

      Is there a way around this problem? Thank you in advance.

      1 Reply Last reply Reply Quote 1
      • S Offline
        SerjPr
        last edited by

        Python has been removed in the latest Mac OS update. You need to specify the path to python 3 in the M5Burner script. You just need to know where to change it. The same problem appeared in arduino ide.

        1 Reply Last reply Reply Quote 0
        • S Offline
          SerjPr
          last edited by

          In the latest version. M5Burner macOS x64 v3.0. this issue has been fixed.

          1 Reply Last reply Reply Quote 0
          • ajb2k3A Offline
            ajb2k3
            last edited by

            Ok, I have got to the bottom of this error and will have a written guide coming soon but will have to wait to get my MAcbookpro repaired before making a video.

            The error is caused on OS X buy not having Xcode, Xcode extensions and Python not being installed and set up correctly.

            UIFlow, so easy an adult can learn it!
            If I don't know it, be patient!
            I've ether not learned it or am too drunk to remember it!
            Author of the WIP UIFlow Handbook!
            M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

            1 Reply Last reply Reply Quote 0
            • H Offline
              Henrique Marti
              last edited by

              I have Ubuntu 22.04 and to solve it I created a symbolic link from /usr/bin/python3 to /usr/bin/python.

              M5 Burner tries to use the "python" command and gets an error, because the existing command is "python3". With the symbolic link this is resolved.

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post