cache seems broken after python 3.12 rebuild
Description:
urlwatch sends many mails as it would discover the content every time
Additional info:
Sometimes it throws errors like
01. ERROR: ndisc6
===========================================================================
---------------------------------------------------------------------------
ERROR: ndisc6 ( https://www.remlab.net/files/ndisc6/ )
---------------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.12/site-packages/urlwatch/handler.py", line 106, in process
self.load()
File "/usr/lib/python3.12/site-packages/urlwatch/handler.py", line 85, in load
self.old_data, self.timestamp, self.tries, self.etag = self.cache_storage.load(self.job, guid)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/urlwatch/storage.py", line 571, in load
for data, timestamp, tries, etag in CacheEntry.query(self.db,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: not enough values to unpack (expected 4, got 0)
-------------------------------------------------------------------------
``