CroatianMeteorNetwork / RMS

RPi Meteor Station
https://globalmeteornetwork.org/
GNU General Public License v3.0
169 stars 47 forks source link

Plotting time intervals fails #292

Closed dvida closed 3 weeks ago

dvida commented 1 month ago

2024/06/03 22:11:11-DEBUG-Reprocess-line:408 - Plotting timestamp interval failed with message: TypeError('unsupported format string passed to NoneType.__format__') 2024/06/03 22:11:11-DEBUG-Reprocess-line:409 - ['Traceback (most recent call last):\n', ' File "/home/lcam/source/RMS/RMS/Reprocess.py", line 401, in processNight\n log.info(\'Timestamp Intervals Analysis: Jitter Quality: {:.1f}%, Dropped Frame Rate: {:.1f}%\'.format(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', 'TypeError: unsupported format string passed to NoneType.__format__\n']

Cybis320 commented 1 month ago

This would typically happen when there aren't enough data points to compute jitter and dropped frames. Is it happening outside of that scenario?

dvida commented 1 month ago

It is not, this was a very short capture run. I caught it only by chance by looking at the scrolling log. Would it be possible to handle this gracefully so it doesn't error out?

Thanks!