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

NanoVNASaver 0.6.2 does not run on Apple M1 Ultra running Sonoma 14.1 #679

Open
BMeyendriesch opened this issue Nov 12, 2023 · 0 comments
Open
Labels
bug Something isn't working

Comments

@BMeyendriesch
Copy link

python3 nanovna-saver.py
NanoVNASaver 0.6.2.post1.dev3+g96dd232

Copyright (C) 2019, 2020 Rune B. Broberg
Copyright (C) 2020ff 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.

2023-11-12 14:16:51,127 - NanoVNASaver.Hardware.Serial - WARNING - unable to drain all data
2023-11-12 14:16:51,221 - NanoVNASaver.Hardware.Serial - WARNING - unable to drain all data
Traceback (most recent call last):
File "/Users/bm/nanovna-saver/nanovna-saver.py", line 37, in
NanoVNASaver.main.main()
File "/Users/bm/nanovna-saver/src/NanoVNASaver/main.py", line 95, in main
window = NanoVNASaver()
^^^^^^^^^^^^^^
File "/Users/bm/nanovna-saver/src/NanoVNASaver/NanoVNASaver.py", line 129, in init
self.serial_control = SerialControl(self)
^^^^^^^^^^^^^^^^^^^
File "/Users/bm/nanovna-saver/src/NanoVNASaver/Controls/SerialControl.py", line 37, in init
self.rescanSerialPort()
File "/Users/bm/nanovna-saver/src/NanoVNASaver/Controls/SerialControl.py", line 68, in rescanSerialPort
for iface in get_interfaces():
^^^^^^^^^^^^^^^^
File "/Users/bm/nanovna-saver/src/NanoVNASaver/Hardware/Hardware.py", line 117, in get_interfaces
iface.comment = get_comment(iface)
^^^^^^^^^^^^^^^^^^
File "/Users/bm/nanovna-saver/src/NanoVNASaver/Hardware/Hardware.py", line 147, in get_comment
vna_version = detect_version(iface)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/bm/nanovna-saver/src/NanoVNASaver/Hardware/Hardware.py", line 183, in detect_version
data = serial_port.read(128).decode("ascii")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'ascii' codec can't decode byte 0xa0 in position 9: ordinal not in range(128)

@BMeyendriesch BMeyendriesch added the bug Something isn't working label Nov 12, 2023
@BMeyendriesch BMeyendriesch changed the title NanoVNASaver 0.6.2.post1.dev3+g96dd232 does not run on Apple M1 Ultra running Sonoma 14.1 NanoVNASaver 0.6.2 does not run on Apple M1 Ultra running Sonoma 14.1 Nov 12, 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

1 participant