https://osmocom.org/https://osmocom.org/favicon.ico?16647414092020-02-29T01:56:38ZOpen Source Mobile CommunicationsSDR (Software Defined Radio) - Bug #4426: Errors when running GNURadio Flow or Osmocom on MacOS 10.15.3.https://osmocom.org/issues/4426?journal_id=175782020-02-29T01:56:38Zfixeria
<ul></ul><p>Hi,</p>
<blockquote>
<p>gr-osmosdr v0.1.x-xxx-xunknown (0.1.5git) gnuradio 3.7.13.5</p>
</blockquote>
<p>the latest stable version of GNU Radio is 3.8, gr-osmosdr is v0.2.0. I have absolutely no experience with MacOS ports (I guess they'tr like BSD ports?), but I would either build everything from source myself (without using ports) or use some Linux distribution / Docker image that ships the recent working versions.</p>
<blockquote>
<p>Is this a known issue, or did I miss a step?</p>
</blockquote>
<p>Works for me with the recent stable versions.</p> SDR (Software Defined Radio) - Bug #4426: Errors when running GNURadio Flow or Osmocom on MacOS 10.15.3.https://osmocom.org/issues/4426?journal_id=181222020-04-30T17:27:37Zsawdustgang@gmail.comsawdustgang@gmail.com
<ul></ul><p>Hi PeterDragon,</p>
<p>Did you ever get past the "ImportError: No module named wx_sink_c"? I am experiencing the same and wondered if you found a resolution.</p>
<p>Thanks</p> SDR (Software Defined Radio) - Bug #4426: Errors when running GNURadio Flow or Osmocom on MacOS 10.15.3.https://osmocom.org/issues/4426?journal_id=188882020-06-23T02:47:03Z0xroot
<ul></ul><p>Get the same +1</p>
<pre><code class="text syntaxhl">osmocom_fft -f 315e6 -s 2e6 -F
gr-osmosdr v0.1.x-xxx-xunknown (0.1.5git) gnuradio 3.7.13.5
built-in source types: file fcd rtl rtl_tcp uhd sdrplay hackrf bladerf rfspace airspy soapy
[INFO] [UHD] Mac OS; Clang version 11.0.3 (clang-1103.0.32.62); Boost_107100; UHD_3.15.0.0-MacPorts-Release
get_devices started
Device count: 0
get_devices end
Using device #0 Realtek RTL2838UHIDIR SN: 00000001
Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
Exact sample rate is: 2000000.052982 Hz
[R82XX] PLL not locked!
Traceback (most recent call last):
File "//opt/local/bin/osmocom_fft", line 850, in <module>
main ()
File "//opt/local/bin/osmocom_fft", line 846, in main
app = stdgui2.stdapp(app_top_block, "osmocom Spectrum Browser", nstatus=1)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gnuradio/wxgui/stdgui2.py", line 46, in __init__
wx.App.__init__ (self, redirect=False)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/wx-3.0-osx_cocoa/wx/_core.py", line 8628, in __init__
self._BootstrapApp()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/wx-3.0-osx_cocoa/wx/_core.py", line 8196, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gnuradio/wxgui/stdgui2.py", line 49, in OnInit
frame = stdframe (self.top_block_maker, self.title, self._nstatus)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gnuradio/wxgui/stdgui2.py", line 76, in __init__
self.panel = stdpanel (self, self, top_block_maker)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gnuradio/wxgui/stdgui2.py", line 98, in __init__
self.top_block = top_block_maker (frame, self, vbox, sys.argv)
File "//opt/local/bin/osmocom_fft", line 229, in __init__
self.scope = fosphor.wx_sink_c(panel, size=(800,300))
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gnuradio/fosphor/__init__.py", line 31, in <module>
from wx_sink_c import wx_sink_c
ImportError: No module named wx_sink_c
</code></pre>
<p>os:10.15.5</p>
<p>port installed:</p>
<pre><code>gr-fcdproplus @20180828_1 (active)<br /> gr-fosphor @20160522_12 (active)<br /> gr-osmosdr @20170704_11+airspy+bladeRF+docs+fcdproplus+hackrf+rtlsdr+sdrplay+soapysdr+swig+uhd (active)<br /> gnuradio @3.7.13.5_6+docs+grc+log4cpp+logging+qtgui+sdl+swig+uhd+wavelet+wxgui+zeromq (active)</code></pre> SDR (Software Defined Radio) - Bug #4426: Errors when running GNURadio Flow or Osmocom on MacOS 10.15.3.https://osmocom.org/issues/4426?journal_id=188932020-06-23T09:25:57Ztnt
<ul></ul><p>You should report that to the macport bug report tool.<br />None of the dev use OSX and this works fine on other OSes. So either the WX option isn't enabled during build/install or for some reason it's not finding it.</p> SDR (Software Defined Radio) - Bug #4426: Errors when running GNURadio Flow or Osmocom on MacOS 10.15.3.https://osmocom.org/issues/4426?journal_id=188992020-06-23T14:40:20Zfixeria
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Rejected</i></li></ul><blockquote>
<p>You should report that to the macport bug report tool.</p>
</blockquote>
<p>ACK.</p>
<blockquote>
<p>gr-fcdproplus @20180828_1 (active)<br />gr-fosphor @20160522_12 (active)<br />gr-osmosdr @20170704_11+airspy+bladeRF+docs+fcdproplus+hackrf+rtlsdr+sdrplay+soapysdr+swig+uhd (active)<br />gnuradio @3.7.13.5_6+docs+grc+log4cpp+logging+qtgui+sdl+swig+uhd+wavelet+wxgui+zeromq (active)</p>
</blockquote>
<p>So you're using 4-2 year old software in 2020, compiled and packaged by a third-party. Not sure if we can help here.</p>