getting errors everytime I open or close a file in Atom Editor - typeerror

Error Image
I am getting errors every time I open or close a new/existing file in Atom-Editor.
I tried to find on the link provided by the editor but no use.
Is there any way to fix this issue?!

Related

Cant open output file for Headcannon game engine error

Every time I try to download a template in HCGE it will say in the bottom left that "Cant open output file" Is there anyway to fix this? I cant download and play/edit templates

Vue.js file error "The file will not be displayed in the editor because it is either binary, very large or uses an unsupported text encoding."

I was working on a Vuejs project. So this morning when I opened the project it wasn't compiling anymore and it was reporting an error in one of the components. When opening the component, this message appeared in the VSCode editor "The file will not be displayed in the editor because it is either binary, very large or uses an unsupported text encoding." Clicking on open anyway appears a lot of code with strange symbols as shown in the image. When I try to open the file in another editor, the same problem also happens, but the symbols change. I would like to know what might have happened and if there is a way to recover my file?
Looks like your file is corrupt. Restore from a backup, or re-pull from git.

VS Code adds new line after < symbol on save

I created a sample react native app. If I open the App.js file to edit the example code, the code gets changed if I save the file in visual studio code:
How can I stop this from happening?
The editor is formatting the content on save. You can either turn off the auto-formatting on save or figure out what formatter is causing the invalid output format.
To turn off formatting on save, go to preferences and search for editor.formatOnSave which you can then turn off.
If you want to fix the formatter, you'll have to look at the plugins installed and the formatter selected for the file type.

Error while trying to open .xls files

I have some information in a .xls file (I downloaded it from SAP) and I need to paste it in a .xlsm file.
I'm trying to open that file like always but I have the following error:
Run-time error ‘-2147221080 (800401a8)’:
The file format and extension of ‘file.xls’ don’t match. The file could be corrupted or unsafe. Unless you trust its source, don’t open it. Do you want to open it anyway?
and two options: End and Debug. If I choose debug, I get the following error:
Run-time error ‘-2147221080 (800401a8)’: Automation error
I couldn't find anything in Google. How can I fix it? It's impossible to have the information in another format that is not .xls
Maybe try to open the file with notepad? Notepad can open almost any file. It could be that the content will show strange characters though.

Eclipse PDT .sql always Save As

I have a number of .sql files in my work space, one of them, when I save it always brings up the Save As dialogue, even though it is already saved. The other peculiarness is that there are 3 other files in the same folder that don't have this behaviour, instead they open the systems default editor (GEdit).
When I save the file in question I also get an error message: "Save Failed
org.eclipse.php.internal.ui.editor.RefactorableFileEditorInp ut cannot be cast to org.eclipse.php.internal.ui.editor.input.NonExistingPHPFileE ditorInput "
Can anyone advise where to look for a solution?
After some trial and error: Open with "internal editor" -> text editor solves the problem