Skip to content

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

@rf-engineer

Description

@rf-engineer

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions