Skip to content

.ls command produces no output #315

@mdkendall

Description

@mdkendall

The .ls command is intended to list the contents of the on-device filesystem, but it produces no output. The "Mpy Remote Workspace" does correctly show the files, as does entering the uos.listdir() command manually.

Steps to reproduce

  1. Connect Pico 2 W to host, vREPL terminal opens and shows welcome message
  2. Enter .ls in the vREPL terminal

What happens?

No output.

What were you expecting to happen?

Listing of files on the device.

Any logs, error output, etc?

MicroPython v1.27.0 on 2025-12-09; Raspberry Pi Pico 2 W with RP2350
Type "help()" for more information or .help for custom vREPL commands.

>>> .ls
>>> import uos
>>> uos.listdir()
['main.py']
>>> 

Any other comments?

Repeating the command does not help. It always produces no output, even after manually issuing the import uos command.

Which version of MicroPico are you using?

v4.3.4

Support info

Version: 1.107.1 (system setup)
Commit: 994fd12f8d3a5aa16f17d42c041e5809167e845a
Date: 2025-12-17T14:15:14.850Z
Electron: 39.2.3
ElectronBuildId: 12895514
Chromium: 142.0.7444.175
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Windows_NT x64 10.0.26200

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions