[Top][All Lists]

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

Re: [Gnumed-devel] [Gnumed-bugs] <bug>: on saving printing document in o

From: Karsten Hilbert
Subject: Re: [Gnumed-devel] [Gnumed-bugs] <bug>: on saving printing document in overview scr
Date: Mon, 3 Dec 2012 12:57:01 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Hi Marc,

this crash:

> 2012-11-29 18:14:31  CRITICAL 
> (/usr/share/gnumed/Gnumed/pycommon/
>  #95): unhandled exception caught
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/", 
> line 14665, in <lambda>
>     lambda event: event.callable(*event.args, ** )
>   File "/usr/share/gnumed/Gnumed/wxpython/", line 1898, 
> in _after_on_focus
>     evt = wx.PyCommandEvent(wx_expando.wxEVT_ETC_LAYOUT_NEEDED, self.GetId())
>   File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/", 
> line 14615, in __getattr__
>     raise PyDeadObjectError(self.attrStr % self._name)
> PyDeadObjectError: The C++ part of the cSoapLineTextCtrl object has been 
> deleted, attribute access no longer allowed.

might at least provide a *hint* (Though I am not at all
sure. Unfortunately, this very log did not come from

Can you replace the function _after_on_focus() in
.../client/wxpython/ with the following
code and see what gives ?

        def _after_on_focus(self):
                # robustify against PyDeadObjectError - since we are called
                # from wx.CallAfter this SoapCtrl may be gone by the time
                # we get to handling this layout request, say, on patient
                # change or some such
                if not self:
                evt = wx.PyCommandEvent(wx_expando.wxEVT_ETC_LAYOUT_NEEDED, 

GPG key ID E4071346 @
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346

reply via email to

[Prev in Thread] Current Thread [Next in Thread]