Issue when saving
jacobamey opened this issue · comments
hello, when I save a file I get an error in the upper right of atom. It appears to be complaining about system based packages. I am currently working with in Fedora 25.
- unexpected end of file for BASH_FUNC_sc1 and BASH_FUNC_module
I've included a picture of the error in question.
everything seems to work fine until linter-ansible-linting is enabled.
You have hit on the famous Fedora BASH bug. Check AtomLinter/linter-puppet-lint#68 (coincidentally a repo I maintain) for the original report and fix.
Haha, I love the "Famous Fedora BASH bug" comment. It really does look famous by all the links to the original submitter.
Well thank you, that was a pretty easy fix at least. for everyone else, I can confirm in Fedora 25 this fix is still viable.
The Fix:
sudo dnf remove scl-utils
reboot and your good to go.
How is this a proper fix? messing about with packages that will most likely be installed for a reason?
What if people DO need this package?
As mentioned in the puppet lint issue, people are using docker to debug their code.
better solution:
create a file: ~/.local/share/applications/atom.desktop
[Desktop Entry]
Name=Atom
Comment=A hackable text editor for the 21st Century.
GenericName=Text Editor
Exec=/usr/bin/atom %F
Icon=atom
Type=Application
StartupNotify=true
Categories=GNOME;GTK;Utility;TextEditor;Development;
MimeType=text/plain;
this uses the /usr/bin/atom shellscript to start atom instead of the default file: /usr/share/applications/atom.desktop
[Desktop Entry]
Name=Atom
Comment=A hackable text editor for the 21st Century.
GenericName=Text Editor
Exec=/usr/share/atom/atom %F
Icon=atom
Type=Application
StartupNotify=true
Categories=GNOME;GTK;Utility;TextEditor;Development;
MimeType=text/plain;