Wx Glade Progress Bar Error

56 views
Skip to first unread message

kb

unread,
Oct 3, 2013, 7:09:22 PM10/3/13
to wxpytho...@googlegroups.com
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?

Robin Dunn

unread,
Oct 4, 2013, 1:56:23 PM10/4/13
to wxpytho...@googlegroups.com
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

unread,
Oct 4, 2013, 6:07:39 PM10/4/13
to wxpytho...@googlegroups.com
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..

Robin Dunn

unread,
Oct 8, 2013, 9:21:39 PM10/8/13
to wxpytho...@googlegroups.com
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.

kb

unread,
Oct 15, 2013, 2:20:46 PM10/15/13
to wxpytho...@googlegroups.com
Would you be able to tell me where I can find this progdlg.cpp on windows?

Robin Dunn

unread,
Oct 21, 2013, 7:47:07 PM10/21/13
to wxpytho...@googlegroups.com
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.
Reply all
Reply to author
Forward
0 new messages