Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Starting problem semi_automatic_tempest_example #9

Open
Ferditore opened this issue Jun 2, 2021 · 1 comment
Open

Starting problem semi_automatic_tempest_example #9

Ferditore opened this issue Jun 2, 2021 · 1 comment

Comments

@Ferditore
Copy link

When running an example from the gr-tempest / examples library, I have the following problems finding the default list item. The program swears and gives an error. How to deal with this?
I have GNU Radio Companion v3.8.2.0-119-gcba012fb, UHD 4.0.0.0-133-g7ec04886 and Volk 2.0. on a Virtual Machine Ubuntu 21.04 64-bit.

Below is the log from the GNU Radio terminal and the screen of the program

Generating: '/home/gnu/workarea/gr-tempest/examples/semi_automatic_tempest_example.py'
Executing: /usr/bin/python3 -u /home/gnu/workarea/gr-tempest/examples/semi_automatic_tempest_example.py
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Traceback (most recent call last):
File "/home/gnu/workarea/gr-tempest/examples/semi_automatic_tempest_example.py", line 438, in
main()
File "/home/gnu/workarea/gr-tempest/examples/semi_automatic_tempest_example.py", line 414, in main
tb = top_block_cls()
File "/home/gnu/workarea/gr-tempest/examples/semi_automatic_tempest_example.py", line 131, in init
self._mode_callback(self.mode)
File "/home/gnu/workarea/gr-tempest/examples/semi_automatic_tempest_example.py", line 130, in
self._mode_callback = lambda i: Qt.QMetaObject.invokeMethod(self._mode_combo_box, "setCurrentIndex", Qt.Q_ARG("int", self._mode_options.index(i)))
ValueError: 20 is not in list

Done (return code 1)

image

@bkerler
Copy link

bkerler commented Mar 17, 2022

Just replace "[x for x in range(len(modes))]" as option in the qt gui chooser

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants