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

bard使用 聊天就报错闪退 #444

Open
mianlaodie opened this issue Aug 25, 2023 · 2 comments
Open

bard使用 聊天就报错闪退 #444

mianlaodie opened this issue Aug 25, 2023 · 2 comments

Comments

@mianlaodie
Copy link

Please input your question
User:
mnmn
Bot:
[WARNING][2023-08-25 03:09:31][log.py:39] - Cookies may be wrong:'NoneType' object has no attribute 'group'
[ERROR][2023-08-25 03:09:31][log.py:47] - [MultiChannel] Start up failed on terminal: 'NoneType' object has no attribute 'ask'
[ERROR][2023-08-25 03:09:31][log.py:45] - App startup failed!
[ERROR][2023-08-25 03:09:31][log.py:50] - 'NoneType' object has no attribute 'ask'
Traceback (most recent call last):
File "/root/bot-on-anything/app.py", line 42, in main
start_process(channel_type[0], args.config)
File "/root/bot-on-anything/app.py", line 23, in start_process
raise e
File "/root/bot-on-anything/app.py", line 20, in start_process
channel.startup()
File "/root/bot-on-anything/channel/terminal/terminal_channel.py", line 21, in startup
for res in super().build_reply_content(prompt, context):
File "/root/bot-on-anything/channel/channel.py", line 31, in build_reply_content
return Bridge().fetch_reply_content(query, context)
File "/root/bot-on-anything/bridge/bridge.py", line 18, in fetch_reply_content
return model_factory.create_bot(type).reply(query, context)
File "/root/bot-on-anything/model/google/bard_model.py", line 28, in reply
answer = bot.ask(query)
AttributeError: 'NoneType' object has no attribute 'ask'

@mianlaodie
Copy link
Author

cookies确定是正确的

@1352608667
Copy link

WARNING][2023-08-31 16:05:01][log.py:39] - HTTPSConnectionPool(host='bard.google.com', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)')))有出现这个东西吗

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