Re: [sabayon] errors hang gamin
- From: Daniel Veillard <veillard redhat com>
- To: John Dennis <jdennis redhat com>
- Cc: sabayon-list <sabayon-list gnome org>
- Subject: Re: [sabayon] errors hang gamin
- Date: Mon, 7 Mar 2005 19:04:50 -0500
On Mon, Mar 07, 2005 at 04:45:43PM -0500, John Dennis wrote:
> I've noticed that if an error occurs in python code that is called from
> a gamin callback instead of it printing a stack trace gamin seems to
> hang and hence sabayon seems to hang. If I quit the sabayon process then
> a flood of stack trace information comes out showing that something went
> wrong in a gamin callback.
>
> Is there a way to fix this so the process does not hang and instead just
> prints the stack trace (just like normal python)?
Hum, I will need to look at this. The problem is exception handling
when you get
Python -- calls ---> C code -- calls ---> Python callback
and the callback generate an exception. I remember getting this annoying
case with libxml2, I'm not sure I had a generic solution.
Daniel
--
Daniel Veillard | Red Hat Desktop team http://redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]