EttusResearch / gr-doa

Direction-of-Arrival (DoA) Demo for GNU Radio (OOT) with the USRP™ X-Series and TwinRX™
GNU General Public License v3.0
102 stars 52 forks source link

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

Open rf-engineer opened 6 years ago

rf-engineer commented 6 years ago

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).