discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Thread AssertionError and Libc++abi.dylib on Mac


From: Michael Dickens
Subject: Re: [Discuss-gnuradio] Thread AssertionError and Libc++abi.dylib on Mac Transmissions
Date: Sun, 20 Jan 2013 10:16:28 -0500

Hi Julian - I get the same error when I'm running using Apple's Terminal.app 
when the DISPLAY environment variable is not set (at all or correctly).  By 
default, GTK (which is what GRC uses for display) will interface to X11, which 
means you need Apple's X11.app, or MacOSForge's XQuartz.app, or (IIRC) 
MacPorts' xorg-server -- or use the Quartz variant of GTK (more below).

I use XQuartz < http://xquartz.macosforge.org/landing/ >; I do not recommend 
using Apple's X11.app mainly because it is rarely updated.  I have no 
experience with the xorg-server port, but I think it is the most up to date of 
the 3 X11 options.

Another option, which I've never tried but might work for you, is to install 
the port gtk2 using "+quartz -no_x11" which should bypass X11 and go directly 
for Apple's Quartz display.

Hope this helps and good luck! - MLD

On Jan 20, 2013, at 9:23 AM, Julian Rohrhuber <address@hidden> wrote:
> bash-3.2$ gnuradio-companion 
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py:57:
>  GtkWarning: could not open display
>  warnings.warn(str(e), _gtk.Warning)
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gnuradio/grc/gui/Actions.py:30:
>  GtkWarning: GdkKeymap *gdk_keymap_get_for_display(GdkDisplay *): assertion 
> `GDK_IS_DISPLAY (display)' failed
>  _keymap = gtk.gdk.keymap_get_default()
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gnuradio/grc/gui/Colors.py:24:
>  GtkWarning: GdkColormap *gdk_screen_get_system_colormap(GdkScreen *): 
> assertion `GDK_IS_SCREEN (screen)' failed
>  _COLORMAP = gtk.gdk.colormap_get_system() #create all of the colors
> Traceback (most recent call last):
>  File "/opt/local/bin/gnuradio-companion", line 58, in <module>
>    from gnuradio.grc.python.Platform import Platform
>  File 
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gnuradio/grc/python/Platform.py",
>  line 24, in <module>
>    from FlowGraph import FlowGraph as _FlowGraph
>  File 
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gnuradio/grc/python/FlowGraph.py",
>  line 22, in <module>
>    from .. gui.FlowGraph import FlowGraph as _GUIFlowGraph
>  File 
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gnuradio/grc/gui/FlowGraph.py",
>  line 22, in <module>
>    import Colors
>  File 
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gnuradio/grc/gui/Colors.py",
>  line 27, in <module>
>    HIGHLIGHT_COLOR = get_color('#00FFFF')
>  File 
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/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'



reply via email to

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