Long gaps in history make page fail #47

Open
opened 2019-12-09 17:09:42 -06:00 by mattbk · 2 comments
mattbk commented 2019-12-09 17:09:42 -06:00 (Migrated from github.com)

I think this is because it's trying to query and getting nothing, after plugging in after a long time without data. Message in terminal:

REQUEST:
ImmutableMultiDict([])
range_h_form not a number
Received from browser: 2019-12-09 00:00, 2019-12-09 17:07, Etc/UTC, nan
2. From: 2019-12-09 00:00, to: 2019-12-09 17:07, timezone: Etc/UTC
I think this is because it's trying to query and getting nothing, after plugging in after a long time without data. Message in terminal: ``` REQUEST: ImmutableMultiDict([]) range_h_form not a number Received from browser: 2019-12-09 00:00, 2019-12-09 17:07, Etc/UTC, nan 2. From: 2019-12-09 00:00, to: 2019-12-09 17:07, timezone: Etc/UTC ```
mattbk commented 2019-12-09 17:10:57 -06:00 (Migrated from github.com)

Although the data say it's been recording. Weird.

(Note that the logger is running all the time after startup, and Flask app is just the frontend.)

Although the data say it's been recording. Weird. (Note that the logger is running all the time after startup, and Flask app is just the frontend.)
mattbk commented 2019-12-09 17:14:58 -06:00 (Migrated from github.com)
https://github.com/mattbk/pi-temp/blob/b1bbea435f6d4265de44dfe6842aa8cbde7a0f18/pi_temp.py#L184
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: matt/pi-temp#47
No description provided.