You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C:\Users\petrikas.lu\Downloads\nanovna-tools-main\nanovna-tools-main>python nanovna_capture.py
Traceback (most recent call last):
File "C:\Users\petrikas.lu\Downloads\nanovna-tools-main\nanovna-tools-main\nanovna_capture.py", line 115, in <module>
if bytestream == b'capture?\r\nch> ': # error message
^^^^^^^^^^
NameError: name 'bytestream' is not defined
FIX: change bytestream to captured_bytes in this line
iflen( captured_bytes ) !=2*size:
ifbytestream==b'capture?\r\nch> ': # error messageprint( 'capture error - does the device support the "capture" cmd?' )
else:
print( 'capture error - wrong screen size?' )
sys.exit()
The text was updated successfully, but these errors were encountered:
@krupis reported in NanoVNA-Saver/nanovna-saver#676:
FIX: change
bytestream
tocaptured_bytes
in this lineThe text was updated successfully, but these errors were encountered: