Converting string to float in install.
HW: RPI5
SW: error on both RaspOS (bookworm) and Ubuntu
During install, the user is prompted for lat/long of the weather station.
The installation fails with the following error output:
File "/usr/share/weewx/weectllib/station_actions.py", line 205, in
config_config
config_latlon(config_dict, latitude=latitude, longitude=longitude,
no_prompt=no_prompt)
File "/usr/share/weewx/weectllib/station_actions.py", line 345, in
config_latlon
config_dict['Station']['longitude'] = float(final_longitude)
^^^^^^^^^^^^^^^^^^^^^^
ValueError: could not convert string to float: '0.00048.830545'
The value I entered was 48.830545, not 0.000etc
Any suggestions highly appreciated.
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/6f7130de-387f-42c0-a322-8bf86cd02941n%40googlegroups.com.