titanous / homebrew-gnuradio

GNU Radio Formulae for Homebrew (unmaintained)
109 stars 110 forks source link

multimode.py: OpenGL.error.Error: Attempt to retrieve context when no valid context #17

Open dweeks opened 12 years ago

dweeks commented 12 years ago

Trying to get gnuradio to work on 10.7.4 Air with an ezcap USB 2.0 DVB-T/DAB/FM dongle.

Using gnuradio with qt-gui, I can hear some (less than perfect) FM audio and can see the various graphs dynamically in real time, but if I try to use multimode.py (which uses wxGui items), after installing installing PyOpenGL-3.0.2b2, it dies with this error message:

% multimode.py Mac OS; Clang version 3.1 (tags/Apple/clang-318.0.61); Boost_105000; UHD_003.004.003-177-g584b7ae2

Using Volk machine: sse4_1_64_orc gr-osmosdr supported device types: file fcd rtl rtl_tcp uhd Using device #0: ezcap USB 2.0 DVB-T/DAB/FM dongle Found Elonics E4000 tuner Exact sample rate is: 1000000.026491 Hz

gr_fir_ccc: using SSE gr_fir_fff: using SSE Traceback (most recent call last): File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gnuradio/wxgui/plotter/plotter_base.py", line 187, in _on_paint for fcn in self._draw_fcns: fcn[1]() File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gnuradio/wxgui/plotter/plotter_base.py", line 59, in draw self._draw() File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gnuradio/wxgui/plotter/grid_plotter_base.py", line 260, in _draw_grid (scaled_tick, self.height-self.padding_bottom), File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gnuradio/wxgui/plotter/grid_plotter_base.py", line 368, in _draw_grid_line GL.glVertexPointerf(points) File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PyOpenGL-3.0.2b2-py2.7.egg/OpenGL/latebind.py", line 45, in call return self._finalCall( _args, *_named ) File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PyOpenGL-3.0.2b2-py2.7.egg/OpenGL/wrapper.py", line 533, in wrapperCall cArgs, File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PyOpenGL-3.0.2b2-py2.7.egg/OpenGL/arrays/arrayhelpers.py", line 154, in call contextdata.setValue( self.constant, pyArgs[self.pointerIndex] ) File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PyOpenGL-3.0.2b2-py2.7.egg/OpenGL/contextdata.py", line 57, in setValue context = getContext( context ) File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PyOpenGL-3.0.2b2-py2.7.egg/OpenGL/contextdata.py", line 40, in getContext """Attempt to retrieve context when no valid context""" OpenGL.error.Error: Attempt to retrieve context when no valid context

I am mystified as to how to solve this problem.

Thank you.