gr-doa icon indicating copy to clipboard operation
gr-doa copied to clipboard

AttributeError: 'top_block_sptr' object has no attribute '_doa_compass_0_win'

Open rf-engineer opened this issue 6 years ago • 0 comments

With the latest GNURadio and UHD, the apps here which rely on the "QT GUI DoA Compass Sink" throw this error. I installed gr-doa with PyBOMBS, so it should automatically place everything in the right place. The error it throws is as follows:

Executing: /usr/bin/python2 -u ./run_RootMUSIC_lin_array_simulation.py

Traceback (most recent call last):
  File "./run_RootMUSIC_lin_array_simulation.py", line 222, in <module>
    main()
  File "./run_RootMUSIC_lin_array_simulation.py", line 210, in main
    tb = top_block_cls()
  File "./run_RootMUSIC_lin_array_simulation.py", line 98, in __init__
    self.tab_grid_layout_1.addWidget(self._doa_compass_0_win)
  File "/home/ltsrf/gr-latestuhd/lib64/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 '_doa_compass_0_win'

Here, "./" refers to the actual location of my GR prefix, which I removed for simplicity sake. I did make a change to the "QT GUI DoA Compass Sink" xml code to fix the template (see Issue 2 I posted earlier).

rf-engineer avatar May 09 '18 23:05 rf-engineer