[Symbian-hacks] Canvas Crash

Christopher Schmidt
Mon Jan 16 12:48:45 EST 2006


On Mon, Jan 16, 2006 at 05:40:01PM +0000, Nick Burch wrote:
> On Mon, 16 Jan 2006, Christopher Schmidt wrote:
> >Nick, when you were having Listbox problems, was Python crashing? Or 
> >simply dropping through to the bottom of the program? if it was the 
> >former, this might be related to the same thing: UI widgets + Canvas 
> >seem to not be cooperating in some cases...
> 
> Python would silently but instantly exit, without any warnings/messages 
> etc
> 
> I'm not sure how to tell if that's a crash or an exit though

Hm, probably not the same thing then. Usually a "crash" is when A little
red exclamation point comes up and says "Python exited!" Presumably this
wass still happening after you commented out appuifw.app.set_exit()...

I've run into strange situations before where it seems like I'm in a
loop, but I call a Listbox or other appuifw construct, and I just kind
of drop out the bottom of the program. If you make an e32.lock and
wait() on it at the beginning of the program (and only unlock via the
exit_key_handler), then you should be able to ensure this doesn't
happen... although I don't yet have the free time to go through and try
this myself.

-- 
Christopher Schmidt
Web Developer


More information about the Symbian-hacks mailing list