Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Uncaught Error: UNKNOWN: unknown error, mkdir '\server\share\somedir\b' #470

Closed

Description

@jmm

Expected behavior:
Prompt for confirmation to overwrite.

[Enter steps to reproduce below:]

  1. <Copy> file from somedir/a/x
  2. <Paste> file in somedir/b (which already contains a file x)

Atom Version: 0.201.0
System: Microsoft Windows 7 Home Premium
Thrown From: tree-view package, v0.171.0

Stack Trace

Uncaught Error: UNKNOWN: unknown error, mkdir '\server\share\somedir'

At C:\Program Files (x86)\GitHub Atom\resources\app.asar\node_modules\fs-plus\node_modules\mkdirp\index.js:74

Error: UNKNOWN: unknown error, mkdir '\\server\share\somedir'
    at Error (native)
    at Object.fs.mkdirSync (fs.js:791:18)
    at Function.sync (C:\Program Files (x86)\GitHub Atom\resources\app.asar\node_modules\fs-plus\node_modules\mkdirp\index.js:55:12)
    at Object.fsPlus.writeFileSync (C:\Program Files (x86)\GitHub Atom\resources\app.asar\node_modules\fs-plus\lib\fs-plus.js:278:14)
    at TreeView.module.exports.TreeView.pasteEntries (C:\Program Files (x86)\GitHub Atom\resources\app.asar\node_modules\tree-view\lib\tree-view.js:965:32)
    at space-pen-div.atom.commands.add.tree-view:paste (C:\Program Files (x86)\GitHub Atom\resources\app.asar\node_modules\tree-view\lib\tree-view.js:277:26)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (C:\Program Files (x86)\GitHub Atom\resources\app.asar\src\command-registry.js:238:29)
    at CommandRegistry.handleCommandEvent (C:\Program Files (x86)\GitHub Atom\resources\app.asar\src\command-registry.js:3:61)
    at CommandRegistry.module.exports.CommandRegistry.dispatch (C:\Program Files (x86)\GitHub Atom\resources\app.asar\src\command-registry.js:153:19)
    at jQuery.fn.trigger (C:\Program Files (x86)\GitHub Atom\resources\app.asar\src\space-pen-extensions.js:64:23)

Commands

     -1:17.7.0 tree-view:toggle-focus (atom-text-editor.editor.is-focused)
  3x -1:17 core:move-up (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
     -1:16.4.0 tree-view:collapse-directory (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
     -1:16.1.0 tree-view:expand-directory (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
 11x -1:15.8.0 core:move-down (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
     -1:14.1.0 tree-view:expand-directory (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)

Config

{
  "core": {
    "ignoredNames": [
      ".git",
      ".hg",
      ".svn",
      ".DS_Store",
      "Thumbs.db",
      "bower_components",
      "node_modules"
    ]
  },
  "tree-view": {
    "hideVcsIgnoredFiles": false
  }
}

Installed Packages

# User
No installed packages

# Dev
No dev packages
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