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

Bad folder created on Windows #125

Closed
apupier opened this issue Apr 8, 2019 · 8 comments
Closed

Bad folder created on Windows #125

apupier opened this issue Apr 8, 2019 · 8 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@apupier
Copy link
Member

apupier commented Apr 8, 2019

I have a folder named "UsersAurelien Pupier" containing .lsp4xml folder which has been created at the root of my project.

image

@NikolasKomonen
Copy link
Contributor

@apupier Are you running the project as a Workspace, or have you just opened the project folder?

@NikolasKomonen NikolasKomonen self-assigned this Apr 8, 2019
@apupier
Copy link
Member Author

apupier commented Apr 8, 2019

I have opened the project folder

@apupier
Copy link
Member Author

apupier commented Apr 8, 2019

in output -> XMl Support, there are this kind of message:

[Info  - 2:56:33 PM] Apr 08, 2019 02:56:33 org.eclipse.lsp4xml.uriresolver.CacheResourcesManager lambda$downloadResource$0()
Message: Downloading http://camel.apache.org/schema/spring/camel-spring.xsd to C:UsersAurelien Pupier\.lsp4xml\cache\http\camel.apache.org\schema\spring\camel-spring.xsd...

@NikolasKomonen
Copy link
Contributor

NikolasKomonen commented Apr 8, 2019

I think I've found the issue

C:UsersAurelien Pupier\

should be

C:Users\Aurelien Pupier\
C:\Users\Aurelien Pupier\

I think this is a Windows issue (I recreated on my Windows machine). I'll keep you up to date.

@apupier
Copy link
Member Author

apupier commented Apr 8, 2019

it should even be

C:\Users\Aurelien Pupier\

@fbricon
Copy link
Collaborator

fbricon commented Apr 8, 2019

@NikolasKomonen we should release a fix ASAP

@fbricon fbricon added the bug Something isn't working label Apr 8, 2019
@fbricon fbricon added this to the 0.5.1 milestone Apr 8, 2019
@fbricon
Copy link
Collaborator

fbricon commented Apr 8, 2019

@apupier in the meantime, you can try setting the cache directory in your vscode user settings

"xml.server.workDir": "C:\\Users\\Aurelien Pupier\\.lsp4xml"

See if it works.

@apupier
Copy link
Member Author

apupier commented Apr 8, 2019

@apupier in the meantime, you can try setting the cache directory in your vscode user settings

"xml.server.workDir": "C:\\Users\\Aurelien Pupier\\.lsp4xml"

See if it works.

workaround is working:

[Info  - 6:34:21 PM] Apr 08, 2019 06:34:21 org.eclipse.lsp4xml.uriresolver.CacheResourcesManager lambda$downloadResource$0()
Message: Downloaded http://camel.apache.org/schema/spring/camel-spring.xsd to C:\Users\Aurelien Pupier\.lsp4xml\cache\http\camel.apache.org\schema\spring\camel-spring.xsd in 530ms

NikolasKomonen added a commit to NikolasKomonen/lsp4xml that referenced this issue Apr 8, 2019
Fixes #redhat-developer/vscode-xml#125

Signed-off-by: Nikolas K <nikolaskomonen@gmail.com>
NikolasKomonen added a commit to NikolasKomonen/lsp4xml that referenced this issue Apr 8, 2019
Fixes redhat-developer/vscode-xml#125

Signed-off-by: Nikolas K <nikolaskomonen@gmail.com>
NikolasKomonen added a commit to NikolasKomonen/lsp4xml that referenced this issue Apr 8, 2019
Fixes redhat-developer/vscode-xml#125

Signed-off-by: Nikolas K <nikolaskomonen@gmail.com>
NikolasKomonen added a commit to NikolasKomonen/lsp4xml that referenced this issue Apr 8, 2019
Fixes redhat-developer/vscode-xml#125

Signed-off-by: Nikolas K <nikolaskomonen@gmail.com>
NikolasKomonen added a commit to NikolasKomonen/lsp4xml that referenced this issue Apr 8, 2019
Fixes redhat-developer/vscode-xml#125

Signed-off-by: Nikolas K <nikolaskomonen@gmail.com>
NikolasKomonen added a commit to NikolasKomonen/lsp4xml that referenced this issue Apr 8, 2019
Fixes redhat-developer/vscode-xml#125

Signed-off-by: Nikolas K <nikolaskomonen@gmail.com>
NikolasKomonen added a commit to NikolasKomonen/lsp4xml that referenced this issue Apr 8, 2019
Fixes redhat-developer/vscode-xml#125

Signed-off-by: Nikolas K <nikolaskomonen@gmail.com>
NikolasKomonen added a commit to NikolasKomonen/lsp4xml that referenced this issue Apr 8, 2019
Fixes redhat-developer/vscode-xml#125

Signed-off-by: Nikolas K <nikolaskomonen@gmail.com>
NikolasKomonen added a commit to NikolasKomonen/lsp4xml that referenced this issue Apr 8, 2019
Fixes redhat-developer/vscode-xml#125

Signed-off-by: Nikolas K <nikolaskomonen@gmail.com>
fbricon pushed a commit to eclipse/lemminx that referenced this issue Apr 8, 2019
Fixes redhat-developer/vscode-xml#125

Signed-off-by: Nikolas K <nikolaskomonen@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants