sftp sync failed with VSC updated
See original GitHub issueIssue Type: Bug
The sftp config path is locate project/.vsccode/sftp.json, not here “C:\Users\Darren.ssh\config”. But when VSC updated to 1.56.1,this is not working.
LOG: [05-12 13:32:54] [info] config at d:\Darren_work\wagon\uwamp\www\git_einvoice\git_einvoicenew {“remotePath”:“/data/www/einvoicenew”,“uploadOnSave”:true,“downloadOnOpen”:false,“ignore”:[],“concurrency”:4,“protocol”:“sftp”,“connectTimeout”:10000,“interactiveAuth”:false,“secure”:false,“remoteTimeOffsetInHours”:0,“name”:“TEST”,“host”:“XXXXXXXX”,“port”:22,“username”:““,“password”:””} [05-12 13:32:59] [warn] ENOENT: no such file or directory, open ‘C:\Users\Darren.ssh\config’ load C:\Users\Darren.ssh\config failed [05-12 13:32:59] [info] [file-save] d:\Darren_work\wagon\uwamp\www\git_einvoice\git_einvoicenew\modules\H1006\H1006DetailsView.php [05-12 13:33:08] [warn] Can’t set modified time to the file because Failure [05-12 13:33:08] [error] Error: No such file
[05-12 13:44:29] [info] [file-save] d:\Darren_work\wagon\uwamp\www\git_einvoice\git_einvoicenew\modules\H1006\H1006DetailsView.php [05-12 13:44:30] [error] Error: No such file at SFTPStream._transform (c:\Users\Darren.vscode\extensions\liximomo.sftp-1.12.9\node_modules\ssh2-streams\lib\sftp.js:412:27) at SFTPStream.Transform._read (internal/streams/transform.js:205:10) at SFTPStream._read (c:\Users\Darren.vscode\extensions\liximomo.sftp-1.12.9\node_modules\ssh2-streams\lib\sftp.js:183:15) at SFTPStream.Transform._write (internal/streams/transform.js:193:12) at writeOrBuffer (internal/streams/writable.js:358:12) at SFTPStream.Writable.write (internal/streams/writable.js:303:10) at Channel.ondata (internal/streams/readable.js:719:22) at Channel.emit (events.js:315:20) at addChunk (internal/streams/readable.js:309:12) at readableAddChunk (internal/streams/readable.js:284:9) at Channel.Readable.push (internal/streams/readable.js:223:10) at SSH2Stream.<anonymous> (c:\Users\Darren.vscode\extensions\liximomo.sftp-1.12.9\node_modules\ssh2\lib\Channel.js:167:15) at SSH2Stream.emit (events.js:315:20) at parsePacket (c:\Users\Darren.vscode\extensions\liximomo.sftp-1.12.9\node_modules\ssh2-streams\lib\ssh.js:3288:10) at SSH2Stream._transform (c:\Users\Darren.vscode\extensions\liximomo.sftp-1.12.9\node_modules\ssh2-streams\lib\ssh.js:694:13) at SSH2Stream.Transform._read (internal/streams/transform.js:205:10) at SSH2Stream._read (c:\Users\Darren.vscode\extensions\liximomo.sftp-1.12.9\node_modules\ssh2-streams\lib\ssh.js:253:15) at SSH2Stream.Transform._write (internal/streams/transform.js:193:12) at writeOrBuffer (internal/streams/writable.js:358:12) at SSH2Stream.Writable.write (internal/streams/writable.js:303:10) at Socket.ondata (internal/streams/readable.js:719:22) at Socket.emit (events.js:315:20) at addChunk (internal/streams/readable.js:309:12) at readableAddChunk (internal/streams/readable.js:284:9) at Socket.Readable.push (internal/streams/readable.js:223:10) at TCP.onStreamRead (internal/stream_base_commons.js:188:23) when local ➞ remote d:\Darren_work\wagon\uwamp\www\git_einvoice\git_einvoicenew\modules\H1006\H1006DetailsView.php
Extension version: 1.12.9 VS Code version: Code 1.56.1 (e713fe9b05fc24facbec8f34fb1017133858842b, 2021-05-06T10:08:05.141Z) OS version: Windows_NT x64 10.0.19041
System Info
Item | Value |
---|---|
CPUs | 11th Gen Intel® Core™ i7-1165G7 @ 2.80GHz (8 x 2803) |
GPU Status | 2d_canvas: enabled gpu_compositing: enabled multiple_raster_threads: enabled_on oop_rasterization: enabled opengl: enabled_on rasterization: enabled skia_renderer: enabled_on video_decode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled |
Load (avg) | undefined |
Memory (System) | 15.70GB (3.03GB free) |
Process Argv | –crash-reporter-id e01f325e-8006-4d0d-bec6-d8a0d4c0381e |
Screen Reader | no |
VM | 57% |
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
pythonvspyt639:30300192
pythontb:30283811
pythonvspyt943:30300582
pythonvspyt551cf:30291415
vspre833cf:30267465
pythonptprofiler:30281270
vshan820:30294714
pythondataviewer:30285071
vscus158:30286553
vscgsv2ct:30294353
bridgeflightcf:30299255
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:7
Top GitHub Comments
@mrjcgoodwin : thanks for the suggestion, indeed it is exactly this problem. I was able to fix it like it is suggested in #919
Is this the ‘no such file’ error? If so there’s a fix here: #919