Try to reemerge vim without python support.

Do you use any python scripts in vim? If no just dont use python flag
for vim, if it solve the problem. But it is strange, really seems
something with pygtk, but dont know.

Maybe try to run python-updater.

Robert.


V Mon, 23 Apr 2012 00:31:27 +0900
Seong-ho Cho <darkcircle.0...@gmail.com> napsáno:

> emm .... this happen also does for normal users.
> I've tried "mv ~/.vimrc ~/.vimrc.bak" before run vim for normar user
> named "meow",
> but similar message is shown. :-$
> 
> ... so ...
> I did try to install and run mc, as you told me.
> This program doesn't show that similar message. (-0-! Amazing~~)
> 
> when I execute valgrind /usr/bin/vi I found messages as below
> 
> ------------
> ...
> ==18494==    by 0x6D0190F: read_compiled_module (in
> /usr/lib64/libpython2.7.so.1.0)
> ==18494==    by 0x6D03F46: load_source_module (in
> /usr/lib64/libpython2.7.so.1.0)
> ==18494==    by 0x6D049DC: load_package
> (in /usr/lib64/libpython2.7.so.1.0) ==18494==
> 
> ** (process:18494): WARNING **: Trying to register gtype
> 'GMountMountFlags' as enum when in fact it is of type 'GFlags'
> 
> ** (process:18494): WARNING **: Trying to register gtype
> 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'
> 
> ** (process:18494): WARNING **: Trying to register gtype
> 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'
> ==18494== Invalid read of size 4
> ==18494==    at 0x6C97833: PyObject_Free
> (in /usr/lib64/libpython2.7.so.1.0) ==18494==    by 0x6C69C5A:
> code_dealloc (in /usr/lib64/libpython2.7.so.1.0) ==18494==    by
> 0x6D03D69: load_source_module (in /usr/lib64/libpython2.7.so.1.0)
> 
> ...
> -----------
> 
> I exactly don't know where this message comes from.
> ... by the way ... python?
> 
> result log named strace-vi.log for "strace /usr/bin/vi" is attached.
> I think that this problem caused by pygtk-related component.
> I did re-emerge pygtk related packages
> (pywebkitgtk python-gtkmvc pygtksourceview pygtkhelpers pygtkglext
> gtkspell-python pygtk)
> but I didn't fix this problem : (
> 
> 2012/4/22 Robert David <robert.david.pub...@gmail.com>:
> > This is strange.
> >
> > Does this happen only for some files? Or globaly. Does this happen
> > also for root? Did you try clean .vimrc?
> >
> > Do you have mc installed? If not, please try to install a and run
> > mc, if it will show similar stuff (maybe some ncurses problem)
> >
> > Best would be run vi in valgrind, strace, etc, to see what is
> > happening. But this is not trivial.
> >
> > Robert.
> >
> > V Sun, 22 Apr 2012 21:50:39 +0900
> > Seong-ho Cho <darkcircle.0...@gmail.com> napsáno:
> >
> >> OK. I attached screenshot (NOT PHOTOSHOPED) for your question.
> >>
> >>
> >> 2012/4/22 Robert David <robert.david.pub...@gmail.com>:
> >> > Hmm, I dont know glib so much, so I cant say.
> >> >
> >> > What is the process 635 here? Is it the vim or not?
> >> > Paste the output "ldd vim".
> >> >
> >> > Robert.
> >> >
> >> >
> >> > V Sun, 22 Apr 2012 20:38:31 +0900
> >> > Seong-ho Cho <darkcircle.0...@gmail.com> napsáno:
> >> >
> >> >> ah ... by the way, where are 'GFlags' as a type and gtype
> >> >> 'G*Flags' as an enum from?
> >> >>
> >> >> 2012/4/22 Seong-ho Cho <darkcircle.0...@gmail.com>:
> >> >> > Hi,
> >> >> >
> >> >> > I've tried revdep-rebuild in many time.
> >> >> > I tried to run the same __in the xterm__ and __in the
> >> >> > lxterminal__ as you said.
> >> >> >
> >> >> > but I also saw a similar message as below : (
> >> >> >
> >> >> >>>>
> >> >> >
> >> >> > meow@darkcircle ~/xfce-ko $ vi xfdesktop.master.ko.po
> >> >> >
> >> >> > ** (process:635): WARNING **: Trying to register gtype
> >> >> > 'GMountMountFlags' as enum when in fact it is of type 'GFlags'
> >> >> >
> >> >> > ** (process:635): WARNING **: Trying to register gtype
> >> >> > 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'
> >> >> >
> >> >> > ** (process:635): WARNING **: Trying to register gtype
> >> >> > 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'
> >> >> > meow@darkcircle ~/xfce-ko $
> >> >> >
> >> >> >>>>
> >> >> >
> >> >> > 2012/4/22 Robert David <robert.david.pub...@gmail.com>:
> >> >> >> Hi,
> >> >> >>
> >> >> >> do you have clean environmet, eg: revdep-rebuild ??
> >> >> >>
> >> >> >> What kind of terminal you using? Because vim does not use
> >> >> >> glib, as I know. Try to run the same in xterm or other
> >> >> >> terminal.
> >> >> >>
> >> >> >> Robert.
> >> >> >>
> >> >> >>
> >> >> >> V Sun, 22 Apr 2012 02:58:44 +0900
> >> >> >> Seong-ho Cho <darkcircle.0...@gmail.com> napsáno:
> >> >> >>
> >> >> >>> Yes. I can edit text file after these messages.
> >> >> >>> Your thinking is so exact !! :D
> >> >> >>>
> >> >> >>> 2012/4/22 Stroller <strol...@stellar.eclipse.co.uk>:
> >> >> >>> >
> >> >> >>> > On 21 April 2012, at 15:32, Seong-ho Cho wrote:
> >> >> >>> >
> >> >> >>> >>>>>
> >> >> >>> >>
> >> >> >>> >> meow@darkcircle ~/xfce-ko $ vi xfdesktop.master.ko.po
> >> >> >>> >>
> >> >> >>> >> ** (process:15449): WARNING **: Trying to register gtype
> >> >> >>> >> 'GMountMountFlags' as enum when in fact it is of type
> >> >> >>> >> 'GFlags'
> >> >> >>> >>
> >> >> >>> >> ** (process:15449): WARNING **: Trying to register gtype
> >> >> >>> >> 'GDriveStartFlags' as enum when in fact it is of type
> >> >> >>> >> 'GFlags'
> >> >> >>> >>
> >> >> >>> >> ** (process:15449): WARNING **: Trying to register gtype
> >> >> >>> >> 'GSocketMsgFlags' as enum when in fact it is of type
> >> >> >>> >> 'GFlags'
> >> >> >>> >>
> >> >> >>> >>>>>
> >> >> >>> >>
> >> >> >>> >> when I execute vim as above, I've met some messages like
> >> >> >>> >> that.
> >> >> >>> >>
> >> >> >>> >> what does above mean? how can I solve that problem?
> >> >> >>> >>
> >> >> >>> >> I did damn googling but I didn't find why that message
> >> >> >>> >> shown.
> >> >> >>> >
> >> >> >>> > I find at least 3 bugs when I google that message.
> >> >> >>> >
> >> >> >>> > They're Ubuntu bugs, they don't refer to vim, but they
> >> >> >>> > make some sense to me.
> >> >> >>> >
> >> >> >>> > Am I right in thinking that vim does work and allow you to
> >> >> >>> > edit this file after showing these messages?
> >> >> >>> >
> >> >> >>> > Stroller.
> >> >> >>> >
> >> >> >>> >
> >> >> >>>
> >> >> >>
> >> >
> >


Reply via email to