Skip to content

Error converting string to float with comma #5188

Description

@Alex-developer

Discussed in #5187

Originally posted by Cypouz June 27, 2026
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    In next releaseThis item is complete and in the next release

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions