error running config_gui.py

96 views
0 Comments

when running configuration with gui I always get error
pi@rpi3:~ $ sudo -E python3 strompi_config_gui.py
Traceback (most recent call last):
File „strompi_config_gui.py“, line 66, in <module>
sp3_ADC_Wide = float(serial_port.readline(9999))/1000;
ValueError: could not convert string to float:

Answered question

Good morning Freddie,
There are 2 main reasons for this kind of error. Sometimes it happens, that there is still a line in the serial buffer. In this case just execute „sudo -E python3 strompi_config_gui.py“ again and should work.
If the version of the config script doesn’t match the firmware version this error could also occure. Make sure, that the config script is for the firmware you are using.

Best regards
Nils (Joy-IT)

Answered question
You are viewing 1 out of 1 answers, click here to view all answers.
Write your answer.