Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xce in position 3: invalid continuation byte #96

Open
CuteLin opened this issue Jan 3, 2020 · 2 comments

Comments

@CuteLin
Copy link

CuteLin commented Jan 3, 2020

Rasa NLU version:
1.6.0
Operating system (windows, osx, ...):
windows10
Issue:
按照readme启动rasa服务器后台,然后用curl:
curl -XPOST localhost:5000/parse -d "{"q":"我发烧了该吃什么药?", "model": "model_20191229-202428"}"
服务器报错:
Traceback (most recent call last): File "D:\rasa\Rasa_NLU_Chi-master\rasa_nlu\server.py", line 133, in decorated return f(*args, **kwargs) File "D:\rasa\Rasa_NLU_Chi-master\rasa_nlu\server.py", line 116, in decorated return f(*args, **kwargs) File "C:\Users\Dell\AppData\Local\Programs\Python\Python37-32\lib\site-packages\twisted\internet\defer.py", line 1613, in unwindGenerator return _cancellableInlineCallbacks(gen) File "C:\Users\Dell\AppData\Local\Programs\Python\Python37-32\lib\site-packages\twisted\internet\defer.py", line 1529, in _cancellableInlineCallbacks _inlineCallbacks(None, g, status) --- <exception caught here> --- File "C:\Users\Dell\AppData\Local\Programs\Python\Python37-32\lib\site-packages\twisted\internet\defer.py", line 1418, in _inlineCallbacks result = g.send(result) File "D:\rasa\Rasa_NLU_Chi-master\rasa_nlu\server.py", line 224, in parse request.content.read().decode('utf-8', 'strict')) builtins.UnicodeDecodeError: 'utf-8' codec can't decode byte 0xce in position 3: invalid continuation byte
有兄弟可以帮忙看一下吗?谢谢了

@CUCLCY
Copy link

CUCLCY commented Jan 4, 2020

您好,请问解决了吗

@CuteLin
Copy link
Author

CuteLin commented Jan 4, 2020

您好,请问解决了吗

没有,我认为可能是版本问题?这个包是0.12版的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants