Closed hdimitriou closed 4 years ago
/assign
The ws client we use OPCODE_TEXT
by default, which accepts utf-8 string or unicode as payload https://github.com/websocket-client/websocket-client/blob/66081be8e0523c9dfaffcb18ba1c8e4765e2288e/websocket/_core.py#L241-L253.
I think the error means that we don't support bytes payload yet. One fix could be supporting the opcode
parameter in our client and do the bytes(chr(channel), 'utf-8')
conversion when necessary, but we need to test that
I will work on this when I get time, but in the meantime feel free to jump in if anyone is interested.
/help
@roycaihw: This request has been marked as needing help from a contributor.
Please ensure the request meets the requirements listed here.
If this request no longer meets these requirements, the label can be removed
by commenting with the /remove-help
command.
I'll give this a stab
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close
.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle stale
Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten
.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close
.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle rotten
Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen
.
Mark the issue as fresh with /remove-lifecycle rotten
.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /close
@fejta-bot: Closing this issue.
I'm not sure this issue is fixed. /reopen
@Ark-kun: You can't reopen an issue/PR unless you authored it or you are a collaborator.
/reopen /remove-lifecycle rotten /unassign
This issue still exists. https://github.com/kubernetes-client/python-base/pull/152 is a great potential fix for it
@roycaihw: Reopened this issue.
Fixed by #152
/close
@roycaihw: Closing this issue.
I am using the rundeck kubernetes plugin to execute a script to a pod and I get the following error
On this comment there is a workaround - a change to ws_client.py
This worked for me, so maybe someone with more knowledge can see if it should be merged fixed this way, or there's something better
I am using 'Python 3.5.2' and I tried kubernetes 9.0.0 and 10.0.0 This issue does not happen with Python2.7