Project

General

Profile

Actions

Bug #4426

closed

Errors when running GNURadio Flow or Osmocom on MacOS 10.15.3.

Added by PeterDragon about 4 years ago. Updated almost 4 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
02/28/2020
Due date:
% Done:

0%

Resolution:
Spec Reference:

Description

When running GNU radio or Osmocom I am getting errors, see below for details. I have been scouring GIT, Google, and other sites for some information on what I am seeing.

Is this a known issue, or did I miss a step? Any help/information would be welcomed.

System information:

% system_profiler SPSoftwareDataType
Software:

    System Software Overview:

      System Version: macOS 10.15.3 (19D76)
      Kernel Version: Darwin 19.3.0
      Boot Volume: System HD
      Boot Mode: Normal
      Secure Virtual Memory: Enabled
      System Integrity Protection: Enabled
      Time since boot: 1 day 20:32

Installed the following:

sudo port install gnuradio +grc +swig +wxgui +qtgui

sudo port install gr-osmosdr

sudo port install gr-fosphor

NOTE: GNURadio Flow uploaded as attached image.

When testing Osmocom

xxxxxxx@hostname ~ % osmocom_fft -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.0 (clang-1100.0.33.17); Boost_107100; UHD_3.15.0.0-MacPorts-Release
get_devices started
Device count: 0
get_devices end
Using HackRF One with firmware local-79baef77
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
xxxxxxx@hostname ~ %

When running GNU Radio from the command line.

% gnuradio-companion fosphor-cfile.2grc.grc
<<< Welcome to GNU Radio Companion 3.7.13.5 >>>

Block paths:
    /opt/local/share/gnuradio/grc/blocks

Loading: "/Users/xxxxxxx/fosphor-cfile.2grc.grc" 
>>> Done

Generating: '/Users/xxxxxxx/top_block.py'

Executing: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -u /Users/xxxxxxx/top_block.py

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.0 (clang-1100.0.33.17); Boost_107100; UHD_3.15.0.0-MacPorts-Release
get_devices started
Device count: 0
get_devices end
Using HackRF One with firmware local-79baef77
Traceback (most recent call last):
  File "/Users/xxxxxxx/top_block.py", line 123, in <module>
    main()
  File "/Users/xxxxxxx/top_block.py", line 117, in main
    tb = top_block_cls()
  File "/Users/xxxxxxx/top_block.py", line 89, in __init__
    self.top_grid_layout.addWidget(self._fosphor_qt_sink_c_0_win)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gnuradio/gr/hier_block2.py", line 92, in __getattr__
    return getattr(self._impl, name)
AttributeError: 'top_block_sptr' object has no attribute 'top_grid_layout'


Files

Screen Shot 2020-02-28 at 3.02.45 PM.png View Screen Shot 2020-02-28 at 3.02.45 PM.png 41.4 KB GNU Radio Flow PeterDragon, 02/28/2020 08:03 PM
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)