🤖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

    Bug Report
    2
    3
    4.7k
    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
      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
        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
          L0cutus
          last edited by

          GREAT! it worked thanks!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post