[Answer]-Python gearman Received non-binary argument

1👍

After read source code, I found that the gearman client doesn’t support unicode.
Change argument’s type to str or bytes will fix your issue.

client.submit_job("task1")   # error: Received non-binary arguments
client.submit_job(b"task1")  # ok

Leave a comment