Skip to content

Directory Listing in Thonny on latest 10.x #10289

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
relic-se opened this issue Apr 24, 2025 · 3 comments · Fixed by #10291
Closed

Directory Listing in Thonny on latest 10.x #10289

relic-se opened this issue Apr 24, 2025 · 3 comments · Fixed by #10291
Assignees
Labels
bug cpython api modules from cpython regression Things that used to work but don't any longer
Milestone

Comments

@relic-se
Copy link

CircuitPython version and board name

Adafruit CircuitPython 10.0.0-alpha.2 on 2025-04-04; Pimoroni Pico Plus 2 with rp2350b
Adafruit CircuitPython 10.0.0-alpha.2-36-g53a856b67a on 2025-04-23; Pimoroni Pico Plus 2 with rp2350b

Code/REPL

# Not applicable

Behavior

Adafruit CircuitPython 10.0.0-alpha.2 on 2025-04-04 (and 9.2.7 on 2025-04-01); Pimoroni Pico Plus 2 with rp2350b
Everything works as intended.
Image

Adafruit CircuitPython 10.0.0-alpha.2-36-g53a856b67a on 2025-04-23; Pimoroni Pico Plus 2 with rp2350b
Each file appears as an empty directory that can be entered into. The path breadcrumbs include a "%A" directory.
Image

If you select "CircuitPython device" to go above the "%A" directory in the breadcrumbs, the file list appears normal.
Image

But if you attempt to load one of those files, it fails and the device becomes unresponsive until it is soft-reset.
Image

Description

No response

Additional information

No response

@relic-se relic-se added the bug label Apr 24, 2025
@relic-se
Copy link
Author

relic-se commented Apr 24, 2025

I misread the path. It looks like a "%A" but is actually "�A". The first character is actually hex #05 or "Enquiry".

@tannewt tannewt added this to the 10.0.0 milestone Apr 24, 2025
@tannewt tannewt added cpython api modules from cpython regression Things that used to work but don't any longer labels Apr 24, 2025
@tannewt
Copy link
Member

tannewt commented Apr 24, 2025

My guess is that this was introduced in #10263. Any chance you can test a build from S3 before that?

@relic-se
Copy link
Author

That's the one! I've tested it, and you're exactly right.

Works: adafruit-circuitpython-pimoroni_pico_plus2-en_US-20250422-main-PR10271-ba69a59.uf2

Doesn't work: adafruit-circuitpython-pimoroni_pico_plus2-en_US-20250422-main-PR10263-492f6e9.uf2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug cpython api modules from cpython regression Things that used to work but don't any longer
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants