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

    Running out of file descriptors

    Micropython
    1
    1
    4.2k
    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.
    • T
      toddkrein
      last edited by

      I'm getting a wierd error when I try to rerun my program:

      exec(open("junk.py").read(),globals())
      hello
      I am loading
      Starting main()
      Starting MQTT
      <MQTTClient object at 3fff0720>
      Setting the date/RTC
      2000/01/01 0:10:55
      2000/01/01 0:10:55
      Running off the end
      exec(open("junk.py").read(),globals())
      E (658885) vfs_fat: open: no free file descriptors
      Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      OSError: [Errno 2] ENOENT

      a ^D soft reset seems to fix it, but...

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