wxPython 4/wx.Yield: C++ assert failure

"Joseph Lee" <[email protected]>
Newsgroups gmane.comp.python.wxpython.devel
Message-ID <[email protected]>
Hi Robin and others,

 

In one of the projects I'm involved in (NonVisual Desktop Access), numerous
calls to wx.Yield function are made from various modules. After porting NVDA
to wxPython 4 alpha, when wx.Yield is called from some modules, I get a
traceback that ends with the following:

wxAssertionError: C++ assertion "Assert failure" failed at
..\..\src\common\evtloopcmn.cpp(110) in wxEventLoopBase::Yield(): wxYield
called recursively

 

Relevant GitHub issue for NVDA can be found at:

https://github.com/nvaccess/nvda/issues/7077

 

The source code for a version of NVDA that uses wxPython 4 can be found at:

https://github.com/josephsl/nvda

 

Branch is "wxPy4". I and other NVDA developers involved in porting NVDA to
wxPython 4 consider this a showstopper, with a lead developer commenting
that this might be due to reentrancy issue. Once this is resolved,
developers plan to use wxPython 4 version of NVDA for alpha testing purposes
for a while (at least two weeks) in hopes of catching new issues and writing
workarounds.

 

Thanks. Comments are appreciated (if you do have GitHub account, please do
comment on the issue linked above).

Cheers,

Joseph

-- 
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.