-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Package installation causing Atom to crash. #90
Comments
The same happened here. The only solutions was to reinstall Atom... |
same here. delete the package folder fix the crashes. |
Funny thing is it kept on crashing even after I did that. So any help as to why it happened or what I could do to remedy it would be appreciated. |
In my case I couldn't wait for a fix and went with platformIO plugin, it works great for my arduino project. (upload, monitor and more..) |
I tried the new official beta 2.0 IDE, but it's absolutely underwhelming compared to Atom (but still better than the legacy one, of course). Did anyone tried to downgrade Atom? Could that work? |
Same issue here, none of the tools worked at any point, kept crashing atom once installed. Fix for the crashes was running |
I ended up using the official Arduino CLI and implementing some toolbar commands launched in a terminal plugin. Not bad: Arduino CLI is a very nice piece of software, my Atom integration is a little clumsy, but I'm happy with it. If someone is interested, I will spend some minutes to share my setup. |
I’d love to know the setup, as mine currently is just the beta IDE, which as described before is underwhelming. |
PlatformIO is great, but the thing I want something truly lightweight. |
So, here's my setup. First thing, I installed Arduino CLI and followed the getting started guide to make sure it runs fine from the command line. Then, these are the Atom packages to install for toolbar and terminal: flex-tool-bar
language-arduino
terminal-commands
tool-bar
x-terminal This is the configuration for the terminal package: "x-terminal":
spawnPtySettings:
projectCwd: true
terminalSettings:
colors:
selection: "#ffffff"
defaultOpenPosition: "Split Down"
leaveOpenAfterExit: false
runInActive: true
title: "Terminal"
xtermAddons: {} This is the {
"arduino-cli:compile": [
"direnv allow \"${project}\"",
"arduino-cli compile -b \"$ARDUINO_FQBN\" \"${dir}\""
],
"arduino-cli:upload": [
"direnv allow \"${project}\"",
"arduino-cli compile -b \"$ARDUINO_FQBN\" -u -p \"$ARDUINO_PORT\" \"${dir}\" && echo \"Done uploading.\""
],
"arduino-cli:board-list": [
"test -f \"${project}/.envrc\" && atom \"${project}/.envrc\"",
"arduino-cli board list"
],
"arduino-cli:serial-monitor": [
"screen $ARDUINO_PORT"
]
} I use
Finally, here's the [
{
type: "button"
icon: "check"
callback: ["window:save-all", "arduino-cli:compile"]
tooltip: "Arduino: Save all and Compile"
}
{
type: "button"
icon: "arrow-right"
callback: ["window:save-all", "arduino-cli:upload"]
tooltip: "Arduino: Save all and Upload"
}
{
type: "button"
icon: "terminal"
callback: "arduino-cli:serial-monitor"
tooltip: "Arduino: Serial monitor"
}
{
type: "button"
icon: "plug"
callback: "arduino-cli:board-list"
tooltip: "Arduino: List connected boards"
}
{
type: "spacer"
}
{
type: "url"
icon: "circuit-board"
url: "https://www.arduino.cc/reference/en/"
tooltip: "Open: Arduino reference"
}
{
type: "spacer"
}
{
type: "button"
icon: "tools"
callback: "settings-view:view-installed-packages"
tooltip: "Atom packages settings"
}
{
type: "button"
icon: "gear"
callback: "flex-tool-bar:edit-config-file"
tooltip: "Edit Toolbar"
}
] |
Sounds good. Thanks for giving the setup, I’ll try it when I get the chance to do so. |
Got the same result - totally trashed my entire Atom set up!!!!!!!!!! Never had a problem with other Atom extensions. |
still crashing...
That is using Atom's package manager to remove the broken package, without having to re-install Atom. |
Is it worth creating a package that uses |
I don't know 🤷♂️ I still think it's better fixing this issue. My setup works, but IMHO it has too many dependencies to make a package out of it (not only But, if you're thinking of creating a package that relies on |
The installation of the package causes the Atom Editor to simply crash. When it happened the first time, I thought some configuration of mine caused the editor to crash, so I removed the install as well cleared all the configuration files. Then, after I reinstalled Atom from scratch, I downloaded the package again, and again the editor simply crashes every time I try to load the application.
The text was updated successfully, but these errors were encountered: