[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] Document Viewer plugin crash
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-devel] Document Viewer plugin crash |
Date: |
Sun, 2 Mar 2003 23:27:28 +0100 |
User-agent: |
Mutt/1.3.22.1i |
> I finally found the bug: have a look at gmShowMedDocs at the very end of
> plugin initialization in ReceiveFocus: seems that the tree in cDocTree
> wasn't initialized (thus None) and the next call to a wxPython internal
> method (SelectItem) tried to do something with this None-Object. Obviously
> this error was not caught by Python and materialized in some c++ function
> leading to a crash.
The clean fix would be to move the SelectItem inside the
updateTree(). Don't know why I was dumbstruck there.
Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346