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
Supposing, my adjustments for python3 are the right means for fixing the issue, I got the following questions:
a. Are there more than these two locations where we need to encode a string? Can anyone point me there?
b. What is the right way to fix this python3-specific issue so that we do not compromise python2 installations? (I have absolutely no experience in this regard…)
c. I'm also not experienced with github and pull requests. Should I still try to fix it myself? I'm perfectly fine if someone else wants to deal with this issue. However, if needed, I can try to make a pull request.
The text was updated successfully, but these errors were encountered:
Make sure these boxes are checked before submitting your issue - thank you!
Superset version
0.15.4 on python3.4.5
Expected results
Async query succeeds; fetch results succeeds and shows result table.
Actual results
Async queries result in an error in the superset worker:
"TypeError: 'str' does not support the buffer interface"
This seems to be caused by python3 which requires the payload to be encoded.
For testing, I did the following adjustments which seem to do the job:
File sql_lab.py:
File views.py:
Steps to reproduce
Questions
Supposing, my adjustments for python3 are the right means for fixing the issue, I got the following questions:
a. Are there more than these two locations where we need to encode a string? Can anyone point me there?
b. What is the right way to fix this python3-specific issue so that we do not compromise python2 installations? (I have absolutely no experience in this regard…)
c. I'm also not experienced with github and pull requests. Should I still try to fix it myself? I'm perfectly fine if someone else wants to deal with this issue. However, if needed, I can try to make a pull request.
The text was updated successfully, but these errors were encountered: