NanoVNA V2 Forum

Note: this page is a mirror of https://groups.io/g/NanoVNAV2.
Click here to join and see most recent posts.

NanoVNA-saver 0.3.7 crash on second day of use.


Tony VK3ZTR 2020/08/20 19:05

Hi installed for 1st time yesterday and EXE worked OK. Today it would start and then crash before GUI appeared. So ran from CMD line and found a way to fix:-

C:\VNA-Saver>nanovna-saver
NanoVNASaver 0.3.7

Copyright (C) 2019, 2020 Rune B. Broberg
Copyright (C) 2020 NanoVNA-Saver Authors

This program comes with ABSOLUTELY NO WARRANTY
This program is licensed under the GNU General Public License version 3

See https://github.com/NanoVNA-Saver/nanovna-saver for further details.

Settings: C:/Users/xxxxxx
xxxxx/AppData/Roaming/NanoVNASaver/NanoVNASaver.ini
Traceback (most recent call last):
File "nanovna-saver.py", line 24, in <module>
File "NanoVNASaver\__main__.py", line 80, in main
File "NanoVNASaver\NanoVNASaver.py", line 220, in __init__
File "NanoVNASaver\Windows\DisplaySettings.py", line 428, in __init__
File "NanoVNASaver\Windows\DisplaySettings.py", line 515, in changeChart
File "NanoVNASaver\NanoVNASaver.py", line 783, in copyChart
File "NanoVNASaver\Charts\TDR.py", line 224, in copy
AttributeError: 'NoneType' object has no attribute 'updated'
[8840] Failed to execute script nanovna-saver

I now delete bands.ini and NanoVNASaver.ini from C:/Users/xxxxxx
xxxxx/AppData/Roaming/NanoVNASaver/

Nan0VNA-saver will now run OK multiple times.
The only thing I did was to turn off PC overnight.

I had to run from a cmd line so the errors stayed on screen after crash.
Has anyone else had this issue?

Python Ver 3.8.5

-------------------------------------------------------------
2nd run after deleting .ini files OK
C:\VNA-Saver>nanovna-saver
NanoVNASaver 0.3.7

Copyright (C) 2019, 2020 Rune B. Broberg
Copyright (C) 2020 NanoVNA-Saver Authors

This program comes with ABSOLUTELY NO WARRANTY
This program is licensed under the GNU General Public License version 3

See https://github.com/NanoVNA-Saver/nanovna-saver for further details.

Settings: C:/Users/Anthony Wakefield/AppData/Roaming/NanoVNASaver/NanoVNASaver.ini

WORKED OK and can repeat OK

ok1vaw 2020/09/08 05:44

Try to start the nanovnaSaver in the debug mode. The fist start with crash happened to me too, mostly when no battery is installed. Now it happens from time to time, in the debug.txt log there is a problem with reading of the registers.
2020-09-07 22:13:01,731 - NanoVNASaver.NanoVNASaver - DEBUG - Finished building interface
2020-09-07 22:13:07,728 - NanoVNASaver.NanoVNASaver - INFO - Connection COM10 (S-A-A-2)
2020-09-07 22:13:07,834 - NanoVNASaver.Hardware.Hardware - INFO - Finding correct VNA type...
2020-09-07 22:13:07,990 - NanoVNASaver.Hardware.Hardware - INFO - Type: NanoVNA-V2
2020-09-07 22:13:08,090 - NanoVNASaver.Hardware.NanoVNA_V2 - ERROR - Timeout reading version registers

After that it crashes.

To reply to this topic, join https://groups.io/g/NanoVNAV2

View this thread on groups.io