You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SQL Lab CSV download fails if the tab name has Chinese characters in it.
Expected results
Successful download
Actual results
INTERNAL SERVER ERROR
Logs:
File "/usr/local/lib/python3.6/dist-packages/gunicorn/http/wsgi.py", line 326, in write
UnicodeEncodeError: 'latin-1' codec can't encode characters in position 223-227: ordinal not in range(256)
How to reproduce the bug
Change sqllab tab name to 你好
Run an arbitrary query
Download csv
😢
Environment
(please complete the following information):
superset version: up to date with master (last commit a005e4568f14f32be23c317dc484b904ddc71dd9)
python version: 3.6.8
Checklist
Make sure these boxes are checked before submitting your issue - thank you!
I have checked the superset logs for python stacktraces and included it here as text if there are any.
I have reproduced the issue with at least the latest released version of superset.
I have checked the issue tracker for the same issue and I haven't found one similar.
The text was updated successfully, but these errors were encountered:
Note that this failure may be specific to implementations where the flask server is run with gunicorn. I'm not sure if this is a Superset bug or a gunicorn bug
It seemed to be a superset bug when dealing with header which should be latin-1 encoding.
(May be related to benoitc/gunicorn#1778 )
And a possible solution provided here: #5377
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.
SQL Lab CSV download fails if the tab name has Chinese characters in it.
Expected results
Successful download
Actual results
INTERNAL SERVER ERROR
Logs:
How to reproduce the bug
Environment
(please complete the following information):
a005e4568f14f32be23c317dc484b904ddc71dd9
)Checklist
Make sure these boxes are checked before submitting your issue - thank you!
The text was updated successfully, but these errors were encountered: