Mac Web IDE problems. #5825
Replies: 1 comment
-
Posted at 2014-07-17 by @gfwilliams Argh, sorry it's not working... Only thing I can think of right now is that maybe you have an old version of Chrome? Can you check in settings and see what it is? Posted at 2014-07-17 by Ollie Hi Gordon, really appreciate you taking the time out to reply to my post. I don't think it's Chrome, I'm running what my Mac tells me is the latest (v36.0.1985.125). We have Screen/Terminal access working fine - so we can work with the board - but the IDE would be the icing on the cake. Posted at 2014-07-18 by @gfwilliams Hmm. My wife has 10.6.8 on her laptop iirc so I'll give this a go next week. As you've installed from git you should be able to right click, inspect element, and swap to the console. It might show you if there are some errors? Posted at 2014-07-18 by @allObjects Experienced the same... but for some unknown reasons/actions/restarts/clicking all over the place/hitting esacpe, it came alive and works just fine ever since (I'm using a 2009 MacBook Pro) with OSX 10.9.3 Posted at 2014-07-18 by Ollie This is the Dev tools console output (attached console.txt). I went through the connection process, trying to type in the terminal pane, and then trying to push the default script. There quite a few errors and one warning. This line represents the bulk of the errors: Error: Invalid value for attribute transform="translate(Infinity,7.0625)" Edit: Additionally I get can an error which relates to terminal.js when clicking the clear screen button 3 Attachments: Posted at 2014-07-21 by @gfwilliams Hi Ollie, Thanks for checking that. The transform errors are from Blockly (the graphical code editor) and you can basically ignore those. The other error is something I believe I fixed pretty recently... It's not in the Web Store app, but it's in GitHub. Could you try Posted at 2014-07-21 by Ollie Just pulled, 1 change, but nothing to terminal.js Fast-forward Posted at 2014-07-21 by @gfwilliams Ok, that's odd. The reason I thought you might have the old version is that the error:
Actually occurs here:
so it seems like it's impossible... It's explicitly checking that it's not undefined before accessing. I've just noticed that on the git version, clear screen is broken in another way though - I have just fixed that. I'll check on the older mac now and see if I have any problems. Maybe to narrow it down, could you try: https://chrome.google.com/webstore/detail/diginow-serial-terminal/kfmecbejcnepbfdcdbbhfcjmdmmcmoah?hl=en That's another terminal app for Chrome - so we could see if the problem is the Espruino Web App, or something in Chrome itself. If @allObjects got his to work eventually, it might not be an app thing after all. Posted at 2014-07-21 by @gfwilliams Just tried on a 10.6.8 mac (including using a different Chrome-based terminal app) and it doesn't work for me either. I tried Chrome Canary (the beta version) and that doesn't work on It definitely did work at some point in the past though, and on Chrome and a Mac with 10.9.3 it seems to work fine. I'm not sure what to suggest at the moment :( I'd be interested to hear whether this is common amongst all Macs. I guess it might be that I end up making a version of the Web IDE that'll work as an app (without needing Chrome). Posted at 2014-07-21 by Ollie Yes, I thought that about the undefined check when I read it. I've pulled the latest (which did update the terminal.js file), and got the other terminal app you linked to. I should probably test with the Espruino connected - I don't have it at the moment - so I'll revert later this afternoon. Posted at 2014-07-21 by Ollie Well if you can replicate at least I'm not going mad. I think we shelve it for now. We got the IDE going on a Linux Netnook, so we're not missing out. At least it's on you Radar. Would you like me to add something to the issue tracker on Git? Really appreciate the time you spent on this with me. Best Ollie Posted at 2014-07-21 by @gfwilliams No problem - sorry it doesn't work for you! It'd be great if you could stick something in the issue tracker - and maybe link to this thread. I'll try and submit it to the Chrome dev team. The Web App seemed like a good idea at the start, but over the last year I've hit a few issues where Chrome has just auto-updated and changed/broken something that I've had to work around. I guess that's the problem with depending on relatively new technology. Posted at 2014-07-22 by gnz I use the web IDE on a Mac 10.9.4 and it works perfectly. Right now I don't have a lot of free time to put into it, but I'll do my best to contribute to the web IDE project to keep it going if needed! :) Cheers Posted at 2014-07-23 by @gfwilliams @GNZ, thanks! I definitely won't be killing the Web IDE! However because the IDE is basically all HTML and JavaScript, it should be possible to port it to other platforms or to make it so it isn't dependent on Chrome... For instance I'd love to see an Android port of it :) Posted at 2015-08-30 by cwilt Was a cure for this found? On my mac pro running 10.6.8 I can connect to Pico using putty without issue but the webIDE and another serial terminal running as chrome app can not. Posted at 2015-09-07 by @gfwilliams Do you have another computer that you could try updating the Pico's firmware to 1v80 on? There were a few changes in that which could have made it behave a bit better on Macs. If you don't have another computer handy then you could follow the instructions for DFU update under the Advanced Reflashing heading on this page. It's just a bit more involved. Posted at 2015-09-07 by cwilt I have done both with no improvement. Running XP in a VM allows me to access it for now. I may try creating a wireless system for it using a couple of wixels. Posted at 2017-10-05 by stevo Having the same issues accessing the terminal in Web IDE. Keys typed into the terminal do not show (tried hitting 'Enter' key to see if interface would respond). No luck. Console produces no errors. Only one warning.
Posted at 2017-10-05 by @allObjects @user81977, I do not know what happened here. Can understand the frustration... Posted at 2017-10-05 by @allObjects @user81977, Yes, things can be entered in the console (left side). Espruino will interpret as soon as a complete JavaScript expression is entered. The piece of code as some how hinted in the log - blink - is meant to be entered in the editor (right pane) and uploaded from there. If you did so, I wonder if the USB connection was steady while things were going on... I assume you are on an Espruino board. It's really weird what shows in the log... like Espruino is spilling its gut... Could you trie to start over? I using all kinds of Macs, even 8+ year old models and they do all just fine... So, do please not give up yet... Posted at 2017-10-05 by @gfwilliams what board are you trying to connect to? looks like it's not an official Espruino board? (or if it is, you might be connecting to the wrong port). If it's an ESP8266/32 which seems likely, have you changed the baud rate to match? Either way - please ask on the section of the forum specifically for other boards - most likely they'll be able to help out much better. Posted at 2017-10-05 by stevo Thanks Gordon. I've been dipping my toe into the deep end as far as micro controllers go. Bought a NodeMCU ESP8266 on a whim. Tried my hand at Lua got things to work, but frankly I just don't like the syntax. So, I've been on a quest to get JS on it. Thank you for allowing us even smidgen of hope to use Espruino on third-party boards. <3 From the looks of the log I had assumed it wasn't a problem with the connected board but rather a problem with the dialog between the WebIDE and OSX. I've been searching all over and this is the only thread I could find that talking about the problem with any detail. I'll jump to the other forum to ask there. You may be correct that it's simply an issue with the connection to the board itself. I've since tried another route (re-flashing espruino esp8266 "4mb" with Flasher.js and thingssdk). With that in mind, thingssdk and using the tutorial found on espruino.com
As well as the WebIDE error I posted earlier: Thanks for the help! Posted at 2017-10-05 by stevo
lol, I must've had tunnel visioned search terms last night. Posted at 2017-10-06 by @gfwilliams No problem! Do you have the link to the forum post that fixed your problem? It might help someone else if they find this thread the same way you did :) Posted at 2017-10-06 by stevo Nope no answer to the issue yet. My hunch is that I need to flash latest and swap out the boot file For reference this is the board I'm working with: HiLetgo New Version ESP8266 NodeMCU LUA CP2102 ESP-12E Internet WIFI Development Board Open source Serial Wireless Module Works Great with Arduino IDE/Micropython* *note: It has 'Amica' printed on the underside. I'll try to only post in this thread if an answer or a glimmer of one is found. Posted at 2017-10-13 by stevo For anyone else having the same issues. I've started a thread specifically for the device I had issues with [NodeMCU ESP8266 12E Amica] (http://forum.espruino.com/conversations/311849/). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2014-07-17 by Ollie
Enjoying our new Espruino board - opens up a world of possibilites for me and the kids - but am having some issues with the Web IDE on my Mac (10.6.8)
I have no issues using 'screen', that connects lovely, but I'm trying to set the Web IDE up for my kids and the GUI scratch style interface.
First I downloaded it via Chrome, and could not key anything to the left pane 'terminal', nor push the default LED script up. Tried both the TTY and CU interfaces which appear.
Tried to flash the firmware via the IDE that also failed - with error referencing not being able to find STM Loader. Same with the advanced flashing option, when I pointed it at a file on your website.
Managed to flash the device using Python thinking the firmware may be too old, but still the same issues in the IDE.
Uninstalled the IDE and then cloned your Github repo but unfortunately the issues persist.
Can anyone help me on this one? If I can offer up any more info about my system please let me know.
Beta Was this translation helpful? Give feedback.
All reactions