platformio / platformio-atom-ide

PlatformIO IDE for Atom: The next generation integrated development environment for IoT
https://atom.io/packages/platformio-ide
Apache License 2.0
476 stars 71 forks source link

platformio-ide crashes atom #2412

Closed expert3411 closed 4 years ago

expert3411 commented 4 years ago

platoformio im very new to all things coding and im trying to get marlin on my skr1.4 for my ender 3. Im running on the newst version of windows and every time platformio is installed it says "editor is not responding" and then asks if i want to "force close". I've done the usual thing and uninstalled it and atom then re downloading but nothing happens. I've even tried it on my laptop but the same issue occurred

gnu-emu commented 4 years ago

Hi, I had same issues on Ubuntu and macos. I managed to get rid of the freeze by removing ~/.atom/packages/platformio-ide folder and did a:

apm install platformio-ide@2.6.0

after that atom starts and installs the updates to version 2.7.1 (if autoupdate is active) :+1:

gnu-emu commented 4 years ago

Seems to be the same issue: https://github.com/platformio/platformio-atom-ide/issues/2411

TR7Mike commented 4 years ago

I looked to move over from Visual Code to Atom (v1.49 installer) for Arduino dev. So a completely fresh install on Win10 that's never seen Atom before. As soon as I install PlatformIO it hangs the main UI, but the menus work. Every now and again the Wait/Close error appears as in the OP.

I've tried on both my main desktop and laptop with exactly the same issue.

No way past other than to remove the Atom user folders (AppData Local and Roaming), but then can't access PlatformIO.

SarenT commented 4 years ago

Same here on Ubuntu 18.04 however installing 2.6.0 as mentioned in #2411 doesn't fix the issue. PlatformIO is totally unusable for me at the moment. Update on my side: it turned out to be the x-terminal package causing the editor crash somehow. Removing it from .atom/packages/ solved the issue for me.

jmpzero commented 4 years ago

I am having the same problem on a fresh Windows 10 Pro and a fresh installation of Atom (1.51.0). Whenever I install only the platformio-ide, the Atom GUI freezes after some time, and I need to restart it. I can only access the menu bar and that's it.

My solution: I found the config.js file, there are several packages in the ATOM_DEPENDENCIES, which I installed by hand in Atom. After the manual installation I installed PlatformIO from within Atom and all of a sudden I could see a) the update window, where PlatformIO tells me what it is currently installing and b) I could use Atom after a restart.

The required packages are:

This solution is more a workaround or diry hack, but it works so far (at least for me).

ivankravets commented 4 years ago

Please update to 2.7.2. Sorry for the issue.

ptsonkov commented 3 years ago

@ivankravets version 2.7.2 crash as well, most of the time ask to force close Atom, but sometimes (rare) there is different message - Tell that Platformio is build on the top of Python 3.+ but can't find Python (3 options available: Install python, show where is python.exe and ignore message) Last stable version for me is 2.6.0

ChrisLomont commented 3 years ago

Facing same issue, Win 10, VS Code 1.52.1. After spending far too long trying to get this to work, rebooting, fiddling with all sorts of ad-hoc solutions from the web, and seeing how long this issue has been affecting users, I'm moving on to other solutions. PlatformIO is too unusable to get any work done in. I'd be afraid at this point if it did get working a VS code or platform IO update would simply make work impossible again.