Skip to content

Opening files from flash in binary mode does not work unless board is plugged in #10500

@Lana-chan

Description

@Lana-chan

CircuitPython version and board name

Adafruit CircuitPython 9.2.8 on 2025-05-28; M5Stack Cardputer with ESP32S3

Code/REPL

with open("/test.txt", "rb") as f:
	print(f.readlines())

Behavior

No errors or crashes are produced, but if the code is run while the board is not plugged into a computer, it will hang until the board is plugged into a computer again.

If the code is run while the board is plugged into a computer, the code runs as expected without hangs.

Opening files without choosing rb mode does not seem to cause the code to hang.

Description

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    boardNew board or update to a single boardbugesp32-s3

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy