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 ?

The change must be backwards compatible.  Where is the UltiSnips python
file located?

-- 
I wish there was a knob on the TV to turn up the intelligence.
There's a knob called "brightness", but it doesn't seem to work. 

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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