Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Uncaught Error: spawn /opt/atom/atom (deleted) ENOENT #4505

Closed

Description

@Apostropher

TEMPORARY WORKAROUND: ln -s /usr/share/atom/atom "/usr/share/atom/atom (deleted)"

Uncaught Error: spawn /opt/atom/atom (deleted) ENOENT

Atom Version: 0.152.0
System: linux 3.13.0-40-generic
Thrown From: Atom Core

Steps To Reproduce

  1. ...
  2. ...

Stack Trace

At events.js:85

Error: spawn /opt/atom/atom (deleted) ENOENT
  at exports._errnoException (util.js:742:11)
  at Process.ChildProcess._handle.onexit (child_process.js:1051:32)
  at child_process.js:1142:20
  at process._tickCallback (node.js:378:11)

Activity

  1. notslang commented on Dec 10, 2014

    @notslang

    I get the same error on Ubuntu 14.10:

    Uncaught Error: spawn /usr/share/atom/atom.dpkg-new (deleted) ENOENT

    Atom Version: 0.155.0
    System: linux 3.16.0-24-generic
    Thrown From: Atom Core

    Steps To Reproduce

    1. open atom (from the command line) after updating to 0.155.0, and then open a 2nd atom window in a different project (also using the command line)
    2. every time you give focus to the 2nd window, this error message pops up. giving focus to the 1st window doesn't show an error message, and if you close all atom windows, and then reopen both of them using the same procedure described in step 1, the error message does not pop up and atom behaves normally.

    Stack Trace

    At events.js:85
    
    Error: spawn /usr/share/atom/atom.dpkg-new (deleted) ENOENT
      at exports._errnoException (util.js:742:11)
      at Process.ChildProcess._handle.onexit (child_process.js:1051:32)
      at child_process.js:1142:20
      at process._tickCallback (node.js:378:11)
    
    
  2. benogle commented on Dec 10, 2014

    @benogle
    Contributor

    Seems like the linux version of #4509

  3. benogle commented on Dec 11, 2014

    @benogle
    Contributor

    From @jprice in #4450:

    I am getting the same error. Happens every time I launch Atom, and it keeps repeating itself.

    Uncaught Error: spawn /usr/share/atom/atom (deleted) ENOENT

    Atom Version: 0.154.0-88c119f
    System: linux 3.2.0-4-amd64
    Thrown From: Atom Core

    Steps To Reproduce

    1. Just launch atom

    Stack Trace

    At events.js:85
    
    Error: spawn /usr/share/atom/atom (deleted) ENOENT
      at exports._errnoException (util.js:742:11)
      at Process.ChildProcess._handle.onexit (child_process.js:1051:32)
      at child_process.js:1142:20
      at process._tickCallback (node.js:378:11)
    
    

    I tried reinstalling Atom, and removing my ~/.atom folder and relaunching. Neither changed a thing

  4. jschroeder9000 commented on Dec 12, 2014

    @jschroeder9000

    I tend to run into this when my machine has been up for a while and I've been using multiple instances of atom. Closing all instances of atom and starting new instances does not help. However, I did notice that ps -ef | grep atom reveals that there are still atom processes running. So if I close all atom instances and then run killall atom then the problem goes away (for a while) and starting new instances works fine. Kubuntu 14.04, have noticed this for the last few versions of atom.

    PS New error message pointing me directly to this issue is super slick.

  5. benogle commented on Dec 12, 2014

    @benogle
    Contributor

    @jschroeder9000 thanks for the info

  6. benogle commented on Dec 20, 2014

    @benogle
    Contributor

    From @nylki in #4712

    Uncaught Error: spawn /usr/local/share/atom/atom (deleted) ENOENT

    Atom Version: 0.159.0-d9a5e3c
    System: linux 3.16.7-200.fc20.x86_64
    Thrown From: Atom Core

    Steps To Reproduce

    1. Opening atom.
    2. Switching focus to other window of different program (not atom).
    3. Switching back to atom, error pops up.

    Stack Trace

    At events.js:85
    
    Error: spawn /usr/local/share/atom/atom (deleted) ENOENT
      at exports._errnoException (util.js:742:11)
      at Process.ChildProcess._handle.onexit (child_process.js:1051:32)
      at child_process.js:1142:20
      at process._tickCallback (node.js:378:11)
    
  7. benogle commented on Dec 20, 2014

    @benogle
    Contributor

    I so far have been unsuccessful in reproducing this on Ubuntu 14.04. I opened tons of windows, switched back and forth between windows, other apps, etc.

  8. nylki commented on Dec 20, 2014

    @nylki

    What @jschroeder9000 wrote seems to work ( #4505 (comment) )

  9. dideler commented on Jan 24, 2015

    @dideler

    Just ran into this issue.

    I had one instance of atom open for a few days with lots of open tabs in it. Then I started another instance of atom (via the command line) but for a different project and that's when the error kept popping up. Closed both instances and now the error is gone when I start atom again.

    Edit: Using Ubuntu 14.10

  10. Qard commented on Jan 28, 2015

    @Qard

    I get this too. With multiple projects open, it happens every time I switch focus to that window.

    As previously suggested, it does seem to only happen when opening new windows after atom has been open for awhile. If I start fresh, opening two windows together, neither will encounter this.

  11. ljbade commented on Feb 5, 2015

    @ljbade

    Happening for me.

    I just opened a second folder with another window open with another folder open.

    Happens everytime I click in the new window.

    Went away after I closed all atom windows and reopened atom.

    I am on Ubuntu 14.04 with atom 0.177.0

  12. MateuszG commented on Feb 11, 2015

    @MateuszG

    Atom Version: 0.177.0
    System: linux 3.16.0-30-generic
    Thrown From: Atom Core

    Stack Trace

    Uncaught Error: spawn /opt/atom/atom (deleted) ENOENT

    At events.js:94
    
    Error: spawn /opt/atom/atom (deleted) ENOENT
      at exports._errnoException (util.js:753:11)
      at Process.ChildProcess._handle.onexit (child_process.js:1051:32)
      at child_process.js:1142:20
      at process._tickCallback (node.js:364:11)
    
    

    Commands

         -5:36.9 snippets:next-tab-stop (atom-text-editor.editor.autocomplete-active.is-focused)
         -5:36.9 snippets:expand (atom-text-editor.editor.autocomplete-active.is-focused)
         -5:36.9 editor:indent (atom-text-editor.editor.autocomplete-active.is-focused)
         -5:35.1 snippets:next-tab-stop (atom-text-editor.editor.autocomplete-active.is-focused)
         -5:35.1 snippets:expand (atom-text-editor.editor.autocomplete-active.is-focused)
         -5:34.5 core:save (atom-text-editor.editor.autocomplete-active.is-focused)
         -4:28.3 core:copy (atom-text-editor.editor.autocomplete-active.is-focused)
    

    Config

    {
      "core": {
        "disabledPackages": [
          "git-blame",
          "minimap",
          "terminal-status",
          "welcome",
          "git-log",
          "git-log",
          "git-log",
          "git-log",
          "git-log",
          "feedback",
          "exception-reporting",
          "atom-html-preview",
          "open-on-search-engine",
          "ask-stack",
          "Search",
          "atom-runner",
          "script",
          "linter-pep8",
          "linter-pylint"
        ],
        "themes": [
          "atom-light-ui",
          "imperator-day-syntax"
        ],
        "audioBeep": false,
        "autoHideMenuBar": true
      },
      "editor": {
        "fontSize": 17,
        "showInvisibles": true,
        "autoIndentOnPaste": false,
        "tabLength": 4,
        "softWrap": true,
        "softTabs": false,
        "softWrapAtPreferredLineLength": true,
        "invisibles": {
          "eol": " "
        },
        "zoomFontWhenCtrlScrolling": false
      }
    }

    Installed Packages

    # User
    atom-color-highlight, v3.0.8
    autoclose-html, v0.15.0
    autocomplete-paths, v1.0.2
    autocomplete-plus, v2.1.4
    autohide-tree-view, v0.12.0
    color-picker, v1.4.4
    compare-files, v0.4.0
    file-icons, v1.4.9
    git-tab-status, v1.5.3
    highlight-selected, v0.7.0
    imperator-day-syntax, v0.0.0
    linter, v0.11.1
    linter-pylama, v0.0.15
    preview-tabs, v0.1.6
    project-manager, v1.15.5
    pulsing-cursor, v0.3.0
    python-isort, v0.0.5
    tabs-to-spaces, v0.8.1
    zentabs, v0.7.1
    
    # Dev
    No dev packages
  13. noseglid commented on Mar 2, 2015

    @noseglid

    I just got this and it totally spammed with an error every 10 seconds or so (Ubuntu 14.04.2 LTS).

    Since it seems to complain about a file `atom (deleteid) doesn't exists, I did this to silence it (which seems to have been successful) although I don't know the impact it might have:

    sudo cp /opt/atom/atom "/opt/atom/atom (deleted)"
    
  14. thiagokronig commented on Mar 18, 2015

    @thiagokronig

    Happened to me also after dpkg -i the 0.187.0 version over already installed 0.186.0.
    Following @noseglid, did a ln -s /usr/share/atom/atom "/usr/share/atom/atom (deleted)" to remedy.

  15. ChipWolf commented on Mar 19, 2015

    @ChipWolf

    Happened to me on Windows

  16. AlonsoCN commented on Apr 24, 2015

    @AlonsoCN

    Same here :( someone have a soft solution?

  17. kevinsawicki commented on May 18, 2015

    @kevinsawicki
    Contributor
  18. lock commented on Jan 22, 2019

    @lock

    This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!

  19. locked as resolved and limited conversation to collaborators on Jan 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions