MarcWeber / ultisnips

Official Mirror of UltiSnips trunk on LaunchPad. Send pull requests to SirVer/ultisnips!
https://launchpad.net/ultisnips
25 stars 5 forks source link

'UltiSnips_Manager' is not defined #7

Closed leafac closed 11 years ago

leafac commented 11 years ago

The following error pops in my Vim when opening a Ruby file from a Rails project:

Error detected while processing function <SNR>63_Detect..<SNR>63_BufInit..RailsBufInit..<SNR>110_BufSettings..UltiSnipsAddFiletypes..267:
line   28:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
NameError: name 'UltiSnips_Manager' is not defined
Error detected while processing function <SNR>110_BufSettings..UltiSnipsAddFiletypes..267:
line   28:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
NameError: name 'UltiSnips_Manager' is not defined

It flashes in red a for a few moments and goes away. Snippets keep working fine.

My Python version is 3.3.2.

If you need extra information or I can help you in any way, please get in touch.

Thanks.

leafac commented 11 years ago

If it helps, I had to comment the line ultisnips/plugin/UltiSnips.vim:166 to make the message go away so that I could work.

I believe I'm missing Rails specific snippets by doing that. But I can live with it for now :smile:

MarcWeber commented 11 years ago

No idea what's happening. I can offer you uploading your setup to my v-server so that I can debug it. Ping on irc if you want me to trouble shoot it.

MarcWeber commented 11 years ago

You didn't show up a second time. my email is marco-oweber AT gmx.de - you can send me a mail with your ssh pub key, then upload your setup so that I can try to reproduce your bug.

MarcWeber commented 11 years ago

should be fixed by 5dc3268