Thanks !
(sheepish look, operator malfunction...)

On Monday, March 25, 2024 at 2:16:03 PM UTC-4 vince wrote:

> Lets see the snippet for longitude from weewx.conf please...
>
> On Monday, March 25, 2024 at 10:47:04 AM UTC-7 John Lowry wrote:
>
>> 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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/c94ae67a-b8ab-4591-8919-6b16f6397c7cn%40googlegroups.com.

Reply via email to