vshymanskyy / ViperIDE

An innovative MicroPython / CircuitPython IDE for Web and Mobile
https://viper-ide.org
MIT License
402 stars 16 forks source link

ViperIDE with WebAssembly MP does not let you create directory at file creation dialog #15

Closed rkompass closed 4 months ago

rkompass commented 4 months ago

Describe the bug ViperIDE with WebAssembly MP does not let you create directory at file creation dialog. Pressing the + beneath a directory in the file manager panel and entering a name with / leads to an error:

 File "<stdin>", line 5, in <module>
OSError: 20

in a red box at the top right. While simple file creation or deletion (using + or x) works!

Setup

To Reproduce Steps to reproduce the behavior:

  1. Open the above link in a new browser window.
  2. Click in the file manager window the + besides the tmp directory and enter tmpdir/ for example.
  3. See error

Expected behavior Creation of the directory.

Actual Screenshots / Logs Screenshot_2024-07-16_17-47-23

Additional context none

vshymanskyy commented 4 months ago

I reproduced it, working on a fix