# OpenGL.error when there are to many WX GUI elements on the screen

**URL:** <https://www.ruby-forum.com/t/opengl-error-when-there-are-to-many-wx-gui-elements-on-the-screen/231212>\
**Category:** GNU Radio\
**Created:** [July 27, 2014, 5:04pm UTC](https://www.ruby-forum.com/t/opengl-error-when-there-are-to-many-wx-gui-elements-on-the-screen/231212 "2014-07-27T17:04:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [July 27, 2014, 5:04pm UTC](https://www.ruby-forum.com/t/opengl-error-when-there-are-to-many-wx-gui-elements-on-the-screen/231212/1 "2014-07-27T17:04:57Z")

</div>

After lots of problems I got GNURadio working (more or less) on Arch  
Linux.

Now I have a problem with the WX GUI FFT SINK:

Traceback (most recent call last):  
File  
“/usr/lib/python2.7/site-packages/gnuradio/wxgui/plotter/plotter\_base.py”,  
line 209, in \_on\_paint  
for fcn in self.\_draw\_fcns: fcn1  
File  
“/usr/lib/python2.7/site-packages/gnuradio/wxgui/plotter/plotter\_base.py”,  
line 65, in draw  
GL.glCallList(self.\_grid\_compiled\_list\_id)  
File “/usr/lib/python2.7/site-packages/OpenGL/error.py”, line 232, in  
glCheckError  
baseOperation = baseOperation,  
OpenGL.error.GLError: GLError(  
err = 1281,  
description = ‘invalid value’,  
baseOperation = glCallList,  
cArguments = (4L,)  
)

I only have this problem with the WX GUI FFT element (and also when  
using multiple WX GUI elements that work individually but not in group,  
it seems).

The solution found here:  
[http://lists.gnu.org/archive/html/discuss-gnuradio/2011-07/msg00289.html](http://lists.gnu.org/archive/html/discuss-gnuradio/2011-07/msg00289.html)  
doesn’t seem to work.

Any ideas?

EDIT:

All GUI elements work on there own, but some can’t be place with others  
probably because they don’t fit on the screen than.
