Flask-Superset Error "Failed to serialize session data: Encoding objects of type LazyString is unsupported" with Redis Session Backend #29347
Unanswered
weigosw
asked this question in
Q&A / Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Question:
I am encountering an issue when configuring Flask-Superset to use Redis as the session backend. Every time I attempt to import a file, the file uploads successfully, then I get the following error:
Environment:
Configuration:
Here is the content of my
superset_config.py
file:Error Log:
Every time I attempt to import a file, the file is uploaded, but the following error appears in the log:
Attempted Solutions:
JSONEncoder
class to handleLazyString
objects by converting them to strings.superset_config.py
.Request for Help:
How can I correctly configure Superset to use Redis as the session backend and resolve the issue with
LazyString
objects not being serializable? Are there any other methods to ensureLazyString
objects are properly handled?Any help or suggestions would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions