Benji Fisher wrote:

> > > > > :set browsedir=last
> > > > > 
> > > > > does not generate an error.  When I try
> > > > > 
> > > > > :browse e
> > > > > 
> > > > > I get a similar error:
> > > > > 
> > > > > (gvim:30150): libgnomevfs-CRITICAL **: file gnome-vfs-utils.c: line 
> > > > > 749
> > > > > (gnome_vfs_get_uri_from_local_path): assertion `local_full_path[0] ==
> > > > > '/'' failed
> > 
> > That's indeed without gnome libraries.  So why do you get an error from
> > libgnomevfs (gnome-vfs-utils.c)?  Vim isn't linked with it.
> > 
> > Could this error actually be coming from the window manager somehow?
> 
>      I am out of my depth here.  If you want me to test something, I can
> try it, but I cannot diagnose it myself.
> 
>      Perhaps this matters.  I started gvim from a gnome-terminal and
> that is where the error message appeared.  Probably not:  I started an
> xterm from the gnome-terminal, started gvim from the xterm, and then the
> message appeared in the xterm.
> 
>      I did notice this time that the error message shows up the second
> time that I do :browse e .  I guess that is not surprising.

As far as I can guess from Googling a bit this is a bug in some version
of glib.  It probably forgets to make a path absolute before calling
gnome_vfs_get_uri_from_local_path().  Or that function should expand the
name itself.

You could try upgrading GTK/glib.

-- 
I'm in shape.  Round IS a shape.

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://www.ICCF.nl         ///

Reply via email to