when I want to use python-completion with Gtk3 library vim shows a bunch of 
error messages and stops responding and I have to kill vim

to reproduce this problem write this program:

    from gi.repository import Gtk
    Gtk.<C-X><C-O>

vim: 7.3.434

error messages :

...
line 35:         execute "python vimcomplete('" . cword . "', '" . a:base . "')"
line 35: python vimcomplete('Gtk.', '')
                                       Error detected while processing function 
pythoncomplete#Complete:
line   35:
/usr/lib/python2.7/site-packages/gi/module.py:142: Warning: cannot register 
existing type `GtkWidget'
Error detected while processing function pythoncomplete#Complete:
line   35:
  g_type = info.get_g_type()
Error detected while processing function pythoncomplete#Complete:
line   35:
/usr/lib/python2.7/site-packages/gi/module.py:142: Warning: cannot add class 
private field to invalid type '<invalid>'
Error detected while processing function pythoncomplete#Complete:
l
...

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

Raspunde prin e-mail lui