Web IDE problems? #6135
Replies: 1 comment
-
Posted at 2018-02-24 by ElectroChak Maybe not quite a problem with the screen but strange behavior. I can not download three of my own modules. Two can, and the third one, it does not matter which one - does not load. .........
Posted at 2018-02-26 by @gfwilliams Could you try turning off 'offline mode' in the IDE? That might help you I guess? Posted at 2018-02-26 by ElectroChak I work online all the time... By the way, I tried both modes with the same results ... Posted at 2018-02-26 by ElectroChak I found a way to circumvent it. I cut the path to the sandbox projects folder. It was "D: \ MyDocum \ MyProjects \ STM32F4-Discovery \ javascript \ projects" and it is now "D: \ MyDocum \ Espruino \ projects". In principle, you need to pay attention to this problem as a bug ... Posted at 2018-02-26 by ElectroChak And still it does not find the module from time to time ... Posted at 2018-02-26 by @gfwilliams
But have you turned Posted at 2018-02-26 by ElectroChak No, I have this option turned off all the time... except that switched on for a short time to check that in this mode it does not work normally too ... Posted at 2018-02-27 by ElectroChak I tried an old netbook with windows xp, intel atom and 1GB of RAM and the web IDE practically does not work and does not even see any one module ... Although my main PC is windows 10, intel core i3 and 4 gb RAM, but it seems to me, that it is the problem with the speed of the computer ... What are the basic PC requirements of the Web IDE? Posted at 2018-03-02 by @gfwilliams The IDE itself works usably on a Raspberry pi which is ~700MHz, 512MB RAM - so I'd have thought the netbook would be ok. However the
What do you mean? You can't connect to the hardware, or it's finding software modules that is the issue? Posted at 2018-03-06 by ElectroChak Connect to the hardware seems OK... The console shows lines from previously loaded program, but after the command "Send to Espruino" it completely freezes, so I stopped further attempts with my netbook ... Posted at 2018-03-06 by @gfwilliams Ok. I just fixed what I hope is the If you download the absolute latest version from https://github.com/espruino/EspruinoWebIDE then it should work for you. Posted at 2018-03-07 by Pi Something I have noticed is that the upload progress bar (right down corner) is almost instant in the new version (0.68.6), while previously it would go more slowly if I remember correctly. I'm just mentioning this because it may reflect some of the problems I'm having when uploading code (>2000 bytes), where I'd get frequent exceptions (even with code that doesn't run while uploading). Of course this may be related to my code or have something to do with my system, so it's more possible that this is not related to anything, just a thought. I'm controlling puck through Raspberry Pi btw. Posted at 2018-03-07 by @gfwilliams Interesting - so you're using the Web IDE on a Raspberry Pi, as a Chrome Web App, or just I noticed the progress bar wasn't there on the Windows NW.js port, but assumed that was related to the Noble backend - it's still there for me on the online IDE when using Web Bluetooth. Posted at 2018-03-07 by ElectroChak
Thanks, it works... Posted at 2018-03-07 by @gfwilliams Great! Hopefully I'll get a proper release out there soon. Posted at 2018-03-07 by Pi I'm controlling puck through EspruinoHub on Raspberry Pi Zero W, and raspberrypi.local:1888/ide/ on Chrome (on my pc). As I said, it's probably nothing, just mentioned it because it used to take some seconds for the bar to complete (depending on the size of the code), it would fill gradually, while now it goes instantly to full and then disappears. Posted at 2018-03-07 by @gfwilliams That really is strange - I just gave it a try through EspruinoHub here and it still works great with the progress bar... Posted at 2018-03-07 by Pi @gfwilliams probably is something related to my system then, not a big deal anyway :) Posted at 2019-01-13 by asez73 Hi, this is an old thread, however, I face some difficulties with the WebIde as a Chrome application and just the https://www.espruino.com/ide/. My Android version is 7.0. I was wondering if there could be some "hidden setting" to properly setup in Chrome? Thanks for your attention. Posted at 2019-01-14 by @gfwilliams a) That's odd - are other options remembered? When running from b) The 'Project' option isn't usable when the IDE is used from a website because Chrome doesn't provide the needed permissions - thanks for letting me know, I'll see about removing the page completely from Settings if it isn't supported. c) I think that's an Android issue. Posted at 2019-01-15 by asez73 Hi, b) Ok, so this is a feature reserved to the native application: I use the linux one on Ubuntu 16.04. c) It's just disapointing and onec I got used, yet some thing to do manually. By the way, I would greatly appreciate having an otion to peridically save the source AND journalise those saves (git commits with automatic commit comment would be nice). I guess, reading your answer, that it won't happen unfortunately. Thank's for your answer. Posted at 2019-01-15 by @gfwilliams I have a bit of an issue with saving in that Chrome's save functionality (for the web app) is rate-limited, so while I tried enabling a periodic save, if I do it too often then I hit the rate limit and it stops saving completely! Similar issues have come up quite recently as well, and I think that actually it might make a lot more sense for me to get rid of the cookie-based and chrome app based saving and instead do it via a login account on espruino.com (probably using the same login mechanism as the forum). That way I could ensure that the settings really were saved and persisted, but also I could keep a copy of the code in the IDE (without the rate limiting) and could even have the option of having multiple files stored online. Files in Git would be really nice - if GitHub provide an API for it, it might actually make sense to just add a plugin to the Web IDE that saved/loaded from Git. It shouldn't be that hard at all. However GitHub will almost certainly rate-limit too, so auto-saves are probably out :( Posted at 2019-01-15 by asez73 Hi again, Posted at 2019-01-16 by @gfwilliams
Me too - it's just that the Web Browser really restricts what you can do with local storage, which makes this sort of thing a nightmare. If anyone has example code that works better then I'm happy to try to integrate it in the IDE. Posted at 2019-01-27 by massive I'm seeing some weird connectivity issues in Web IDE: namely, I have two computers and connecting and interacting with the same Puck.js unit is very laggy on the other and snappy on the other. Both computers Macbooks with same operating system versions, the other is from 2013 and the other is brand new (late 2018). They are physically in the same place so things like location or external interference should not have an effect in this case, I suppose. The annoying thing is that the new computer, my main workstation, is the slower one. Sending a relatively simple ~100 line javascript file to Puck has so far taken as long as I have written this message, that is about 5 minutes, while it's more like half a minute with the other machine. Moreover, the BLE connection drops every now and then with the new computer. Haven't had any other BL problems with the system. Any thoughts? Posted at 2019-01-27 by Robin Sun 2019.01.27 Hi @massive please take the following comment lightly; I'm glad to see someone else has made similar if not the same observations. In my case, uploading 'sending' code gets progressively longer (initial ten-fifteen seconds to later over a minute) in duration until after five-twenty times in total delay frustration, I have to dis-connect, close and re-launch the IDE to continue.
Are your issues similar to what I went through, and still go through, since five months ago?
and
Observations: We have different OS's I experienced the same with any device, including the Puck Same app WebIDE - Or are you launching/running the website IDE? https://www.espruino.com/ide/ Are you able to add to this list? What you might try:
How much development (in days) has been done or how long have the Puck devices been left on? Are the batteries removed after each development session? Have you tried using a fresh battery? This might be of some help, are you running a virus checker and if so, does temporarily disabling it, allow the upload to occur?
What WebIDE version are you running? IDE >> Settings >> About What version of Espruino is currently flashed to the Puck? e.g. Have you flashed the most current? Would you please post the results of running: Posted at 2019-01-28 by @gfwilliams @robin I don't believe your previous problems with the Pico and with file loading from projects have any relation to @massive's issue - he's not using USB or Projects. I believe I also fixed the issue you had with the Pico months ago. @massive as Robin says if you're getting Bluetooth disconnects it's definitely worth checking your battery - when you get a connection you can try You could also try using the latest firmware (2v01 at the time of writing). 2v00 implemented some power saving functionality that detected a lack of usage and slowed down the connection to save power, however I noticed that on some computer/ide versions the transmission was slow enough that it wasn't able to kick the Puck back into a high-power mode. Version 2v01 is much more sensitive and has really improved that. You could try running the command Another potential issue is that most computers share the aerial for WiFi and Bluetooth. While it's not normally an issue, if you have loads of WiFi traffic that could interfere with Bluetooth? For instance I did a presentation where I had to mirror my whole screen onto the projector over WiFi. While doing that the communications over Bluetooth was slow and unreliable, but the second I stopped streaming it was fine even though WiFi was still enabled. Posted at 2019-01-30 by massive Hi, thanks for the your answers and sorry about the delay in answering. I'm using Web IDE, downloaded very recently from Chrome Web Store, namely version 0.70.6. Before that I used the Online web version. The puck is updated to most recent firmware I could find, 2v01.13, but the issue occurred with the previous one I had too; which I think was 2v00. I also tried to use Node-based version, but nw.js failed to install on my RasPi3b+, but that's another story I suppose. Battery shouldn't be an issue; it's currently at 96%. I also doubt that it is the culprit since the other computer is able to interact with the same Puck with same battery just fine. The same applies to WiFi interference; even though I'm not an expert, I would assume that it isn't the problem as another computer located literally next to the other works correctly. Basically the only thing which is different with the two computers is that the slower one has newer hardware. I'm in the same location, using same Puck with same battery, so I would (perhaps naively?) rule WiFi and battery out. I just had a several disconnections and very slow echo when I tried to get the battery percentage from Puck by typing the commands to the console. I haven't had time yet to try Posted at 2019-01-30 by massive Well, well, well. As an engineer I should've thought this before asking, but good old "have you tried turning it off and on again" helped. Merely restarting Chrome did not do the trick, but restarting the MacOS worked. Now, everything's fast even on the new laptop. Sorry about the trouble. Posted at 2019-01-31 by @gfwilliams Great - thanks for letting us know! It's a good one for me to remember if anyone else has this issue :) |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-11-23 by @gfwilliams
Has anyone had any issues with the new Web IDE? That is, apart from the current lack of code hints?
Just this morning I had an issue where the IDE screen went white after connecting. I've never had it before so I wonder if it's a Chrome update that's changed something...
But please let me know if you get this too!
Beta Was this translation helpful? Give feedback.
All reactions