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: ENOTSUP: operation not supported on socket, write #7651

Closed

Description

@VSuryaBhargava

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.0.0
System: Ubuntu 15.04
Thrown From: Atom Core

Stack Trace

Uncaught Error: ENOTSUP: operation not supported on socket, write

At /usr/share/atom/resources/app.asar/src/pane.js:762

Error: ENOTSUP: operation not supported on socket, write
    at Error (native)
    at Object.fs.writeSync (fs.js:657:20)
    at Object.fs.writeFileSync (fs.js:1164:21)
    at Object.fsPlus.writeFileSync (/usr/share/atom/resources/app.asar/node_modules/fs-plus/lib/fs-plus.js:279:17)
    at File.module.exports.File.writeFileSync (/usr/share/atom/resources/app.asar/node_modules/pathwatcher/lib/file.js:264:19)
    at File.module.exports.File.writeFileWithPrivilegeEscalationSync (/usr/share/atom/resources/app.asar/node_modules/pathwatcher/lib/file.js:362:21)
    at File.module.exports.File.writeSync (/usr/share/atom/resources/app.asar/node_modules/pathwatcher/lib/file.js:336:12)
    at TextBuffer.module.exports.TextBuffer.saveAs (/usr/share/atom/resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:992:17)
    at TextBuffer.module.exports.TextBuffer.save (/usr/share/atom/resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:978:19)
    at TextEditor.module.exports.TextEditor.save (/usr/share/atom/resources/app.asar/src/text-editor.js:579:26)

Commands

     -0:27.1.0 core:delete (atom-text-editor.editor.is-focused)
     -0:26.6.0 core:move-down (atom-text-editor.editor.is-focused)
     -0:26 core:undo (atom-text-editor.editor.is-focused)
     -0:25.5.0 core:move-down (atom-text-editor.editor.is-focused)
  3x -0:24.8.0 core:move-left (atom-text-editor.editor.is-focused)
  3x -0:24.1.0 editor:select-to-end-of-word (atom-text-editor.editor.is-focused)
     -0:23.2.0 core:select-right (atom-text-editor.editor.is-focused)
     -0:20.1.0 core:select-left (atom-text-editor.editor.is-focused)
     -0:19.5.0 core:cut (atom-text-editor.editor.is-focused)
  6x -0:19.2.0 core:move-up (atom-text-editor.editor.is-focused)
     -0:18.1.0 editor:move-to-end-of-screen-line (atom-text-editor.editor.is-focused)
     -0:17.7.0 core:move-left (atom-text-editor.editor.is-focused)
     -0:14.6.0 core:paste (atom-text-editor.editor.is-focused)
     -0:11.7.0 core:move-right (atom-text-editor.editor.is-focused)
     -0:05.1.0 autocomplete-plus:confirm (atom-text-editor.editor.is-focused.autocomplete-active)
  4x -0:03.2.0 core:save (atom-text-editor.editor.is-focused)

Config

{
  "core": {},
  "editor": {
    "invisibles": {}
  }
}

Installed Packages

# User
minimap, v4.10.1
minimap-find-and-replace, v4.2.0

# Dev
No dev packages

Activity

  1. mnquintana commented on Jul 2, 2015

    @mnquintana
    Contributor

    What were you doing when you got this error?

  2. izuzak commented on Jul 2, 2015

    @izuzak
    Contributor

    Also, is there anything special about the file you wanted to save (e.g. is it a file on a network drive)?

  3. VSuryaBhargava commented on Jul 2, 2015

    @VSuryaBhargava
    Author

    @izuzak I opened a file on a network drive. I just saved the file after editing it.

  4. VSuryaBhargava commented on Jul 3, 2015

    @VSuryaBhargava
    Author

    @izuzak : The same just happened again.

    I had a file in my local hard drive open.

    I opened a file with the same name on a different machine over the network then tried to save the file ( on the other machine ) in atom when the error occurred.

    Hope this helps.

  5. izuzak commented on Jul 6, 2015

    @izuzak
    Contributor

    @VSuryaBhargava I think this is related to files on network drives -- I can't promise when this problem might be looked into by the core team, but the additional details are definitely appreciated. Thanks

  6. lock commented on Jan 21, 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!

  7. locked as resolved and limited conversation to collaborators on Jan 21, 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