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

Tons of errors when running :BundleInstall in Vundle #21

Open
mikedfunk opened this issue Jan 30, 2014 · 8 comments
Open

Tons of errors when running :BundleInstall in Vundle #21

mikedfunk opened this issue Jan 30, 2014 · 8 comments

Comments

@mikedfunk
Copy link

screen shot 2014-01-30 at 11 31 03 am

@gko
Copy link
Owner

gko commented Feb 10, 2014

Which version of vundle do you use? I tried yesterday with latest one, and had no problem.

@mikedfunk
Copy link
Author

I have the same problem, but only on doing :BundleInstall the second
time. The first time it works as expected. I posted this as an issue on the
coloresque repo with a screenshot. No response. My crappy workaround is to
save a session, quit and restart.

Mike Funk
mikefunk.com | mike@mikefunk.com

On Mon, Feb 10, 2014 at 8:53 AM, Konstantin Gorodinskii <
notifications@github.com> wrote:

Which version of vundle do you use? I tried yesterday with latest one, and
had no problem.

Reply to this email directly or view it on GitHubhttps://github.com//issues/21#issuecomment-34653811
.

@KabbAmine
Copy link

Same thing here, any news about this issue?

@alampros
Copy link

Same here. If you scroll through the error output (hitting space a few times), vundle continues doing it's updates/installs with no other problems.

Package Version
vim-coloresque v0.9.5 (0c21b14)
vundle v0.10.2 (0b28e33)
vim v7.4.52
osx 10.9.4

@noscripter
Copy link

same here.

update@20150915
The author seems to have stopped maintenance of this project, maybe we should all fork this project and fix this issue by ourselves.

just add these four lines to ./after/syntax/css/vim-coloresque.vim in function VimCssInit:

    if !exists("b:color_pattern")
        let b:color_pattern = {}
        return
    endif

https://github.com/noscripter/vim-coloresque/blob/master/after/syntax/css/vim-coloresque.vim#L122

change:noscripter@92bb999

@KabbAmine
Copy link

I've moved from Vundle to Vim-plug, and no more errors shown.

Anyway, to avoid the annoying messages you should define b:color_pattern if it not exists.

@firedev
Copy link

firedev commented Oct 28, 2014

It blows up here when you do :PluginUpdate after a while. When you just started Vim it works fine. Here are the errors I see in text form:

Error detected while processing function <SNR>101_VimCssInit:
line    9:
E121: Undefined variable: b:color_pattern
E116: Invalid arguments for function keys(b:color_pattern))>0
E116: Invalid arguments for function len(keys(b:color_pattern))>0
E15: Invalid expression: len(keys(b:color_pattern))>0
Error detected while processing function <SNR>101_VimCssInit..<SNR>101_AdditionalColors..<SNR>101_MatchColorValue:
line    9:
E121: Undefined variable: b:color_pattern
E121: Undefined variable: b:color_pattern
E121: Undefined variable: b:color_pattern
E121: Undefined variable: b:color_pattern
E121: Undefined variable: b:color_pattern
...

@andreatta
Copy link

The solution is rather simple as sangwook already found out.
Just add the following lines on right under line 120 (function! s:VimCssInit(update))

if !exists("b:color_pattern")
    let b:color_pattern = {}
endif

@gorodinsky maybe you could merge this in, or do you have another solution?

l4sh added a commit to l4sh/vim-coloresque that referenced this issue Jun 12, 2015
Applied solution provided by andreatta on
gko#21
0xItx added a commit to 0xItx/vim-coloresque that referenced this issue Aug 27, 2015
noscripter added a commit to noscripter/vim-coloresque that referenced this issue Sep 14, 2015
fix issue <gko#21>
gbyukg added a commit to gbyukg/vim-coloresque that referenced this issue Jan 5, 2017
gbyukg added a commit to gbyukg/vim-coloresque that referenced this issue Jan 5, 2017
systemmonkey42 added a commit to systemmonkey42/vim-coloresque that referenced this issue Mar 15, 2017
Apply andreatta's fix to gko#21
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

7 participants