[MacPorts] #37619: running gnuradio-companion
#37619: running gnuradio-companion ----------------------+-------------------------------- Reporter: cgcgcg@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: ----------------------+-------------------------------- i installed gnuradio on an almost virgin macmini running Mountain Lion through macports with no errors.[[BR]] then i installed [http://dekar.wc3edit.net/2012/09/30/osx-port-of-the- awesome-gqrx-sdr-software/ gqrx_5.dmg] wich is running fine.[[BR]] then trying gnuradio-companion --> sh: gnuradio-companion: command not found[[BR]] find / -name "gnuradio-companion" did not find something to execute[[BR]] installed:[[BR]] port install gnuradio @3.6.2_2+grc+python27+qtgui+docs [[BR]] maybe im overlooking something, or should there be a script or executable named gnuradio-companion? -- Ticket URL: <https://trac.macports.org/ticket/37619> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37619: running gnuradio-companion -----------------------+-------------------------------- Reporter: cgcgcg@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: | -----------------------+-------------------------------- Comment (by michaelld@…): It looks like +grc requires +swig also (after reviewing the debug output from your variants). I'll add that it as a requirement. I'm wondering why you don't just choose "+full"? The hardest dependency to be met is Qt, which you already have there with +qtgui. -- Ticket URL: <https://trac.macports.org/ticket/37619#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37619: running gnuradio-companion -----------------------+------------------------- Reporter: cgcgcg@… | Owner: michaelld@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: gnuradio | -----------------------+------------------------- Changes (by michaelld@…): * owner: macports-tickets@… => michaelld@… * status: new => assigned * port: => gnuradio Comment: Fixed in r101526. This change will go live in ~30 minutes; after that, you can do: {{{ sudo port -f uninstall gnuradio sudo port selfupdate sudo port install gnuradio +grc +python27 +qtgui +docs }}} and, gnuradio-companion should now work. -- Ticket URL: <https://trac.macports.org/ticket/37619#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37619: running gnuradio-companion -----------------------+------------------------- Reporter: cgcgcg@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: gnuradio | -----------------------+------------------------- Changes (by michaelld@…): * status: assigned => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/37619#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37619: running gnuradio-companion -----------------------+------------------------- Reporter: cgcgcg@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: gnuradio | -----------------------+------------------------- Comment (by cgcgcg@…): ok, thank you[[BR]] did sudo port selfupdate and installed Gnuradio +full[[BR]] port install gnuradio +grc +python27 +qtgui was a suggestion from another ticket[[BR]] now im a step further: {{{ sh-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' }}} PS: dont know if that matter, but its a mac mini without screen and keyboard accessed through remote desktop[[BR]] gqrx still running fine -- Ticket URL: <https://trac.macports.org/ticket/37619#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37619: running gnuradio-companion -----------------------+------------------------- Reporter: cgcgcg@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: gnuradio | -----------------------+------------------------- Comment (by michaelld@…): You probably need to set the DISPLAY environment variable; what does it return by default: {{{ env | grep DISPLAY }}} -- Ticket URL: <https://trac.macports.org/ticket/37619#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37619: running gnuradio-companion -----------------------+------------------------- Reporter: cgcgcg@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: gnuradio | -----------------------+------------------------- Comment (by michaelld@…): Also, if the solution here isn't obvious, please open a new ticket and we'll work with it there since this issue is different than the ticket's issue. -- Ticket URL: <https://trac.macports.org/ticket/37619#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37619: running gnuradio-companion -----------------------+------------------------- Reporter: cgcgcg@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: gnuradio | -----------------------+------------------------- Comment (by cgcgcg@…): yippie! [[BR]] had to install x11 first trough /Applications/Utilities/X11.app[[BR]] maybe this mac mini was too virgin.[[BR]] Thanks for your patience! -- Ticket URL: <https://trac.macports.org/ticket/37619#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37619: running gnuradio-companion -----------------------+------------------------- Reporter: cgcgcg@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: gnuradio | -----------------------+------------------------- Old description:
i installed gnuradio on an almost virgin macmini running Mountain Lion through macports with no errors.[[BR]] then i installed [http://dekar.wc3edit.net/2012/09/30/osx-port-of-the- awesome-gqrx-sdr-software/ gqrx_5.dmg] wich is running fine.[[BR]] then trying gnuradio-companion --> sh: gnuradio-companion: command not found[[BR]] find / -name "gnuradio-companion" did not find something to execute[[BR]] installed:[[BR]] port install gnuradio @3.6.2_2+grc+python27+qtgui+docs [[BR]] maybe im overlooking something, or should there be a script or executable named gnuradio-companion?
New description: i installed gnuradio on an almost virgin macmini running Mountain Lion through macports with no errors.[[BR]] then i installed [http://dekar.wc3edit.net/2012/09/30/osx-port-of-the- awesome-gqrx-sdr-software/ gqrx_5.dmg] wich is running fine.[[BR]] then trying gnuradio-companion --> {{{sh: gnuradio-companion: command not found}}}[[BR]] {{{find / -name "gnuradio-companion"}}} did not find something to execute[[BR]] installed:[[BR]] {{{ port install gnuradio @3.6.2_2+grc+python27+qtgui+docs }}} maybe im overlooking something, or should there be a script or executable named gnuradio-companion? -- Comment (by ryandesign@…): Replying to [comment:5 michaelld@…]:
You probably need to set the DISPLAY environment variable; what does it return by default: {{{ env | grep DISPLAY }}}
The OS sets DISPLAY for you. You probably do not need to change it. Replying to [comment:7 cgcgcg@…]:
yippie! [[BR]] had to install x11 first trough /Applications/Utilities/X11.app[[BR]] maybe this mac mini was too virgin.[[BR]] Thanks for your patience!
If desired, you could install X11 using the xorg-server port in MacPorts. Or you can install [http://xquartz.macosforge.org/ XQuartz] which is presumably what you did. They're both the same software, it's just a matter of what method you want to use to install and update it. -- Ticket URL: <https://trac.macports.org/ticket/37619#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts