[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] gnuradio on osx 10.6.4

From: Elvis Dowson
Subject: Re: [Discuss-gnuradio] gnuradio on osx 10.6.4
Date: Wed, 21 Jul 2010 23:24:24 +0400

       I've managed to get OpenGL working at a basic level with wxPython, in 64-bit mode with Cocoa, with PyOpenGL, and tested them outside gnuradio to see if full support exists.

I'm just down to one final issue, running some of the tests in gr-wxgui/src/python, all the OpenGL based *sink_gl.py test applications, launch, but give a blank screen, almost as if the OpenGL rendering context wasn't getting initialized or set properly.

$ python scopesink_gl.py

input rate 1000000.0  v_scale None  t_scale 3e-05
Traceback (most recent call last):
  File "/Users/elvis/Tool/gnuradio-next/gr-wxgui/src/python/plotter/plotter_base.py", line 187, in _on_paint
    for fcn in self._draw_fcns: fcn[1]()
  File "/Users/elvis/Tool/gnuradio-next/gr-wxgui/src/python/plotter/plotter_base.py", line 59, in draw
  File "/Users/elvis/Tool/gnuradio-next/gr-wxgui/src/python/plotter/grid_plotter_base.py", line 204, in _draw_grid
    for tick in self._get_ticks(self.x_min, self.x_max, self.x_step, self.x_scalar)]
  File "/Users/elvis/Tool/gnuradio-next/gr-wxgui/src/python/plotter/grid_plotter_base.py", line 302, in _get_tick_label
    return gltext.Text(tick_str, font_size=TICK_TEXT_FONT_SIZE)
  File "/Users/elvis/Tool/gnuradio-next/gr-wxgui/src/python/plotter/gltext.py", line 340, in __init__
  File "/Users/elvis/Tool/gnuradio-next/gr-wxgui/src/python/plotter/gltext.py", line 376, in _initText
  File "/Users/elvis/Tool/gnuradio-next/gr-wxgui/src/python/plotter/gltext.py", line 73, in __init__
  File "/Users/elvis/Tool/gnuradio-next/gr-wxgui/src/python/plotter/gltext.py", line 196, in createTexture
    if isinstance(self._foreground, wx.Color):  
AttributeError: 'module' object has no attribute 'Color'

The non-OpenGL version of scopesink appears to be working fine though. 

This is my first time with GNU Radio, so if anyone has any suggestions on how I can troubleshoot this, it would be great. If I've got this one fixed, then the whole gnuradio + wxgui installation would be ready for use.

Best regards,

Elvis Dowson

reply via email to

[Prev in Thread] Current Thread [Next in Thread]