I just ask this question at stackoverflow.com. I was so confused.
http://stackoverflow.com/questions/17041782/vim-startup-with-importerror-no-module-named-ultisnips

On Tuesday, June 11, 2013 3:41:00 PM UTC+8, Davido wrote:
> Bram Moolenaar <[email protected]> wrote, on lun 10 jun 21:27 :
> 
> 
> 
> > 
> 
> > Patch 7.3.1163
> 
> > Problem:    Not easy to load Python modules.
> 
> > Solution:   Search "python2", "python3" and "pythonx" directories in
> 
> >         'runtimepath' for Python modules. (ZyX)
> 
> > Files:          runtime/doc/if_pyth.txt, src/configure.in, src/ex_cmds2.c,
> 
> >         src/if_py_both.h, src/if_python.c, src/if_python3.c,
> 
> >         src/testdir/test86.in, src/testdir/test87.in, src/auto/configure
> 
> 
> 
> Hello,
> 
> 
> 
> It seems to cause problems with some python based plugins ; I guess
> 
> it comes from this patch, since a yesterday vim build worked perfectly :
> 
> 
> 
>   Error treating [...]/vim-addon-manager/UltiSnips/plugin/UltiSnips.vim :
> 
>   ligne  251 :
> 
>   Traceback (most recent call last):
> 
>     File "<string>", line 1, in <module>
> 
>   ImportError: No module named UltiSnips
> 
>   ligne  252 :
> 
>   Traceback (most recent call last):
> 
>     File "<string>", line 1, in <module>
> 
>   NameError: name 'UltiSnips_Manager' is not defined
> 
>   ligne  253 :
> 
>   Traceback (most recent call last):
> 
>     File "<string>", line 1, in <module>
> 
>   NameError: name 'UltiSnips_Manager' is not defined
> 
>   ligne  254 :
> 
>   Traceback (most recent call last):
> 
>     File "<string>", line 1, in <module>
> 
>   NameError: name 'UltiSnips_Manager' is not defined
> 
> 
> 
> I've tried to symlink the python dir to pythonx or plugin/pythonx (or
> 
> 2,3), but it doesn't work.
> 
> 
> 
> Similar issue with Ozzy.
> 
> 
> 
> Is it intended behaviour, and the plugins will adjust in time ?
> 
> 
> 
> --
> 
> Regards,
> 
> 
> 
> Davido

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui