V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  meiweijia  ›  全部回复第 1 页 / 共 1 页
回复总数  17
2022-12-14 09:52:13 +08:00
回复了 sleeplessy 创建的主题 OpenAI 一个简单且很糙的 ChatGPT TG Bot
@sleeplessy 好的,谢谢。
2022-12-14 09:37:22 +08:00
回复了 sleeplessy 创建的主题 OpenAI 一个简单且很糙的 ChatGPT TG Bot
Playwright 是这个的原因吗?
```
An exception was raised while handling an update
Traceback (most recent call last):
File "/mnt/hdd/code/ChatGPTBot/main.py", line 124, in start
chatbot = Chatbot(config, conversation_id=None, request_timeout=300)
File "/home/mei/.local/lib/python3.10/site-packages/revChatGPT/revChatGPT.py", line 114, in __init__
self.refresh_session()
File "/home/mei/.local/lib/python3.10/site-packages/revChatGPT/revChatGPT.py", line 293, in refresh_session
asyncio.run(self.get_cf_cookies())
File "/home/mei/.local/lib/python3.10/site-packages/nest_asyncio.py", line 35, in run
return loop.run_until_complete(task)
File "/home/mei/.local/lib/python3.10/site-packages/nest_asyncio.py", line 90, in run_until_complete
return f.result()
File "/usr/lib/python3.10/asyncio/futures.py", line 201, in result
raise self._exception.with_traceback(self._exception_tb)
File "/usr/lib/python3.10/asyncio/tasks.py", line 232, in __step
result = coro.send(None)
File "/home/mei/.local/lib/python3.10/site-packages/revChatGPT/revChatGPT.py", line 368, in get_cf_cookies
browser = await p.chromium.launch(headless=False)
File "/home/mei/.local/lib/python3.10/site-packages/playwright/async_api/_generated.py", line 12809, in launch
await self._impl_obj.launch(
File "/home/mei/.local/lib/python3.10/site-packages/playwright/_impl/_browser_type.py", line 93, in launch
Browser, from_channel(await self._channel.send("launch", params))
File "/home/mei/.local/lib/python3.10/site-packages/playwright/_impl/_connection.py", line 44, in send
return await self._connection.wrap_api_call(
File "/home/mei/.local/lib/python3.10/site-packages/playwright/_impl/_connection.py", line 419, in wrap_api_call
return await cb()
File "/home/mei/.local/lib/python3.10/site-packages/playwright/_impl/_connection.py", line 79, in inner_send
result = next(iter(done)).result()
File "/usr/lib/python3.10/asyncio/futures.py", line 201, in result
raise self._exception.with_traceback(self._exception_tb)
playwright._impl._api_types.Error: Executable doesn't exist at /home/mei/.cache/ms-playwright/chromium-1033/chrome-linux/chrome
╔════════════════════════════════════════════════════════════╗
║ Looks like Playwright was just installed or updated. ║
║ Please run the following command to download new browsers: ║
║ ║
║ playwright install ║
║ ║
║ <3 Playwright Team ║
╚════════════════════════════════════════════════════════════╝

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/mei/.local/lib/python3.10/site-packages/python_telegram_bot-20.0a6-py3.10.egg/telegram/ext/_application.py", line 1057, in process_update
await coroutine
File "/home/mei/.local/lib/python3.10/site-packages/python_telegram_bot-20.0a6-py3.10.egg/telegram/ext/_handler.py", line 143, in handle_update
return await self.callback(update, context)
File "/mnt/hdd/code/ChatGPTBot/main.py", line 128, in start
await update.message.reply_text(emojize(":sweat_drops:初始化失败! 原因: `{}` ".format(e)),
File "/home/mei/.local/lib/python3.10/site-packages/python_telegram_bot-20.0a6-py3.10.egg/telegram/_message.py", line 875, in reply_text
return await self.get_bot().send_message(
File "/home/mei/.local/lib/python3.10/site-packages/python_telegram_bot-20.0a6-py3.10.egg/telegram/ext/_extbot.py", line 2482, in send_message
return await super().send_message(
File "/home/mei/.local/lib/python3.10/site-packages/python_telegram_bot-20.0a6-py3.10.egg/telegram/_bot.py", line 313, in decorator
result = await func(*args, **kwargs) # skipcq: PYL-E1102
File "/home/mei/.local/lib/python3.10/site-packages/python_telegram_bot-20.0a6-py3.10.egg/telegram/_bot.py", line 734, in send_message
return await self._send_message( # type: ignore[retu
```
2022-12-12 15:23:33 +08:00
回复了 needpp 创建的主题 随想 😮‍💨 不知道大家为何要去抢药?我是这么认为的
@sampeng 病毒和细菌不一样,细菌能被抗生素杀死。截止 2022.12.12, 没有任何用于体内的药物能杀病毒,只能抑制病毒的发展,还是要靠自身的免疫力去杀死病毒。所以感冒药只是缓解感冒病毒带来的症状,并不能杀死病毒。
打开 F12 看,回复时间超过 1 分钟,就会出现 network error
2022-12-08 10:22:49 +08:00
回复了 xipuxiaoyehua 创建的主题 问与答 5000 块预算有什么可以提升生活幸福感的设备可供购买
贵司是外资吗?
2022-11-01 09:40:50 +08:00
回复了 LuminousKK 创建的主题 云计算 RustDesk 远程桌面服务端手动搭建,完美替代 Todesk
@jaleo 文档里面 -k 后面跟 _ ,不是公钥内容。我这样设置的,没问题。
2022-09-17 17:58:13 +08:00
回复了 frank1256 创建的主题 程序员 熟人开发商城小程序,怎么要价?
熟人的钱,不好挣。
2022-04-21 11:47:11 +08:00
回复了 luffy 创建的主题 Linux 还有人折腾 Linux 桌面嘛?
archlinux + kde + virtualbox(双向复制粘贴 + 磁盘共享) + win10 ltsc + 双显示器
2022-04-14 09:14:57 +08:00
回复了 liaotuo 创建的主题 深圳 深圳在哪里配眼镜性价比高 500 以内
珠宝=水贝, 电子产品=华强北, 眼镜=横岗
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   3255 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 88ms · UTC 12:09 · PVG 20:09 · LAX 04:09 · JFK 07:09
Developed with CodeLauncher
♥ Do have faith in what you're doing.