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.

SSHFS disconnection causes irreversible loss of data #7649

Closed

Description

@quasipedia
  1. I am working with Atom on a largish-project (80.000 files) mounted with sshfs
  2. For some reason the mounted volume disconnected and I got the following error trying to save. So far so good: the reason is pretty clear (although rather than a brutal error in red, one could possibly have a neat message explaining the volume is not mounted.
  3. The dangerous thing is that one had pressed the close button on Atom, and answered "save" to the question about changes, Atom would still successfully close and all changes would be lost without notifications of sort.
  4. The annoying thing, is that when this happens, the indexing of the entire tree (in my case 80K+ files is lost, and a complete reindexing is in order at the next attempt to use CTRL+P

Atom Version: 1.0.0
System: "Fedora release
Thrown From: Atom Core

Stack Trace

Uncaught Error: ENOTCONN: socket is not connected, open '/home/mac/jail/dev29/blocket'

At /usr/share/atom/resources/app.asar/src/workspace.js:466

Error: ENOTCONN: socket is not connected, open '/home/mac/jail/dev29/blocket'
    at Error (native)
    at Object.fs.openSync (fs.js:544:18)
    at Object.module.(anonymous function) [as openSync] (ATOM_SHELL_ASAR.js:118:20)
    at Project.module.exports.Project.open (/usr/share/atom/resources/app.asar/src/project.js:371:27)
    at Workspace.module.exports.Workspace.openURIInPane (/usr/share/atom/resources/app.asar/src/workspace.js:449:31)
    at Workspace.module.exports.Workspace.open (/usr/share/atom/resources/app.asar/src/workspace.js:375:19)
    at EventEmitter.<anonymous> (/usr/share/atom/resources/app.asar/src/window-event-handler.js:46:25)
    at emitTwo (events.js:87:13)
    at EventEmitter.emit (events.js:169:7)

Commands

Config

{
  "core": {
    "projectHome": "/home/mac/dev",
    "themes": [
      "seti-ui",
      "one-dark-syntax"
    ],
    "disabledPackages": [
      "git-grep"
    ]
  },
  "editor": {
    "invisibles": {},
    "lineHeight": 1.2,
    "fontFamily": "Inconsolata",
    "scrollPastEnd": true,
    "showIndentGuide": true,
    "tabLength": 4,
    "showInvisibles": true,
    "fontSize": 18,
    "preferredLineLength": 79
  }
}

Installed Packages

# User
atom-python-debugger, v0.3.4
autocomplete-plus-python-jedi, v0.3.6
editorconfig, v1.0.0
emmet, v2.3.12
linter-pylama, v0.0.20
project-manager, v1.15.10
seti-ui, v0.7.1

# Dev
No dev packages

Activity

  1. stale commented on Jul 6, 2017

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

  2. lock commented on Mar 31, 2018

    @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!

  3. locked and limited conversation to collaborators on Mar 31, 2018
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