#37158: Finally Have gnuradio Installed; Runtime Error on Startup ------------------------+-------------------------------- Reporter: mcquiggi@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: gnuradio ------------------------+-------------------------------- Hi All: Thanks to michaeld et al for the assistance so far in getting gnuradio to build on my MB Air. I finally got the package to build, however, now I am seeing a runtime error when starting gnuradio-companion: {{{ Kevins-MacBook-Air:~ mcquiggi$ 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' }}} I also tried starting the package with higher privileges, i.e. "sudo gnuradio-companion". No difference. This may not be a port issue, but I thought I should post it in case it is. Kevin -- Ticket URL: <https://trac.macports.org/ticket/37158> MacPorts <http://www.macports.org/> Ports system for Mac OS