Error in logs related to Amoled theme

Hello,

I am not sure if it is in the right place so don’t hesitate to move if needed.

For some time now I have noticed a recurrent error showing in the logs:

Error executing query: (MySQLdb._exceptions.DataError) (1406, "Data too long for column 'event_data' at row 1")
[SQL: INSERT INTO events (event_type, event_data, origin, time_fired, created, context_id, context_user_id) VALUES (%s, %s, %s, %s, %s, %s, %s)]
[parameters: ('themes_updated', '{"themes": {"amoled": {"accent-color": "#E45E65", "card-background-color": "var(--paper-card-background-color)", "dark-primary-color": "var(--accent- ... (281113 characters truncated) ... ont-caption_-_font-family": "var(--primary-font-family)", "paper-font-title_-_font-family": "var(--primary-font-family)"}}, "default_theme": "clear"}', 'LOCAL', datetime.datetime(2019, 12, 15, 12, 32, 51, 18353, tzinfo=<UTC>), datetime.datetime(2019, 12, 15, 12, 32, 51, 105995), '42a3fd8e39b94df396fe973ef60b333c', None)]
(Background on this error at: http://sqlalche.me/e/9h9h)

I tried to delete and reinstall the theme (via HACS) but the problem is the same.

do you have the ‘CLEAR’ theme installed by any chance?

I was getting the same error, uninstalled amoled and got the error with the next alphabetical theme, got rid of the clear theme and the error went away.

I think the issue is with the clear theme background image its hundreds of lines long.

Hello,
It is indeed installed. It is actually my default theme. I have not uninstalled it and will keep an eye on the logs.

That would be a shame if it is the problem. I like that theme :frowning:

It seems that you were right

Removing the theme Clear solved the problem. The error has gone.

Not sure how to bring that up to the person in charge of the theme?