circuitpython: Web Workflow file manager screen occasionally doesn't list files

CircuitPython version

Adafruit CircuitPython 8.0.0-alpha.1-69-gbc926b041-dirty on 2022-07-26; Adafruit QT Py ESP32C3 with ESP32-C3FN4
Adafruit CircuitPython 8.0.0-alpha.1-69-gbc926b041-dirty on 2022-07-26; Adafruit Feather ESP32S2 with ESP32S2
Adafruit CircuitPython 8.0.0-alpha.1-69-gbc926b041-dirty on 2022-07-26; Adafruit Feather ESP32S3 4MB Flash 2MB PSRAM with ESP32S3

Circuit Python Built from Pull Request #6651

Code/REPL

cmd = ""
while cmd.upper() != "EXIT":
    cmd = input(":>")

Behavior

Upon opening or refreshing the Web Workflow file manager, occasionally the displayed directory will be blank and no files will be listed.

image Usually the browser dev tools console displays the following message:

image

The following messages have also been displayed though:

C3 file browser dev console errors C3 file browser when at press any key

When this issue does occur, simply refreshing the file manager browser window usually resolves it.

Description

This issue is easiest to reproduce on the ESP32-C3 but I have seen it happen on both the S2 and S3. In my testing of the C3 board the networking has been getting better, but has been somewhat hit or miss. I may be at the edge of it’s range from my wireless router.

Additional information

I did this testing using builds from PR https://github.com/adafruit/circuitpython/pull/6651

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 20 (7 by maintainers)

Commits related to this issue

Most upvoted comments

This is an entire debug output from a failed file manager refresh.

DEBUG_output.txt