Open bennyborn opened 7 years ago
Just happened for me:
Rather "complicated" situation:
The error occured when I installed some files via commandline in Linux, using other credentials than the Windows machine (a.k.a. new subfolders were added where the Windows-Machine has only read permissions).
My best guess is that Atom was confused by not being able to write - maybe?
[Enter steps to reproduce:]
This is how the path looks like X:\epix10ka\epix\software\epixRogue\scripts\acquire.py It translates to \afs\slac.stanford.edu\u\re\abunimeh\epix10ka\epix\software\epixRogue\scripts\acquire.py
Atom: 1.18.0 x64 Electron: 1.3.15 OS: Microsoft Windows 10 Enterprise Thrown From: github package 0.3.3
Uncaught TypeError: Path must be a string. Received undefined
At path.js:7
TypeError: Path must be a string. Received undefined
at assertPath (path.js:7:11)
at Object.join (path.js:466:7)
at events.map.e (~/AppData/Local/atom/app-1.18.0/resources/app/node_modules/github/lib/models/workdir-context.js:127:77)
at Array.map (native)
at WorkdirContext.subs.add.observer.onDidChange.events (~/AppData/Local/atom/app-1.18.0/resources/app/node_modules/github/lib/models/workdir-context.js:127:34)
at Function.module.exports.Emitter.simpleDispatch (~/AppData/Local/atom/app-1.18.0/resources/app/node_modules/event-kit/lib/emitter.js:25:20)
at Emitter.module.exports.Emitter.emit (~/AppData/Local/atom/app-1.18.0/resources/app/node_modules/event-kit/lib/emitter.js:141:34)
at FileSystemChangeObserver.didChange (~/AppData/Local/atom/app-1.18.0/resources/app/node_modules/github/lib/models/file-system-change-observer.js:67:24)
at _this3.currentFileWatcher.debounceMS (~/AppData/Local/atom/app-1.18.0/resources/app/node_modules/github/lib/models/file-system-change-observer.js:103:26)
aligner-vhdl 0.1.0
atom-beautify 0.30.4
autocomplete-python 1.9.1
busy-signal 1.4.3
editorconfig 2.2.2
highlight-column 0.5.4
highlight-selected 0.13.1
hyperclick 0.1.2
intentions 1.1.2
language-spice 2.1.4
language-verilog 0.4.0
language-vhdl 0.7.2
linter 2.2.0
linter-flake8 2.2.1
linter-ui-default 1.6.3
linter-verilog 0.7.0
minimap 4.29.0
minimap-find-and-replace 4.5.2
minimap-highlight-selected 4.6.1
minimap-split-diff 0.3.7
script 3.15.0
split-diff 1.4.3
This only seems to happen when saving files located on a NFS share.
Atom: 1.18.0 ia32 Electron: 1.3.15 OS: Windows 10 1607 (Build 14393.1358) Thrown From: github package 0.3.3
Stack Trace
Uncaught TypeError: Path must be a string. Received undefined
Commands
Non-Core Packages