Error converting string to float with comma
In next release
### Discussed in https://github.com/AllskyTeam/allsky/discussions/5187
<div type='discussions-op-text'>
<sup>Originally posted by **Cypouz** June 27, 2026</sup>
Hi,
Error in log, with allsky v2025.xx.xx:
`2026-06-27T10:02:00.839901+02:00 allsky allsky[933]: > GOT IMAGE: shutter_us: 3,0 sec, gain: 1,000, mean: 0,282, target mean: 0,500, diff (target - mean): 0,218`
##`2026-06-27T10:02:03.655484+02:00 allsky allsky[60099]: ERROR in flow runner: /home/delta/allsky/scripts/modules/allsky_loadimage.py:216 in run -> ValueError: could not convert string to float: '0,28161'`
I think it's due to the comma in the value to convert. It's probably because of the French locale.</div>
0 条评论