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: write EPIPE #4708

Closed
atom/notifications
#62

Description

@Xatpy

Uncaught Error: write EPIPE

Atom Version: 0.161.0
System: Mac OS X 10.10
Thrown From: Atom Core

Steps To Reproduce

  1. ...
  2. ...

Stack Trace

At events.js:85

Error: write EPIPE
  at exports._errnoException (util.js:742:11)
  at Object.afterWrite (net.js:749:14)

Activity

  1. maxbrunsfeld commented on Dec 19, 2014

    @maxbrunsfeld
    Contributor

    @Xatpy can you describe what you were doing in Atom when this occurred?

  2. djpowers commented on Dec 22, 2014

    @djpowers

    I'm frequently receiving this same error. As far as I can tell, it is occurring when I began to reference an instance variable within an ERB tag. Specifically, the error shows up after typing the ampersand (@) character within the tag. I can currently reproduce this reliably.

    Please let me know if any other information can help you out.

  3. izuzak commented on Dec 22, 2014

    @izuzak
    Contributor

    Thanks @djpowers! Are you able to reproduce this when you start Atom in safe mode? Also, which version of Atom are you using and which OS?

  4. Xatpy commented on Dec 22, 2014

    @Xatpy
    Author

    I wasn't converting a file from .md to .pdf when it returned this error. I was using a customized CSS, but it was displayed correctly by markdown-preview.

  5. djpowers commented on Dec 22, 2014

    @djpowers

    @izuzak, I'm using Mac OS X 10.9.5, and the problem occurred using Atom 0.161.0. I actually just restarted and updated Atom to the latest version (currently 0.165.0), and it seems that the issue is resolved for me. Repeating the same steps to trigger the error no longer does so in normal mode, so I did not attempt the same in safe mode.

    I'll update if I see it happen again.

  6. djpowers commented on Jan 21, 2015

    @djpowers

    Back again! Currently able to reproduce reliably.

    In an .html.erb file here is an example of the syntax that triggers the error:

    <%= if @instance_variable %>
      function();
    <% end %>

    Commenting out the JavaScript function line triggers a linter error, as well as the Atom error.

    My stack trace is slightly different:

    Error: write EPIPE
      at exports._errnoException (util.js:746:11)
      at Object.afterWrite (net.js:757:14)
    

    I'm using Atom 0.175.0 on OS X 10.9.5.

    I cannot reproduce the error in safe mode, so I suspect it may be related to the linter/linter-erb packages.

  7. benogle commented on Jan 22, 2015

    @benogle
    Contributor

    @djpowers is this file local? Can you save the file just fine?

  8. djpowers commented on Jan 22, 2015

    @djpowers

    @benogle, yes the file is local.

    I can save, however, if the syntax error that caused the initial error is still present, each save will trigger an additional error of the same type. Fixing the syntax issue allows me to save without generating any warnings.

    Currently I can trigger it by changing <% if @instance_variable %> to <%= if @instance_variable %>.

  9. benogle commented on Jan 30, 2015

    @benogle
    Contributor

    From #5320 cc @gttiankai

    Atom Version: 0.174.0
    System: Mac OS X 10.9.5
    Thrown From: Atom Core

    Stack Trace

    Uncaught Error: write EPIPE

    At events.js:85
    
    Error: write EPIPE
      at exports._errnoException (util.js:746:11)
      at Object.afterWrite (net.js:757:14)
    
    

    Commands

     29x -0:42.2 core:move-down (atom-text-editor.editor.is-focused)
     11x -0:40.7 core:move-up (atom-text-editor.editor.is-focused)
      9x -0:39.9 core:move-down (atom-text-editor.editor.is-focused)
      3x -0:39.1 core:move-up (atom-text-editor.editor.is-focused)
         -0:38.2 core:move-left (atom-text-editor.editor.is-focused)
         -0:37.7 core:backspace (atom-text-editor.editor.is-focused)
         -0:31.0 clang-format:format (atom-text-editor.editor.is-focused)
         -0:23.9 core:select-all (atom-text-editor.editor.is-focused)
         -0:19.8 clang-format:format (atom-text-editor.editor.is-focused)
         -0:15.8 core:move-left (atom-text-editor.editor.is-focused)
         -0:15.2 snippets:next-tab-stop (atom-text-editor.editor.is-focused)
         -0:15.2 snippets:expand (atom-text-editor.editor.is-focused)
         -0:15.2 editor:indent (atom-text-editor.editor.is-focused)
         -0:14.2 core:save (atom-text-editor.editor.is-focused)
         -0:01.1 core:backspace (atom-text-editor.editor.is-focused)
         -0:00.0 core:save (atom-text-editor.editor.is-focused)
    

    Config

    {
      "core": {
        "themes": [
          "atom-dark-ui",
          "monokai"
        ]
      },
      "editor": {
        "fontSize": 17,
        "lineHeight": 1.4,
        "tabLength": 4,
        "invisibles": {}
      }
    }

    Installed Packages

    # User
    autocomplete-clang, v0.6.1
    clang-format, v1.7.0
    monokai, v0.12.0
    
    # Dev
    No dev packages
  10. basarat commented on Feb 3, 2015

    @basarat
    Contributor

    Happened for me. Turns out my bug. I was writing to a child process that was terminated.

  11. benogle commented on Feb 27, 2015

    @benogle
    Contributor

    @djpowers What packages do you have installed? can you apm list? Try atom --safe. it sounds like a maybe a linter or some package trying to save the file.

  12. djpowers commented on Feb 27, 2015

    @djpowers

    @benogle, here are the packages I've installed:

    /Users/[user_name]/.atom/packages (9)
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    ├── [email protected]
    └── [email protected]
    

    I tried safe mode previously, and I did not see any errors while testing. Based on where I've noticed the problem being triggered, I suspect it has to do specifically with the linter-erb package, so I had opened an issue there (on what appeared to be a similar error).

  13. 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!

  14. 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