gr-doa
gr-doa copied to clipboard
QT Gui Object Broken - doa_qt_compass.xml
With the latest install of GR and UHD, it appears that the xml file for the block "QT GUI DoA Compass Sink" is no longer working out of the box. The
<make>#set $win2 = 'self.%s.this_layout'%$id doa.compass($name, $min_val, $max_val, $step, $arc_bias) $(gui_hint()($win2))</make>
The following change would fix it:
<make>#set $win = 'self._%s_win'%$id doa.compass($name, $min_val, $max_val, $step, $arc_bias) $(gui_hint() % $win)</make>
@rf-engineer Can you please try updating to the current GNU Radio maint-3.7 release [ https://github.com/gnuradio/gnuradio/tree/maint-3.7 ] which includes this commit https://github.com/gnuradio/gnuradio/commit/dbdd204ccd3e4d174f4390bcd0948f33f1a8bf0d that resolves this issue with QT sinks on GNU Radio 3.7.12.0.
@natetemple So the Template_error that gets thrown does go away with the current maint-3.7 release. However, I'm now getting a QVBoxLayout issue:
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.this_layout)
TypeError: arguments did not match any overloaded call:
QGridLayout.addWidget(QWidget): argument 1 has unexpected type 'QVBoxLayout'
QGridLayout.addWidget(QWidget, int, int, Qt.Alignment alignment=0): argument 1 has unexpected type 'QVBoxLayout'
QGridLayout.addWidget(QWidget, int, int, int, int, Qt.Alignment alignment=0): argument 1 has unexpected type 'QVBoxLayout'
Maybe this has to do with my installation? Python and QT are all up-to-date. When I make the changes that I mentioned above, I get the error that I noted in issue #4 .
I also encountered the same issue about the QVBoxLayout with the latest install of GnuRadio and UHD. Any help will be appreciated! @natetemple @rf-engineer
I also have this issue using GR 3.7.13.4 built from source.
TypeError: arguments did not match any overloaded call: QGridLayout.addWidget(QWidget): argument 1 has unexpected type 'QVBoxLayout' QGridLayout.addWidget(QWidget, int, int, Qt.Alignment alignment=0): argument 1 has unexpected type 'QVBoxLayout' QGridLayout.addWidget(QWidget, int, int, int, int, Qt.Alignment alignment=0): argument 1 has unexpected type 'QVBoxLayout'
I have this issue , Can it be solved?