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

Errors when using VAM with Macvim #182

Open
akulakov opened this issue Jul 6, 2017 · 1 comment
Open

Errors when using VAM with Macvim #182

akulakov opened this issue Jul 6, 2017 · 1 comment

Comments

@akulakov
Copy link

akulakov commented Jul 6, 2017

Hi, after setting up a new macbook with the latest Mac OS, I'm running into some errors, I'm
using the same setup code that I had before with no issues:

Error detected while processing function vam#ActivateAddons[59]..vam#ActivateRecursively[30]..vam#install#Install[1]..vam#install#ReplaceAndFetchUrls:
line 7:
E735: Can only compare Dictionary with Dictionary
E15: Invalid expression: n =~ '^http://' && s:confirm('Fetch plugin info from URL '.n.'?')
Error detected while processing function vam#ActivateAddons[59]..vam#ActivateRecursively[30]..vam#install#Install[6]..vam#IsPluginInstalled[1]..vam#PluginDirFromName[1]..vam#DefaultPluginDirFromName:
line 4:
E731: using Dictionary as a String
Error detected while processing function vam#ActivateAddons[59]..vam#ActivateRecursively[30]..vam#install#Install:
line 9:
E716: Key not present in Dictionary: known
E15: Invalid expression: name != s:c['known'] | call vam#install#LoadKnownRepos(opts) | endif
line 11:
E731: using Dictionary as a String
E731: using Dictionary as a String
Error detected while processing function vam#ActivateAddons[59]..vam#ActivateRecursively[30]..vam#install#Install[16]..vam#install#RewriteName:
line 1:
E719: Cannot use [:] with a Dictionary
E15: Invalid expression: a:name[:6]==#'github:'
Error detected while processing function vam#ActivateAddons[59]..vam#ActivateRecursively[30]..vam#install#Install:
line 25:
E116: Invalid arguments for function vam#Log
Error detected while processing function vam#ActivateAddons:
line 145:
E605: Exception not caught: These plugins could not be activated for some reason: ['vim-snippets']

@MarcWeber
Copy link
Owner

Looks like n should have been an url, but that the code got a dictionary for whatever reason. The fastest way to find out what's going on is by either using vim -V20logfile or adding an echom n before that if statement or using debug statement..

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

2 participants