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 parsing Ruby file (with Rails plugin) #1

Closed
Mishail opened this issue Feb 28, 2011 · 1 comment
Closed

Errors when parsing Ruby file (with Rails plugin) #1

Mishail opened this issue Feb 28, 2011 · 1 comment
Labels

Comments

@Mishail
Copy link

Mishail commented Feb 28, 2011

I'm trying to use TagBar with Ruby on Rails project (with http://www.vim.org/scripts/script.php?script_id=1567 Rails plugin) and get the following errors:

Error detected while processing function 29_AutoUpdate..29_ProcessFile:
line   61:
E716: Key not present in Dictionary: kind2scope, v:val.fields.kind) || has_key(v:val.fields, scope)
Error detected while processing function 29_AutoUpdate..29_ProcessFile:
line   61:
E116: Invalid arguments for function has_key(typeinfo.kind2scope, v:val.fields.kind) || has_key(v:val.fields, scope)
Error detected while processing function 29_AutoUpdate..29_ProcessFile:
line   63:
E716: Key not present in Dictionary: kind2scope, v:val.fields.kind) || has_key(v:val.fields, scope))
Error detected while processing function 29_AutoUpdate..29_ProcessFile:
line   63:
E116: Invalid arguments for function has_key(typeinfo.kind2scope, v:val.fields.kind) || has_key(v:val.fields, scope))
Error detected while processing function 29_AutoUpdate..29_ProcessFile..29_AddScopedTags:
line   38:
E716: Key not present in Dictionary: kind2scope, tag.fields.kind)
Error detected while processing function 29_AutoUpdate..29_ProcessFile..29_AddScopedTags:
line   38:
E116: Invalid arguments for function has_key(a:typeinfo.kind2scope, tag.fields.kind)
Error detected while processing function 29_AutoUpdate..29_ProcessFile..29_AddScopedTags:
line   38:
E15: Invalid expression: !has_key(a:typeinfo.kind2scope, tag.fields.kind)
Error detected while processing function 29_AutoUpdate..29_ProcessFile..29_AddScopedTags:
line   46:
E716: Key not present in Dictionary: kind2scope[tag.fields.kind]
Error detected while processing function 29_AutoUpdate..29_ProcessFile..29_AddScopedTags:
line   46:
E15: Invalid expression: a:typeinfo.kind2scope[tag.fields.kind]
Error detected while processing function 29_AutoUpdate..29_ProcessFile..29_AddScopedTags:
line   47:
E121: Undefined variable: parentscope
Error detected while processing function 29_AutoUpdate..29_ProcessFile..29_AddScopedTags:
line   47:
E116: Invalid arguments for function 29_AddScopedTags
Error detected while processing function 29_AutoUpdate..29_ProcessFile..29_AddScopedTags..29_AddScopedTags..29_ProcessPseudoChildren:
line    2:
E716: Key not present in Dictionary: kind2scope, childtag.fields.kind)
Error detected while processing function 29_AutoUpdate..29_ProcessFile..29_AddScopedTags..29_AddScopedTags..29_ProcessPseudoChildren:
line    2:
E116: Invalid arguments for function has_key(a:typeinfo.kind2scope, childtag.fields.kind)
Error detected while processing function 29_AutoUpdate..29_ProcessFile..29_AddScopedTags..29_AddScopedTags..29_ProcessPseudoChildren:
line    2:
E15: Invalid expression: !has_key(a:typeinfo.kind2scope, childtag.fields.kind)
Error detected while processing function 29_AutoUpdate..29_ProcessFile..29_AddScopedTags..29_AddScopedTags..29_ProcessPseudoChildren:
line   10:
E716: Key not present in Dictionary: kind2scope[childtag.fields.kind]
Error detected while processing function 29_AutoUpdate..29_ProcessFile..29_AddScopedTags..29_AddScopedTags..29_ProcessPseudoChildren:
line   10:
E15: Invalid expression: a:typeinfo.kind2scope[childtag.fields.kind]
Error detected while processing function 29_AutoUpdate..29_ProcessFile..29_AddScopedTags..29_AddScopedTags..29_ProcessPseudoChildren:
line   11:
E121: Undefined variable: parentscope
Error detected while processing function 29_AutoUpdate..29_ProcessFile..29_AddScopedTags..29_AddScopedTags..29_ProcessPseudoChildren:
line   11:
E116: Invalid arguments for function 29_AddScopedTags
Error detected while processing function 29_AutoUpdate..29_ProcessFile..29_AddScopedTags..29_AddScopedTags..29_ProcessPseudoChildren:
line    2:
E716: Key not present in Dictionary: kind2scope, childtag.fields.kind)
Error detected while processing function 29_AutoUpdate..29_ProcessFile..29_AddScopedTags..29_AddScopedTags..29_ProcessPseudoChildren:
line    2:
E116: Invalid arguments for function has_key(a:typeinfo.kind2scope, childtag.fields.kind)
Error detected while processing function 29_AutoUpdate..29_ProcessFile..29_AddScopedTags..29_AddScopedTags..29_ProcessPseudoChildren:
line    2:
E15: Invalid expression: !has_key(a:typeinfo.kind2scope, childtag.fields.kind)
Error detected while processing function 29_AutoUpdate..29_ProcessFile..29_AddScopedTags..29_AddScopedTags..29_ProcessPseudoChildren:
line   10:
E716: Key not present in Dictionary: kind2scope[childtag.fields.kind]
Error detected while processing function 29_AutoUpdate..29_ProcessFile..29_AddScopedTags..29_AddScopedTags..29_ProcessPseudoChildren:
line   10:
E15: Invalid expression: a:typeinfo.kind2scope[childtag.fields.kind]
Error detected while processing function 29_AutoUpdate..29_ProcessFile..29_AddScopedTags..29_AddScopedTags..29_ProcessPseudoChildren:
line   11:
E121: Undefined variable: parentscope
Error detected while processing function 29_AutoUpdate..29_ProcessFile..29_AddScopedTags..29_AddScopedTags..29_ProcessPseudoChildren:
line   11:
E116: Invalid arguments for function 29_AddScopedTags
Error detected while processing function 29_AutoUpdate..29_ProcessFile..29_AddScopedTags..29_AddScopedTags..29_ProcessPseudoChildren:
line    2:
E716: Key not present in Dictionary: kind2scope, childtag.fields.kind)
Error detected while processing function 29_AutoUpdate..29_ProcessFile..29_AddScopedTags..29_AddScopedTags..29_ProcessPseudoChildren:
line    2:
E116: Invalid arguments for function has_key(a:typeinfo.kind2scope, childtag.fields.kind)
Error detected while processing function 29_AutoUpdate..29_ProcessFile..29_AddScopedTags..29_AddScopedTags..29_ProcessPseudoChildren:
line    2:
E15: Invalid expression: !has_key(a:typeinfo.kind2scope, childtag.fields.kind)
Error detected while processing function 29_AutoUpdate..29_ProcessFile..29_AddScopedTags..29_AddScopedTags..29_ProcessPseudoChildren:
line   10:
E716: Key not present in Dictionary: kind2scope[childtag.fields.kind]
Error detected while processing function 29_AutoUpdate..29_ProcessFile..29_AddScopedTags..29_AddScopedTags..29_ProcessPseudoChildren:
line   10:
E15: Invalid expression: a:typeinfo.kind2scope[childtag.fields.kind]
Error detected while processing function 29_AutoUpdate..29_ProcessFile..29_AddScopedTags..29_AddScopedTags..29_ProcessPseudoChildren:
line   11:
E121: Undefined variable: parentscope
Error detected while processing function 29_AutoUpdate..29_ProcessFile..29_AddScopedTags..29_AddScopedTags..29_ProcessPseudoChildren:
line   11:
E116: Invalid arguments for function 29_AddScopedTags
@majutsushi
Copy link
Collaborator

Whoops, there was a typo in the Ruby definition. Sorry about that. It's fixed now.

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

No branches or pull requests

2 participants