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

更新時にエラーになる #10

Closed
YoshihiroIto opened this issue Feb 22, 2016 · 23 comments
Closed

更新時にエラーになる #10

YoshihiroIto opened this issue Feb 22, 2016 · 23 comments

Comments

@YoshihiroIto
Copy link
Contributor

Problems summary

Expected

Environment Information

  • OS: Windows10
  • Vim version: GVim 7.4 p1194 kaoriya  

Provide a minimal .vimrc with less than 50 lines (Required!)

set nocompatible

let s:cache_dir = expand('~/.cache')
let s:vim_plugin_toml = expand('~/mini_vim_plugin.toml')

execute 'set runtimepath^=' . s:cache_dir . '/plugin/repos/github.com/Shougo/dein.vim'

call dein#begin(s:cache_dir . '/plugin')

if dein#load_cache([$MYVIMRC, s:vim_plugin_toml])
  call dein#add('Shougo/dein.vim')
  call dein#load_toml(s:vim_plugin_toml)
  call dein#save_cache()
endif

call dein#end()

filetype plugin indent on
[[plugins]]
repo      = 'Shougo/vimproc'
lazy      = 0

[[plugins]]
repo      = 'Shougo/tabpagebuffer.vim'
lazy      = 1
on_path   = '.*'

The reproduce ways from Vim starting (Required!)

それぞれ

~/.mini_vimrc
~/mini_vim_plugin.toml

で保存時 gvim -u ~/.minivimrc

:call  dein#update()

を行い更新する。
エラーになる。(スクリーンショット参照)

Screen shot (if possible)

image

Upload the log messages by :redir and :message

@Shougo
Copy link
Owner

Shougo commented Feb 22, 2016

I cannot reproduce.
Please execute :helptags C:\Users\yoi\.cache\plugin\.dein command in your Vim.

@Shougo
Copy link
Owner

Shougo commented Feb 22, 2016

Please check in C:\Users\yoi\.cache\plugin\.dein.
The documents are copied?

@YoshihiroIto
Copy link
Contributor Author

:helptags C:\Users\yoi\.cache\plugin\.dein
を実行しました。

.dein ディレクトリ以下に はafter と ftdetect のディレクトリがあります。
ドキュメントは見当たりません。

@YoshihiroIto
Copy link
Contributor Author

訂正します。
.dein ディレクトリ以下には

3つのディレクトリ
after
doc
ftdetect

2つのファイル
tags
tabpagebuffer.txt

でできています。

doc ディレクトリの中は空です

@YoshihiroIto
Copy link
Contributor Author

after/ftdetect/after/ftdetect.vim
ftdetect.vim は 0バイト

ftdetect/ftdetect.vim
ftdetect.vim は 0バイト

となっています。

@Shougo Shougo closed this as completed in c6b93b4 Feb 22, 2016
@Shougo
Copy link
Owner

Shougo commented Feb 22, 2016

Fixed.

@YoshihiroIto
Copy link
Contributor Author

.dein ディレクトリ以下には
dein.txt
tabpagebuffer.txt
vimproc.txt
が作成されるようになりましたが、
メッセージは依然出力されています。

image

@Shougo
Copy link
Owner

Shougo commented Feb 22, 2016

Please execute helptags C:\Users\yoi\.cache\plugin\.dein again.
I think your :helptags is broken.

@Shougo
Copy link
Owner

Shougo commented Feb 22, 2016

Unfortunately, Kaoriya Vim 7.4.1161 is too old.
Please test the latest version.

https://github.com/vim/vim-win32-installer/releases

@YoshihiroIto
Copy link
Contributor Author

https://github.com/vim/vim-win32-installer/releases/download/v7.4.1385/gvim_7.4.1385_x64.zip

で試しましたが、状況変わらずで、同じエラーメッセージが出力されています。

@wsdjeg
Copy link
Contributor

wsdjeg commented Feb 22, 2016

do you have ctags in you PATH?

@Shougo Shougo reopened this Feb 22, 2016
@tyru
Copy link
Contributor

tyru commented Feb 22, 2016

Vim does not require ctags to generate tags file.

@wsdjeg
Copy link
Contributor

wsdjeg commented Feb 23, 2016

oh sorry

@Shougo Shougo closed this as completed in 0e15b77 Feb 23, 2016
@Shougo
Copy link
Owner

Shougo commented Feb 23, 2016

Fixed the problem.

@YoshihiroIto
Copy link
Contributor Author

dein.vimを更新し
:call dein#update()
しました。

以下出力結果です。
image

@AlexMasterov
Copy link

@Shougo, this hotfix does not work for me:

xcopy "C:\\Vim\\vimfiles\\dein\\repos\\github.com\\Shougo\\dein.vim\\doc\\"* "C:\\Vim\\vimfiles\\dein\\.dein\\doc" /E /H /I /R /Y

Only works so:

xcopy "C:\\Vim\\vimfiles\\dein\\repos\\github.com\\Shougo\\dein.vim\\doc\"* "C:\\Vim\\vimfiles\\dein\\.dein\\doc" /E /H /I /R /Y
xcopy "C:\\Vim\\vimfiles\\dein\\repos\\github.com\\Shougo\\dein.vim\\doc" "C:\\Vim\\vimfiles\\dein\\.dein\\doc" /E /H /I /R /Y

Shougo added a commit that referenced this issue Feb 23, 2016
@Shougo
Copy link
Owner

Shougo commented Feb 23, 2016

Thank you. Fixed again.

@Shougo
Copy link
Owner

Shougo commented Feb 23, 2016

@AlexMasterov

This works in Windows?

xcopy "C:\Vim\vimfiles\dein\repos\github.com\Shougo\dein.vim\doc\"* "C:\Vim\vimfiles\dein\.dein\doc" /E /H /I /R /Y

@AlexMasterov
Copy link

@Shougo Yes.

Shougo added a commit that referenced this issue Feb 23, 2016
@Shougo
Copy link
Owner

Shougo commented Feb 23, 2016

Thanks. Please test this version.

@AlexMasterov
Copy link

Works for me. Thank you.

@Shougo
Copy link
Owner

Shougo commented Feb 23, 2016

:-)

@YoshihiroIto
Copy link
Contributor Author

修正確認しました。問題が解消されました。
ありがとうございます。

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

No branches or pull requests

5 participants