Opening a file in the Espruino Web IDE #6626
Replies: 1 comment
-
Posted at 2022-03-07 by Micha I have this with firefox on windows. I hit F12 to see the console and got Do you get any errors in your devtools console when you hit the icon (I would guess it is F12 too)? Posted at 2022-03-07 by @gfwilliams Thanks - I'd recently noticed this too on a new PC, but on the laptop I'm on right now it's fine. What version of Chrome do you have @skm? @micha that may actually be a separate issue. However even if you have it running on Firefox you're unlikely to be able to do much with it as Web Serial/Bluetooth aren't implemented on that Posted at 2022-03-07 by Micha using it for the emulator "when not at home" ;) Posted at 2022-03-07 by @gfwilliams Just fixed the open file issue on Firefox - not live on /ide yet but https://espruino.github.io/EspruinoWebIDE/ will work. As far as Chrome goes:
I'm a bit stumped to be honest - it feels like a web browser bug, because it's pretty obvious from the call stack when you step through it that the function is being called in response to a user gesture. Posted at 2022-03-07 by @gfwilliams Should be fixed - try now Posted at 2022-03-07 by skm Yes, confirmed working for me now, thanks! For the record, I am using v99.0.4844.51 on Linux. Posted at 2022-03-08 by @gfwilliams Ahh - so @skm it's possible it was a Linux issue. I wonder whether the OS-provided file chooser fails to run if there's no 'description' for the file format (which ended up being the problem - according to the docs it's supposed to be optional). My Laptop may have worked because it used a different Linux distro. It seemed like an odd problem as usually the web browser would give a better, more targeted error when something like that happens |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2022-03-06 by skm
I'm sure it used to pop up some kind of file selector, but now when I click on the folder icon to try to open a file in the Web IDE (Chrome/Linux), nothing happens. Anyone come across this problem?
Beta Was this translation helpful? Give feedback.
All reactions