Wx Glade Progress Bar Error

Hi Folks:

 PyAssertionError: C++ assertion "value <= m_maximum" failed at ..\..\src\generic\progdlgg.cpp(337) in wxProgressDialog::Update(): invalid progress value

I see this error intermittently. I see only 2 threads for this online. Have any of you seen it before?

kb wrote:

Hi Folks:

> PyAssertionError: C++ assertion"value<= m_maximum" failed at..\..\src\generic\progdlgg.cpp(337) in wxProgressDialog::Update(): invalid progress value|

I see this error intermittently. I see only 2 threads for this online.
Have any of you seen it before?

It seems pretty self-explanatory to me. What is the problem?

···

--
Robin Dunn
Software Craftsman

Robin – while plotting a graph the same thing everytime, sometimes I run into this error but sometiems i dont. Its the same with the same parameters…

···

On Friday, October 4, 2013 10:56:23 AM UTC-7, Robin Dunn wrote:

kb wrote:

Hi Folks:

PyAssertionError: C++ assertion"value<= m_maximum" failed at…..\src\generic\progdlgg.cpp(337) in wxProgressDialog::Update(): invalid progress value|

I see this error intermittently. I see only 2 threads for this online.

Have any of you seen it before?

It seems pretty self-explanatory to me. What is the problem?


Robin Dunn

Software Craftsman

http://wxPython.org

kb wrote:

Robin -- while plotting a graph the same thing everytime, sometimes I
run into this error but sometiems i dont. Its the same with the same
parameters..

Perhaps there is a floating point rounding problem someplace that ends up causing Update to be called with max+1.

···

--
Robin Dunn
Software Craftsman

Would you be able to tell me where I can find this progdlg.cpp on windows?

···

On Tuesday, October 8, 2013 6:21:39 PM UTC-7, Robin Dunn wrote:

kb wrote:

Robin – while plotting a graph the same thing everytime, sometimes I

run into this error but sometiems i dont. Its the same with the same

parameters…

Perhaps there is a floating point rounding problem someplace that ends
up causing Update to be called with max+1.


Robin Dunn

Software Craftsman

http://wxPython.org

kb wrote:

Would you be able to tell me where I can find this progdlg.cpp on windows?

Look for the places on the Python side of the fence that are calling Update. By the time it gets to the C++ Update it is probably too late.

···

--
Robin Dunn
Software Craftsman