From c38fd0ec28e8fa464563d583bb7b27c7d012f21b Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Tue, 21 Jul 2026 17:12:39 +0200 Subject: [PATCH] datastore fix --- changedetectionio/model/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/changedetectionio/model/__init__.py b/changedetectionio/model/__init__.py index 61d41ece..39d204ab 100644 --- a/changedetectionio/model/__init__.py +++ b/changedetectionio/model/__init__.py @@ -525,6 +525,10 @@ class watch_base(dict): instance_attrs = {} for attr_name in dir(self): if attr_name.startswith('_') and not attr_name.startswith('__'): + # Skip computed properties/descriptors - they have no stored state and + # often can't be set back (read-only properties), which breaks __setstate__. + if isinstance(getattr(type(self), attr_name, None), property): + continue try: attr_value = getattr(self, attr_name) # Exclude large reference objects and caches from serialization