Re: nautilus view hacking

Hi Thomas,

On Sat, 2002-10-26 at 18:35, Thomas Vander Stichele wrote:
> After about three hours figuring out why the view didn't start up, I 
> noticed that the location was picking up a wrong LIBEXECDIR ;)
> I was wondering why the dialog message cannot be more specific as to why 
> the view cannot start ? Not finding the binary seems like an easy thing to 
> check for.  If you point me to the proper location I might give that a 
> try.

	Great - in fact we can cover a vast range of errors that are currently
hidden in a pleasant fashion in there.

	What needs doing to catch this (and other) errors is IMHO to catch the
stderr/stdout of the process as it starts up in
(bonobo_activation_server_by_forking) [ possibly we should be using
GSpawn here for an easier life ].

	We then need to grok the output (on crash) into the string we return
specifying the error.

	This also has the merits of catching some of the more nasty dynamic
linking / misc. other evil problems that are extremely hard to catch /
debug otherwise.

	How about it ?



 mmeeks gnu org  <><, Pseudo Engineer, itinerant idiot

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]