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

GetScript: Installation of plugins fails with errors #6928

Open
ademin opened this issue Sep 10, 2020 · 1 comment
Open

GetScript: Installation of plugins fails with errors #6928

ademin opened this issue Sep 10, 2020 · 1 comment
Labels

Comments

@ademin
Copy link

ademin commented Sep 10, 2020

Describe the bug
Plugins aren't installed on Windows with GLVS.
Case 1 ($HOME=C:\Users\Алексей Демин). The space char is the one to have a look at:

Messages maintainer: Bram Moolenaar <Bram@vim.org>
"~\vimfiles\GetLatest\GetLatestVimScripts.dat" 3L, 106B
"~\vimfiles\GetLatest\GetLatestVimScripts.dat" 3L, 102B written
E492: Not an editor command: GLVs
"GetLatestVimScripts.dat" 3L, 102B
.downloading new <rainbow_parentheses.zip>
Error detected while processing function getscript#GetLatestVimScripts[166]..<SNR>27_GetOneScript:
line  199:
E739: Cannot create directory: C:/Users/Алексей\ Демин/vimfiles/GetLatest/Installed
line  292:
E151: No match: C:\Users\Алексей Демин\vimfiles\doc\**
line  293:
E344: Can't find directory "C:/Users/Алексей\ Демин/vimfiles/GetLatest" in cdpath
E472: Command failed

Case 2 ($HOME=D:\ ):

Messages maintainer: Bram Moolenaar <Bram@vim.org>
"D:\vimfiles\GetLatest\GetLatestVimScripts.dat" 3L, 106B
"D:\vimfiles\GetLatest\GetLatestVimScripts.dat" 3L, 102B written
"GetLatestVimScripts.dat" 3L, 102B
.downloading new <rainbow_parentheses.zip>
Error detected while processing function getscript#GetLatestVimScripts[166]..<SNR>33_GetOneScript:
line  203:
E472: Command failed
line  292:
E151: No match: D:\vimfiles\doc\**
Downloaded one updated script to <D:\vimfiles/GetLatest>

To Reproduce

  1. Configure getscript plugin with respect to the documentation
  2. Add a record to the GetLatestVimScripts.dat
ScriptID SourceID Filename
--------------------------
3772 1 :AutoInstall: rainbow_parentheses.vim
  1. Run :GLVS

Expected behavior
The plugin has been installed successfully!

Environment:
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Aug 28 2020 22:02:56)
MS-Windows 64-bit console version
Included patches: 1-1537
Compiled by appveyor@APPVYR-WIN

@ademin
Copy link
Author

ademin commented Sep 11, 2020

Add the author of the plugin
@cecamp please, have a look.

For case 1, It looks like the problem with isdirectory(fnameescape('/home/with spaces/path')) -> 0
for directory that is /home/with spaces/path which exists

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants