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

https://github.com/altryne/chatGPT-telegram-bot/issues/48 #60

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nhan0905585682
Copy link

tôi đã cài đặt các gói môi trường nhưng khi tôi chạy thì nhận được lỗi này

Please log in to OpenAI Chat
Press enter when you're done
Traceback (most recent call last):
File "/home/ai_car/chatbot/chatGPT-telegram-bot-altryne/server.py", line 307, in
start_browser()
File "/home/ai_car/chatbot/chatGPT-telegram-bot-altryne/server.py", line 272, in start_browser
PAGE.locator("button", has_text="Log in").click(timeout = 20000)
File "/home/ai_car/anaconda3/envs/chat/lib/python3.10/site-packages/playwright/sync_api/_generated.py", line 13670, in click
self._sync(
File "/home/ai_car/anaconda3/envs/chat/lib/python3.10/site-packages/playwright/_impl/_sync_base.py", line 104, in _sync
return task.result()
File "/home/ai_car/anaconda3/envs/chat/lib/python3.10/asyncio/futures.py", line 201, in result
raise self._exception.with_traceback(self._exception_tb)
File "/home/ai_car/anaconda3/envs/chat/lib/python3.10/asyncio/tasks.py", line 232, in __step
result = coro.send(None)
File "/home/ai_car/anaconda3/envs/chat/lib/python3.10/site-packages/playwright/_impl/_locator.py", line 146, in click
return await self._frame.click(self._selector, strict=True, **params)
File "/home/ai_car/anaconda3/envs/chat/lib/python3.10/site-packages/playwright/_impl/_frame.py", line 489, in click
await self._channel.send("click", locals_to_params(locals()))
File "/home/ai_car/anaconda3/envs/chat/lib/python3.10/site-packages/playwright/_impl/_connection.py", line 44, in send
return await self._connection.wrap_api_call(
File "/home/ai_car/anaconda3/envs/chat/lib/python3.10/site-packages/playwright/_impl/_connection.py", line 419, in wrap_api_call
return await cb()
File "/home/ai_car/anaconda3/envs/chat/lib/python3.10/site-packages/playwright/_impl/_connection.py", line 79, in inner_send
result = next(iter(done)).result()
File "/home/ai_car/anaconda3/envs/chat/lib/python3.10/asyncio/futures.py", line 201, in result
raise self._exception.with_traceback(self._exception_tb)
playwright._impl._api_types.TimeoutError: Timeout 20000ms exceeded.
=========================== logs ===========================
waiting for locator("button").filter(has_text="Log in")

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

Successfully merging this pull request may close these issues.

2 participants