arduino/lab-micropython-editor

Stuck in loading files

genx0521 opened this issue · 10 comments

Capture d’écran 2024-09-14 195834

Hello,

I have been stuck loading files while opening the Arduino lab for micropython.

It was working fine and could work with it without a problem. I'm not sure what happened between it working and not working. I have deleted the folder and unzipped a fresh version downloaded and still the same issue. I have tried previous versions as well and still have the same issue.

Any insight would be great.
;-)

Solved the problem - I opened the application as admin and it worked. Even though I am already the admin of my machine.

Had the same problem, the issue is that the tool saves the folder for local files, and if that folder is moved, renamed or deleted, the program is stuck on startup.

i have same problem.please help me.

The workaround for now is (at least for me it was) to open the devtools inside the arduino lab and check the console. There you can find a warning that some folder can't be found. Create that folder (or folders) so it exists again. Restart the app and you should be good to go.

Another solution that worked for me was; go into %appdata% and find the arduino micropython folder and delete it and restart the application.

hey folks

@genx0521 's is for now the best solution

Another solution that worked for me was; go into %appdata% and find the arduino micropython folder and delete it and restart the application.

on Windows the app stores some extra data which it expects at start, but we need to look at why it does so.
Thank you for your patience, we'll look into it

gkneen commented

To fix this on Linux Mint 22

  1. Open the Home folder, right click and choose "show hidden files"
  2. Open the .config folder
  3. Right click on the folder "Arduino Lab for Micropython" and choose "rename"
  4. I renamed mine to "Arduino Lab for Micropython.old"
  5. Restart the app. It should now ask for location to save micropython files
  6. Delete the .old folder if everything works

thanks everyone

a fix has been merged, we'll make a new release in a few days 🙏🏼

The workaround for now is (at least for me it was) to open the devtools inside the arduino lab and check the console. There you can find a warning that some folder can't be found. Create that folder (or folders) so it exists again. Restart the app and you should be good to go.

Hey can you please help me , what folder or file should i make, i saw the problems when i use the devtools inside the arduino lab

there are no xterm.js.map and xterm-addon-fit.js.map , and also lib folder
please, i cant make programs because i still stuck on the loading screen, idk what to do

where i can find the xterm.js.map and xterm-addon-fit.js.map file? i want to fix this bug, its so annoying because i want to use micropython for my esp32, not C/C++