Hi all,
When I quit my nascent app, I get three of the following exceptions
(with a different address for remove for each one):
Exception exceptions.AttributeError: "'NoneType' object has no
attribute 'print_exc'" in <function remove at 0x015E5E70> ignored
Any clues? Since it doesn't happen until I quit, I can't easily just
step through in the debugger..
···
--
John.
Hello John,
can you provide a small as possible sample,
where this happens?
Platform? wxPy version?
···
On Fri, 16 Sep 2005 15:08:59 +1200, John Fouhy <john@fouhy.net> wrote:
Hi all,
When I quit my nascent app, I get three of the following exceptions
(with a different address for remove for each one):
Exception exceptions.AttributeError: "'NoneType' object has no
attribute 'print_exc'" in <function remove at 0x015E5E70> ignored
Any clues? Since it doesn't happen until I quit, I can't easily just
step through in the debugger..
--
Franz Steinhaeusler
Platform is win32; wx.__version__ == '2.6.1.0'
I'll try to make a small example. The problem is, it _doesn't_ happen
with all the really small programs I've written :-/
···
On 20/09/05, Franz Steinhäusler <franz.steinhaeusler@gmx.at> wrote:
On Fri, 16 Sep 2005 15:08:59 +1200, John Fouhy <john@fouhy.net> wrote:
>Exception exceptions.AttributeError: "'NoneType' object has no
>attribute 'print_exc'" in <function remove at 0x015E5E70> ignored
>
>Any clues? Since it doesn't happen until I quit, I can't easily just
>step through in the debugger..
Hello John,
can you provide a small as possible sample,
where this happens?
Platform? wxPy version?
--
John.
Since you are not very clear about where the exception happens,
I've search on wx/lib for print_exc and found this:
docview.py: traceback.print_exc()
docview.py: traceback.print_exc()
intctrl.py: traceback.print_exc()
intctrl.py: traceback.print_exc()
mvctree.py: traceback.print_exc()
mvctree.py: traceback.print_exc()
rpcMixin.py: if self.verbose: traceback.print_exc()
Are you using any of those modules above?
Ricardo
···
On Tue, 2005-09-20 at 10:34 +1200, John Fouhy wrote:
On 20/09/05, Franz Steinhäusler <franz.steinhaeusler@gmx.at> wrote:
> On Fri, 16 Sep 2005 15:08:59 +1200, John Fouhy <john@fouhy.net> wrote:
> >Exception exceptions.AttributeError: "'NoneType' object has no
> >attribute 'print_exc'" in <function remove at 0x015E5E70> ignored
> >
> >Any clues? Since it doesn't happen until I quit, I can't easily just
> >step through in the debugger..
>
> Hello John,
>
> can you provide a small as possible sample,
> where this happens?
>
> Platform? wxPy version?
Platform is win32; wx.__version__ == '2.6.1.0'
I'll try to make a small example. The problem is, it _doesn't_ happen
with all the really small programs I've written :-/
Thanks Ricardo,
Prompted by your post, I have actually engaged my brain. A little
grepping of my own shows that the problem is actually in the
pyDispatch module, which I was also using, and which has absolutely
nothing to do with wxPython :-/
So, I will continue to investigate, but I will stop bothering this
list about it
Thanks to you and Franz for taking the time to try to help me,
···
On 20/09/05, Ricardo Pedroso <ricardo.pedroso@netvisao.pt> wrote:
Since you are not very clear about where the exception happens,
I've search on wx/lib for print_exc and found this:
docview.py: traceback.print_exc()
docview.py: traceback.print_exc()
intctrl.py: traceback.print_exc()
intctrl.py: traceback.print_exc()
mvctree.py: traceback.print_exc()
mvctree.py: traceback.print_exc()
rpcMixin.py: if self.verbose: traceback.print_exc()
Are you using any of those modules above?
--
John.