Invalid URI : ^A

Aperta
#998 9 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
vim
Ambito
tooling

Direzione di ricerca

Inizia con il _vimrc mostrato e il percorso autoload/plug.vim, quindi riproduci il problema dell’aggiornamento in Windows GVim 8.2 usando i plugin elencati. Traccia il punto in cui l’URI del plugin diventa ^A e verifica che l’aggiornamento venga completato senza l’errore Invalid URI.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

shell:powershell windows

Actual problem:
Can install my plugins no problem. Can not update them, their URI then becomes "^A". The error message:

Updated. Elapsed time: 7.956585 sec.
[xxxxxxx]

  • Finishing ... Done!
    x vim-addon-mw-utils:
    Invalid URI: ^A
    Expected: https://git::@github.com/MarcWeber/vim-addon-mw-utils.git
    PlugClean required.
    [...]

Image:
image

Tried PlugClean then PlugInstall again. Tried specifying the adresses of the github repositories with their SSH key instead.

Part of my vimrc:

`if has('win32')
	set shell=powershell
endif
" Pluggins. Plug manager is vim-plug
" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
let g:vim_plug_path = $HOME.'/.vim/autoload/plug.vim'
let &rtp .= g:vim_plug_path

let g:vim_plug_installed = 1
" if vim-plug is not installed, install vim-plug
if empty(glob(g:vim_plug_path))
	if executable('curl')
		silent exec '!curl -fLo '.g:vim_plug_path.' --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
		autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
	elseif executable('wget')
		silent exec '!wget "https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim" -P '.fnamemodify(g:vim_plug_path, ":h")
		autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
	else
		echo '! Could not install the plugin manager :('
		let g:vim_plug_installed = 0
	endif
endif
if g:vim_plug_installed

	exec 'source '.g:vim_plug_path
	call plug#begin('~/.vim/plugged')
	" Utility
	Plug 'MarcWeber/vim-addon-mw-utils' "required by snipmate
	Plug 'tomtom/tlib_vim' "required by snipmate
	Plug 'garbas/vim-snipmate' "snippets
	Plug 'skywind3000/asyncrun.vim' "job_start made easier
	" Coding
	Plug 'vim-syntastic/syntastic' "syntax checks for a lot of languages
	" Aspect
	Plug 'morhetz/gruvbox' " gruvbox colorscheme
	" Miscellaneous
	Plug 'terryma/vim-smooth-scroll' " smooth scrolling
		noremap <silent> <c-u> :call smooth_scroll#up(&scroll, 0, 2)<CR>
		noremap <silent> <c-d> :call smooth_scroll#down(&scroll, 0, 2)<CR>
		noremap <silent> <c-b> :call smooth_scroll#up(&scroll*2, 0, 4)<CR>
		noremap <silent> <c-f> :call smooth_scroll#down(&scroll*2, 0, 4)<CR>
	call plug#end()

endif

Contents of version:
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Apr 14 2020 22:02:32)
MS-Windows 64-bit GUI version with OLE support
Included patches: 1-579
Compiled by appveyor@APPVYR-WIN
Huge version with GUI. Features included (+) or not (-):
+acl +cmdline_hist +eval +jumplist +multi_byte_ime/dyn +python3/dyn -tag_old_static +virtualedit
+arabic +cmdline_info +ex_extra +keymap +multi_lang +quickfix -tag_any_white +visual
+autocmd +comments +extra_search +lambda +mzscheme/dyn +reltime +tcl/dyn +visualextra
+autochdir +conceal -farsi +langmap +netbeans_intg +rightleft -termguicolors +viminfo
+autoservername +cryptv +file_in_path +libcall +num64 +ruby/dyn +terminal +vreplace
+balloon_eval +cscope +find_in_path +linebreak +ole +scrollbind -termresponse -vtp
-balloon_eval_term +cursorbind +float +lispindent +packages +signs +textobjects +wildignore
+browse +cursorshape +folding +listcmds +path_extra +smartindent +textprop +wildmenu
++builtin_terms +dialog_con_gui -footer +localmap +perl/dyn +sound -tgetent +windows
+byte_offset +diff +gettext/dyn +lua/dyn +persistent_undo +spell +timers +writebackup
+channel +digraphs -hangul_input +menu +popupwin +startuptime +title -xfontset
+cindent +directx +iconv/dyn +mksession -postscript +statusline +toolbar -xim
+clientserver -dnd +insert_expand +modify_fname +printer -sun_workshop +user_commands +xpm_w32
+clipboard -ebcdic -ipv6 +mouse +profile +syntax +vartabs -xterm_save
+cmdline_compl +emacs_tags +job +mouseshape +python/dyn +tag_binary +vertsplit
system vimrc file: "$VIM\vimrc"
user vimrc file: "$HOME_vimrc"
2nd user vimrc file: "$HOME\vimfiles\vimrc"
3rd user vimrc file: "$VIM_vimrc"
user exrc file: "$HOME_exrc"
2nd user exrc file: "$VIM_exrc"
system gvimrc file: "$VIM\gvimrc"
user gvimrc file: "$HOME_gvimrc"
2nd user gvimrc file: "$HOME\vimfiles\gvimrc"
3rd user gvimrc file: "$VIM_gvimrc"
defaults file: "$VIMRUNTIME\defaults.vim"
system menu file: "$VIMRUNTIME\menu.vim"
Compilation: cl -c /W3 /nologo -I. -Iproto -DHAVE_PATHDEF -DWIN32 -DFEAT_CSCOPE -DFEAT_TERMINAL -DFEAT_SOUND -DFEAT_NETBEANS_INTG -DFEAT_JOB_CHANNEL -DFEAT_XPM_W32 -DWINVER=0x0501 -D_WIN32_WINNT=0x0501 /source-charset:utf-8 /MP -DHAVE_STDINT_H /Ox /GL -DNDEBUG /Zl /MT /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE -DFEAT_OLE -DFEAT_MBYTE_IME -DDYNAMIC_IME -DFEAT_GUI_MSWIN -DFEAT_DIRECTX -DDYNAMIC_DIRECTX -DFEAT_DIRECTX_COLOR_EMOJI -DDYNAMIC_ICONV -DDYNAMIC_GETTEXT -DFEAT_TCL -DDYNAMIC_TCL -DDYNAMIC_TCL_DLL="tcl86t.dll" -DDYNAMIC_TCL_VER="8.6" -DFEAT_LUA -DDYNAMIC_LUA -DDYNAMIC_LUA_DLL="lua53.dll" -DFEAT_PYTHON -DDYNAMIC_PYTHON -DDYNAMIC_PYTHON_DLL="python27.dll" -DFEAT_PYTHON3 -DDYNAMIC_PYTHON3 -DDYNAMIC_PYTHON3_DLL="python38.dll" -DFEAT_MZSCHEME -I "C:\Program Files\Racket\include" -DMZ_PRECISE_GC -DDYNAMIC_MZSCHEME -DDYNAMIC_MZSCH_DLL="libracket3m_a36fs8.dll" -DDYNAMIC_MZGC_DLL="libracket3m_a36fs8.dll" -DFEAT_PERL -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DDYNAMIC_PERL -DDYNAMIC_PERL_DLL="perl528.dll" -DFEAT_RUBY -DDYNAMIC_RUBY -DDYNAMIC_RUBY_DLL="x64-msvcrt-ruby240.dll" -DRUBY_VERSION=24 -DFEAT_HUGE /Fd.\ObjGXOULYHTRZAMD64/ /Zi
Linking: link /nologo /opt:ref /LTCG:STATUS /HIGHENTROPYVA:NO oldnames.lib kernel32.lib advapi32.lib shell32.lib gdi32.lib comdlg32.lib ole32.lib netapi32.lib uuid.lib /machine:AMD64 gdi32.lib version.lib winspool.lib comctl32.lib advapi32.lib shell32.lib netapi32.lib /machine:AMD64 libcmt.lib oleaut32.lib user32.lib /nodefaultlib:lua53.lib /STACK:8388608 /nodefaultlib:python27.lib /nodefaultlib:python38.lib "C:\Tcl\lib\tclstub86.lib" winmm.lib WSock32.lib Ws2_32.lib xpm\x64\lib-vc14\libXpm.lib /PDB:gvim.pdb -debug

  • Type:
    • Bug
    • Enhancement
    • Feature Request
    • Question
  • OS:
    • All/Other
    • Linux
    • OS X
    • Windows
  • Vim:
    • Terminal Vim
    • GVim
    • Neovim
Lingua principale
Vim Script
Stelle
35.8k
Fork
1.9k
Merge medio
1h 13m
PR unite (30g)
1

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di junegunn/vim-plug

Tutte le issue di junegunn/vim-plug

Issue simili

Altre issue su DevTools

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.