|
发表于 2018-8-31 16:47:44
|
显示全部楼层
root@amlogic:/usr/share/hassio/apache# python hagenie.py
59.33.45.62 - - [31/Aug/2018 16:46:32] "GET /miai.py?https_czde.duckdns.org_8123_
HTTP/1.1" 200 -
59.33.45.62 - - [31/Aug/2018 16:46:32] command: /usr/bin/python -u /usr/share/hassio/apache/miai.py https_czde.duckdns.org_8123_testpwd
59.33.45.62 - - [31/Aug/2018 16:46:32] GET //miai.py?https_czde.duckdns.org_8123_
validateToken: 小爱精灵, HAURL: https://czde.duckdns.org:8123/api/?api_password=
Traceback (most recent call last):
File "/usr/share/hassio/apache/miai.py", line 176, in <module>
is_session_end, text = handleRequest(body)
File "/usr/share/hassio/apache/miai.py", line 133, in handleRequest
request = body['request']
KeyError: 'request'
RESPONSE {
"is_session_end": true,
"version": "1.0",
"response": {
"open_mic": false,
"to_speak": {
"text": "主人,我艹程序出错啦!!!!",
"type": 0
}
}
}
59.33.45.62 - - [31/Aug/2018 16:46:32] CGI script exited OK
我在QQ里截图给你了 |
|