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

bug: Illegal sweep settings #668

Closed
Shaeto opened this issue Jul 31, 2023 · 0 comments
Closed

bug: Illegal sweep settings #668

Shaeto opened this issue Jul 31, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Shaeto
Copy link

Shaeto commented Jul 31, 2023

Bug Report

NanoVNA-Saver version:

0.6.1 under Ubuntu 22.04.2 LTS x64

Current behavior:

Application crashes on any change in the sweep settings fields with trace:
Traceback (most recent call last):
File "NanoVNASaver/Controls/SweepControl.py", line 216, in update_step_size
File "NanoVNASaver/Controls/SweepControl.py", line 219, in update_sweep
File "NanoVNASaver/Settings/Sweep.py", line 119, in update
File "NanoVNASaver/Settings/Sweep.py", line 145, in check
ValueError: Illegal sweep settings: Sweep(14000000, 137800, 101, 1, Properties(name='', mode=<SweepMode.SINGLE: 0>, averages=(3, 0), logarithmic=False))
Aborted (core dumped)

Expected behavior:

Application is allows to change and apply sweep settings

Steps to reproduce:

Start application, connect to VNA (NanoVNA V2 Plus4 firmware 20220814), try to change default 200M-300M range to 1M-100M

@Shaeto Shaeto added the bug Something isn't working label Jul 31, 2023
zarath added a commit that referenced this issue Aug 1, 2023
zarath added a commit that referenced this issue Aug 1, 2023
@zarath zarath closed this as completed Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants