Project

General

Profile

Actions

tickets #106065

open

mailman - SAWarning: TypeDecorator SAUnico de() will not produce a cache key

Added by pjessen about 2 years ago. Updated 11 months ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Mailing lists
Target version:
-
Start date:
2022-02-07
Due date:
% Done:

0%

Estimated time:

Description

For some reason mailman on mailman3 is not enabled for auto-start, and when I manually started it just now, I noticed these:

2022-02-07T10:01:24.156491+00:00 mailman3 mailman[25685]: /usr/lib/python3.6/site-packages/mailman/model/listmanager.py:133: SAWarning: TypeDecorator SAUnicode() will not produce a cache key because the ``cache_ok`` attribute is not set to True.  This can have significant performance implications including some performance degradations in comparison to prior SQLAlchemy versions.  Set this attribute to True if this type object's state is safe to use in a cache key, or False to disable this warning. (Background on this error at: https://sqlalche.me/e/14/cprf)
2022-02-07T10:01:24.157186+00:00 mailman3 mailman[25685]:   MailingList.list_name):
2022-02-07T10:01:24.157263+00:00 mailman3 mailman[25685]: /usr/lib/python3.6/site-packages/mailman/model/domain.py:156: SAWarning: TypeDecorator SAUnicode() will not produce a cache key because the ``cache_ok`` attribute is not set to True.  This can have significant performance implications including some performance degradations in comparison to prior SQLAlchemy versions.  Set this attribute to True if this type object's state is safe to use in a cache key, or False to disable this warning. (Background on this error at: https://sqlalche.me/e/14/cprf)
2022-02-07T10:01:24.157329+00:00 mailman3 mailman[25685]:   if domains.count() < 1:
2022-02-07T10:01:24.157396+00:00 mailman3 mailman[25685]: /usr/lib/python3.6/site-packages/mailman/model/domain.py:158: SAWarning: TypeDecorator SAUnicode() will not produce a cache key because the ``cache_ok`` attribute is not set to True.  This can have significant performance implications including some performance degradations in comparison to prior SQLAlchemy versions.  Set this attribute to True if this type object's state is safe to use in a cache key, or False to disable this warning. (Background on this error at: https://sqlalche.me/e/14/cprf)
2022-02-07T10:01:24.157466+00:00 mailman3 mailman[25685]:   assert domains.count() == 1, (
2022-02-07T10:01:24.157568+00:00 mailman3 mailman[25685]: /usr/lib/python3.6/site-packages/mailman/model/domain.py:160: SAWarning: TypeDecorator SAUnicode() will not produce a cache key because the ``cache_ok`` attribute is not set to True.  This can have significant performance implications including some performance degradations in comparison to prior SQLAlchemy versions.  Set this attribute to True if this type object's state is safe to use in a cache key, or False to disable this warning. (Background on this error at: https://sqlalche.me/e/14/cprf)
2022-02-07T10:01:24.157638+00:00 mailman3 mailman[25685]:   return domains.one()
Actions #1

Updated by crameleon 11 months ago

  • Private changed from Yes to No

Hi,

should this be reported upstream if it's still an issue?

Actions

Also available in: Atom PDF