You are not logged in.

#1 2013-11-18 11:20:06

iosonofabio
Member
From: Australia
Registered: 2008-10-09
Posts: 105

vim and gtk3 crash

The repository version of vim is compiled with gtk and gobject version 2. If I try to write a GTK3 python script, vim crashes: not nice.

The simplest crash test is:

:python from gi.repository import Gtk

and apparently this is caused by incompatibilities between Gtk2 and Gtk3.

Now, I do not need to call that line from vim in normal life, but if I have autocompletion on, the plugins execute such a statement and completely freeze my vim editor.

So the bottomline question is: how do you guys develop Gtk3 stuff from vim? If your editor crashes at any autocompletion, it's going to take ages! wink

Offline

#2 2013-11-18 15:54:12

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,304

Re: vim and gtk3 crash

Signal the problem to the autocompletion plugin developper, and waiting for a fix do not use autocompletion.

Offline

#3 2013-11-19 10:27:25

iosonofabio
Member
From: Australia
Registered: 2008-10-09
Posts: 105

Re: vim and gtk3 crash

Thanks for the reply. I do not think autocompletion is the problem really. All autocompletion plugins have the same problem, which is that vim should not crash when one calls anything like

:python from gi.repository import Gtk

My problem is, as of now, purely practical: I would like to hear from people who develop GTK3 stuff in vim how they actually DO it wink

Offline

#4 2013-11-19 11:20:56

K ³
Member
Registered: 2013-11-12
Posts: 15

Re: vim and gtk3 crash

iosonofabio wrote:

My problem is, as of now, purely practical: I would like to hear from people who develop GTK3 stuff in vim how they actually DO it wink

I'm curious, why would anyone develop GTK3 stuff in a console?

Offline

#5 2013-11-19 11:21:54

KingYes
Member
From: Israel
Registered: 2011-05-08
Posts: 120
Website

Re: vim and gtk3 crash

@K,
You can develop in `gvim`.


Web Developer.

Offline

Board footer

Powered by FluxBB