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

When the download command is set to curl, an error occurs when executing JetpackSync. #121

Open
atsushifx opened this issue May 15, 2023 · 0 comments

Comments

@atsushifx
Copy link

Bug Report

Desktop (please complete the following information):**

  • OS: Windows 11 22H2
  • Vim
    VIM - Vi IMproved 9.0 (2022 Jun 28, compiled May 13 2023 22:50:01)

Describe the bug

When the download command is set to curl, an error occurs when executing JetpackSync.

To Reproduce

Write the vimrc as follows:

" jetpack
let g:jetpack_download_method = 'curl'

 packadd vim-jetpack

" plugins
call jetpack#begin()
Jetpack 'tani/vim-jetpack', { 'opt': 1 }  " bootstrap

" my plugins
Jetpack 'editorconfig/editorconfig-vim'
Jetpack 'wakatime/vim-wakatime'
Jetpack 'lambdalisue/fern.vim'

call jetpack#end()

Start vim and execute JetpackSync.

Screenshots

An error was detected while processing function jetpack#sync[3]..jetpack#download_plugins[39]..jetpack#jobwait[3]..jetpack#jobcount[1]..<lambda>13098[1]..jetpack#jobstatus[4]..jetpack#nvim_exit_cb[2]..jetpack#nvim_exit_cb[2]..jetpack#nvim_exit_cb[2]..jetpack#nvim_exit_cb:
Line 5:
`cmd.exe /c (if exist C:\Users\atsushifx\.config\vimfiles\pack\jetpack\opt\fern.vim rmdir /s /q C:\Users\atsushifx\.config\vimfiles\pack\jetpack\opt\fern.vim) &&
  mkdir C:\Users\atsushifx\.config\vimfiles\pack\jetpack\opt\fern.vim &&
  curl -fsSL https://github.com/lambdalisue/fern.vim/archive/HEAD.tar.gz -o C:\Users\ATSUSH~1\AppData\Local\Temp\VCO5676.tmp &&
  tar -zxf C:\Users\ATSUSH~1\AppData\Local\Temp\VCO5676.tmp -C C:\Users\atsushifx\.config\vimfiles\pack\jetpack\opt\fern.vim 1 &&
  (if exist C:\Users\ATSUSH~1\AppData\Local\Temp\VCO5676.tmp del C:\Users\ATSUSH~1\AppData\Local\Temp\VCO5676.tmp)`

 C:\app\scoop\apps\unxutils\current\usr\local\wbin\tar.exe: Cannot use compressed or remote archives
 C:\app\scoop\apps\unxutils\current\usr\local\wbin\tar.exe: Error is not recoverable: exiting now

/
/

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

No branches or pull requests

1 participant