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

    M5Burner on linux mint doesn't work

    Scheduled Pinned Locked Moved Bug Report
    3 Posts 2 Posters 5.8k 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.
    • L Offline
      L0cutus
      last edited by

      Hello,
      after i start to burn the UIFlow to my M5Stick Plus i obtain this errors:

      =====================================

      Start Burn

      --chip esp32 --port /dev/ttyUSB0 --baud 750000 --before default_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0x3ff000 /home/l0cutus/Scaricati/M5Burner/packages/fw/other/wifi.bin 0x1000 /home/l0cutus/Scaricati/M5Burner/packages/fw/stickc/UIFlow-v1.6.4-plus.bin

      Traceback (most recent call last):
      File "/home/l0cutus/Scaricati/M5Burner/packages/tools/esptool.py", line 21, in <module>
      import argparse
      File "/usr/lib/python3.8/argparse.py", line 88, in <module>
      import re as _re
      File "/usr/lib/python3.8/re.py", line 145, in <module>
      class RegexFlag(enum.IntFlag):
      AttributeError: module 'enum' has no attribute 'IntFlag'
      Error in sys.excepthook:
      Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 62, in apport_excepthook
      if not enabled():
      File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 24, in enabled
      import re
      File "/usr/lib/python3.8/re.py", line 145, in <module>
      class RegexFlag(enum.IntFlag):
      AttributeError: module 'enum' has no attribute 'IntFlag'

      Original exception was:
      Traceback (most recent call last):
      File "/home/l0cutus/Scaricati/M5Burner/packages/tools/esptool.py", line 21, in <module>
      import argparse
      File "/usr/lib/python3.8/argparse.py", line 88, in <module>
      import re as _re
      File "/usr/lib/python3.8/re.py", line 145, in <module>
      class RegexFlag(enum.IntFlag):
      AttributeError: module 'enum' has no attribute 'IntFlag'

      Burn Failed

      ==========================================================================

      Any idea ?
      Thanks !

      1 Reply Last reply Reply Quote 0
      • ozbkO Offline
        ozbk
        last edited by

        Remove the packages/tools/enum in the M5Burner directory and try it again.

        1 Reply Last reply Reply Quote 0
        • L Offline
          L0cutus
          last edited by

          GREAT! it worked thanks!

          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