Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

更新最新版本后【0.7.1】,使用cookie没有返回任何东西,一直在请求中。。。。。。最后报错:'NoneType' object has no attribute 'split' #467

Closed
xiaolvtongxue-zt opened this issue Jun 2, 2023 · 3 comments

Comments

@xiaolvtongxue-zt
Copy link

No description provided.

@xiaolvtongxue-zt xiaolvtongxue-zt changed the title 更新最新版本后【0.7.1】,使用cookie没有返回任何东西,一直在请求中。。。。。。 更新最新版本后【0.7.1】,使用cookie没有返回任何东西,一直在请求中。。。。。。最后报错:'NoneType' object has no attribute 'split' Jun 2, 2023
@MonsterDruide1
Copy link
Contributor

Might be fixed by #466 , that message is something I also observed when dealing with the error.

@xiaolvtongxue-zt
Copy link
Author

Might be fixed by #466 , that message is something I also observed when dealing with the error.

Thank you very much, the problem has been solved.
The problem was solved by wrapping it in list. #466

https://github.com/acheong08/EdgeGPT/pull/466/commits/213e18a439020eea776b7c48bf6945790c4dabad

Replace "locationHints": get_location_hint_from_locale(locale).
Modify to read:
"locationHints": [get_location_hint_from_locale(locale)].

@acheong08
Copy link
Owner

That doesn't fix the full issue. I added the fix. Sorry about that

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

No branches or pull requests

3 participants