Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.34 Insiders has broken two FileSystemProvider extensions #72909

Closed
gjsjohnmurray opened this issue Apr 26, 2019 · 8 comments
Closed

1.34 Insiders has broken two FileSystemProvider extensions #72909

gjsjohnmurray opened this issue Apr 26, 2019 · 8 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug extensions Issues concerning extensions file-io File I/O important Issue identified as high-priority remote Remote system operations issues verification-needed Verification of issue is requested verified Verification succeeded
Milestone

Comments

@gjsjohnmurray
Copy link
Contributor

When using Remote FS to connect to FTP sites from 1.34 Insiders I am getting 0-byte results when opening files. If I use the same workspace with 1.33.1 the content of the files is returned correctly.

Create a .code-workspace file with the following content:

{
	"extensions": {
		"recommendations": ["liximomo.remotefs"]
	},

	"folders": [
		{
			"name": "ftp.intersystems.com/pub — (Remote)",
			"uri": "ftp://intersystems/pub"
		},
		{
			"name": "ftp.cs.brown.edu/pub — (Remote)",
			"uri": "ftp://brown/pub"
		}
	],
	"settings": {
		"remotefs.remote": {
			"intersystems": {
				"host": "ftp.intersystems.com",
				"scheme": "ftp",
				"username": "anonymous",
				"password": ""
			},
			"brown": {
				"host": "ftp.cs.brown.edu",
				"scheme": "ftp",
				"username": "anonymous",
				"password": ""
			}
		},
	
	}
}

Open it. It should recommend installation of the Remote FS extension. Do that. You should have two roots in the workspace:

image

Expand the first, locate the file named 00INDEX and open it. No error is reported, but there is no content.

Ditto for README under the second root.

Repeat these steps with 1.33.1 to see file contents fetched correctly.

Now uninstall the Remote FS extension, so it doesn't clash with the other extension we're about to test, Remote Workspace

Create a second .code-workspace file containing this:

{
	"extensions": {
		"recommendations": ["mkloubert.vscode-remote-workspace"]
	},
	"folders": [
		{
			"uri": "ftp://[email protected]/pub",
			"name": "ftp.cs.brown.edu/pub"
		},
		{
			"uri": "ftp://[email protected]/pub",
			"name": "ftp.intersystems.com/pub"
		}

	],
	"settings": {}
}

Open this, allowing the extension to install. With this workspace, neither of the roots will even expand.
image

Repeating the test in 1.33.1 should work, and you'll be able to open 00INDEX and README to see their true contents.

@bpasero May be related to #72891

Version: 1.34.0-insider (user setup)
Commit: 6365518
Date: 2019-04-26T05:21:48.183Z
Electron: 3.1.8
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Windows_NT x64 10.0.16299

@vscodebot vscodebot bot added the extensions Issues concerning extensions label Apr 26, 2019
@bpasero bpasero self-assigned this Apr 26, 2019
@bpasero bpasero added the important Issue identified as high-priority label Apr 26, 2019
@bpasero bpasero added this to the April 2019 milestone Apr 26, 2019
@bpasero
Copy link
Member

bpasero commented Apr 26, 2019

Looking into...

@bpasero bpasero added file-io File I/O bug Issue identified by VS Code Team member as probable bug labels Apr 26, 2019
@bpasero
Copy link
Member

bpasero commented Apr 26, 2019

@gjsjohnmurray I am happy you reported this, thanks 👍. Will push a fix today.

@bpasero
Copy link
Member

bpasero commented Apr 26, 2019

@gjsjohnmurray for your second issue, when I try with stable, I cannot get the folders to expand. How is that possible you see it working?

@bpasero bpasero reopened this Apr 26, 2019
@gjsjohnmurray
Copy link
Contributor Author

@bpasero Re the second issue, maybe the FTP sites aren't so reliable. The intersystems.com one opened OK for me just now from 1.33.1

image

So did the brown.edu one the second time I tried (no screenshot here).

In the past I've used ftp.microsoft.com but that's not responding today. Maybe down, or even decommissioned I guess.

@bpasero
Copy link
Member

bpasero commented Apr 26, 2019

@gjsjohnmurray well they work almost instantly with the other extension.

@bpasero
Copy link
Member

bpasero commented Apr 26, 2019

Since we should keep issues separate so that they are verified, I will close this one for the first issue reported. Please report a new issue if you think you can reproduce it reliably. Thanks.

@bpasero bpasero closed this as completed Apr 26, 2019
@bpasero
Copy link
Member

bpasero commented Apr 26, 2019

Verification:

@gjsjohnmurray
Copy link
Contributor Author

I confirm that the new Insiders build has resolved the issue with the current release of Remote FS:

Version: 1.34.0-insider (user setup)
Commit: c1abf7978d59415dcfcf8cfcb15e0ee30c5e45a5
Date: 2019-04-26T13:39:29.623Z
Electron: 3.1.8
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Windows_NT x64 10.0.16299

Hopefully that project will still fix the extension so in future its stat returns size as number rather than string (liximomo/vscode-remote-fs#56).

The new Insiders doesn't improve results with Remote Workspace, so let's see whether the issue I opened there leads to a fix.

@bpasero thanks for the fast turnaround on this issue.

@bpasero bpasero added the verified Verification succeeded label May 7, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Jun 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug extensions Issues concerning extensions file-io File I/O important Issue identified as high-priority remote Remote system operations issues verification-needed Verification of issue is requested verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

2 participants