Gtk-CRITICAL **: IA__gtk_range_set_range: assertion `min < max' failed

I am getting this error when running my code wriiten using wxpython. Can anyone please explain what this error is.

Recommended Answers

All 5 Replies

You should give us some code, and some information about what you are doing. It's hard to say anything about just the error without any context. If the code is too much to post, then consider posting a part of it, or at least explain what you are trying to do.

My code about 400 lines and I don't know where the error is, So I will let you know what all I used in my code. I have used sliders, buttons like things to select a file and play it, pause, volume slider,stop are the part of my code and my volume slider and play slider are not working and I am getting this error. Is this error the reason they are not working?

What version of python and wxpythong and which OS are you using ? If i google the error it seems like a linux problem. When does the error occur ? Immediately when you run it or after some time ?

python 2.7 , my OS is ubuntu 12.04 and I am getting the error when I select a file and play it.

wx.Slider(parent, id, value, minValue, maxValue, pos, size, style)
Looks like you set minValue higher than maxValue.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.