liximomo / vscode-sftp

Super fast sftp/ftp extension for VS Code
MIT License
1.5k stars 264 forks source link

Config Not Found #697

Open spillsthrills opened 4 years ago

spillsthrills commented 4 years ago

Do you read the FAQ?

Describe the bug When trying to Diff a remote file I am getting the error "Config Not Found".

To Reproduce Steps to reproduce the behavior:

  1. Go to a file in on your local computer and use the Diff with Remote command.

Desktop (please complete the following information):

12-02 13:43:30] [trace] run command 'Diff' [12-02 13:43:30] [error] Error: Config Not Found. (file:///Volumes/myFiles/Main/api/v1/dump.cfm) at Object.u [as handleCtxFromUri] (/Volumes/myfiles/.vscode/extensions/liximomo.sftp-1.12.9/dist/extension.js:1:41793) at Object. (/Volumes/myfiles/.vscode/extensions/liximomo.sftp-1.12.9/dist/extension.js:1:3993) at Generator.next () at /Volumes/evo850/.vscode/extensions/liximomo.sftp-1.12.9/dist/extension.js:1:3273 at new Promise () at r (/Volumes/evo850/.vscode/extensions/liximomo.sftp-1.12.9/dist/extension.js:1:3050) at /Volumes/evo850/.vscode/extensions/liximomo.sftp-1.12.9/dist/extension.js:1:3935 at Array.map () at Object. (/Volumes/evo850/.vscode/extensions/liximomo.sftp-1.12.9/dist/extension.js:1:3928) at Generator.next () at s (/Volumes/evo850/.vscode/extensions/liximomo.sftp-1.12.9/dist/extension.js:1:3106) [12-02 13:43:31] [debug] > NOOP [12-02 13:43:31] [debug] < '200 OK\r\n'

TheConsciousness commented 4 years ago

Hello. Is the local folder you're currently working in on a remote drive, a flash drive, or does it happen to be a folder that is being synced by a backup service, like Nextcloud or Dropbox? That was my issue in this situation.

michaelschutz commented 4 years ago

I'm new to VSCode and sftp, and found this to be an issue too. Same error message when project files are in a Dropbox folder. It worked fine for me when I put my local files (MacOS) in a folder outside of my Dropbox.

@TheConsciousness did you find a solution which would still allow you to sync your local files, though? I work on multiple machines, and would rather do tasks locally like SASS compiling, so it would be really helpful to be able to still sync local files between machines and still use this extension.

Or, is there a fix for this that could become a part of the extension?

TheConsciousness commented 4 years ago

@michaelschutz Unfortunately I did not. I've always trusted Notepad++'s version of SFTP, so I fell back to it.