arduino / lab-micropython-editor

Arduino Lab for MicroPython is an Integrated Development Environment (IDE) for MicroPython.
GNU Affero General Public License v3.0
224 stars 28 forks source link

Stuck in loading files #137

Closed murilopolese closed 3 weeks ago

murilopolese commented 3 weeks ago

Problem:

In order to use the editor there must be a folder setup for saving/loading local files. This is the initial condition at first loading of the app. If the selected folder gets renamed, deleted or moved, the app gets stuck loading files.

Issue: #135

How to reproduce

  1. Open Arduino Lab for MicroPython
  2. Select local folder if needed
  3. Exit Arduino Lab for MicroPython
  4. Rename selected local folder
  5. Open Arduino Lab for MicroPython again

This should make the app stuck in loading files.

Fast solution:

  1. Open the file explorer and paste %APPDATA% on the address bar
  2. Remove the folder Arduino Lab for MicroPython

VirtualBox_WinDev2311Eval_05_11_2024_10_10_58

VirtualBox_WinDev2311Eval_05_11_2024_10_14_05

Bugfix solution:

If refresh local files fail, make user pick a folder again.