我在 gearman 中遇到错误。尝试任何类似的东西,只发送一个字符串字母或数字或字符串数字,但总是得到这个错误请帮助......(相同的代码在其他视图中工作)
Request Method: POST
Request URL: http://local.example.com:8000/business/user-panel
Django Version: 1.6.6
Exception Type: ProtocolError
Exception Value:
Received non-binary arguments: {'unique': 'ab69c55005d118f92e27dcaa3a9bb5d7', 'task': u'task_name', 'data': "1010"}
Exception Location: /home/xcoder/NopyFlexiEnv/lib/python2.7/site-packages/gearman/protocol.py in pack_binary_command, line 242
Python Executable: /home/xcoder/NopyFlexiEnv/bin/python2.7
Python Version: 2.7.6