On May 16, 2011, at 3:35 PM, Elvis Dowson wrote:
> I built the latest gnu radio-3.4.0 and for that, make check passed the
> earlier test, but failed at the socket connection test that you mentioned.
>
> However, when I run grc and run the dial tone example, audio doesn't work on
> OS X with gnu radio 3.4.0. Does it work with Macports?
The basic dial_tone.py example works just fine for me (10.6.7, 64-bit, MacPorts
latest everything else). I cannot get gnuradio-companion to work right now for
some reason -- maybe Josh knows why? I did a "make uninstall" before
installing, with the hope of removing any cruft. GRC was working just a couple
weeks ago for me, using the latest GIT master.
bash-3.2.48 #700% gnuradio-companion dial_tone.grc
No protocol specified
No protocol specified
No protocol specified
No protocol specified
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/gtk-2.0/gtk/__init__.py:57:
GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
/usr/local/lib/python2.6/site-packages/gnuradio/grc/gui/Actions.py:30:
GtkWarning: gdk_keymap_get_for_display: assertion `GDK_IS_DISPLAY (display)'
failed
_keymap = gtk.gdk.keymap_get_default()
/usr/local/lib/python2.6/site-packages/gnuradio/grc/gui/Colors.py:24:
GtkWarning: gdk_screen_get_system_colormap: assertion `GDK_IS_SCREEN (screen)'
failed
_COLORMAP = gtk.gdk.colormap_get_system() #create all of the colors
Traceback (most recent call last):
File "/usr/local/bin/gnuradio-companion", line 48, in <module>
from gnuradio.grc.python.Platform import Platform
File
"/usr/local/lib/python2.6/site-packages/gnuradio/grc/python/Platform.py", line
24, in <module>
from FlowGraph import FlowGraph as _FlowGraph
File
"/usr/local/lib/python2.6/site-packages/gnuradio/grc/python/FlowGraph.py", line
22, in <module>
from .. gui.FlowGraph import FlowGraph as _GUIFlowGraph
File "/usr/local/lib/python2.6/site-packages/gnuradio/grc/gui/FlowGraph.py",
line 22, in <module>
import Colors
File "/usr/local/lib/python2.6/site-packages/gnuradio/grc/gui/Colors.py",
line 27, in <module>
HIGHLIGHT_COLOR = get_color('#00FFFF')
File "/usr/local/lib/python2.6/site-packages/gnuradio/grc/gui/Colors.py",
line 25, in get_color
def get_color(color_code): return _COLORMAP.alloc_color(color_code, True,
True)
AttributeError: 'NoneType' object has no attribute 'alloc_color'
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio