V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  tangneo  ›  全部回复第 1 页 / 共 1 页
回复总数  10
2022-12-14 10:29:26 +08:00
回复了 sleeplessy 创建的主题 OpenAI 一个简单且很糙的 ChatGPT TG Bot
有人成功安装吗?所有的软件都已经是最新的了,初始化报错。有成功的分享下经验吧
2022-12-14 08:48:44 +08:00
回复了 sleeplessy 创建的主题 OpenAI 一个简单且很糙的 ChatGPT TG Bot
@sleeplessy 大佬,我重新下载后安装了一遍。还是报错初始化失败呢。
2022-12-13 21:36:12 +08:00
回复了 sleeplessy 创建的主题 OpenAI 一个简单且很糙的 ChatGPT TG Bot
@sleeplessy 大佬,我那个初始化问题,暂时无解吗?
2022-12-13 11:04:34 +08:00
回复了 sleeplessy 创建的主题 OpenAI 一个简单且很糙的 ChatGPT TG Bot
@sleeplessy 好的,大佬
2022-12-13 10:49:17 +08:00
回复了 sleeplessy 创建的主题 OpenAI 一个简单且很糙的 ChatGPT TG Bot
@sleeplessy 不知道哪里出问题了,还是报一样的错。我把 config.toml 里的代理关了,不会是这里的问题吧?
2022-12-13 10:30:30 +08:00
回复了 sleeplessy 创建的主题 OpenAI 一个简单且很糙的 ChatGPT TG Bot
@sleeplessy 重新获取的 session-token, cf_clearance 还是报一样的错误。IP 地址没问题,查了一下。
2022-12-13 10:10:44 +08:00
回复了 sleeplessy 创建的主题 OpenAI 一个简单且很糙的 ChatGPT TG Bot
大佬,这个问题该如何处理?

正在初始化……
An exception was raised while handling an update
Traceback (most recent call last):
File "/root/chatgpt/ChatGPTBot-master/main.py", line 123, in start
chatbot = Chatbot(config, conversation_id=None)
File "/root/.local/lib/python3.10/site-packages/revChatGPT-0.0.38.8-py3.10.egg/revChatGPT/revChatGPT.py", line 96, in __init__
self.refresh_session()
File "/root/.local/lib/python3.10/site-packages/revChatGPT-0.0.38.8-py3.10.egg/revChatGPT/revChatGPT.py", line 308, in refresh_session
raise Exception("Wrong response code")
Exception: Wrong response code

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/root/.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 "/root/.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 "/root/chatgpt/ChatGPTBot-master/main.py", line 127, in start
await update.message.reply_text(emojize(":sweat_drops:初始化失败! 原因: `{}` ".format(e)),
File "/root/.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 "/root/.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 "/root/.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 "/root/.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[return-value]
File "/root/.local/lib/python3.10/site-packages/python_telegram_bot-20.0a6-py3.10.egg/telegram/ext/_extbot.py", line 485, in _send_message
result = await super()._send_message(
File "/root/.local/lib/python3.10/site-packages/python_telegram_bot-20.0a6-py3.10.egg/telegram/_bot.py", line 486, in _send_message
result = await self._post(
File "/root/.local/lib/python3.10/site-packages/python_telegram_bot-20.0a6-py3.10.egg/telegram/_bot.py", line 395, in _post
return await self._do_post(
File "/root/.local/lib/python3.10/site-packages/python_telegram_bot-20.0a6-py3.10.egg/telegram/ext/_extbot.py", line 306, in _do_post
return await super()._do_post(
File "/root/.local/lib/python3.10/site-packages/python_telegram_bot-20.0a6-py3.10.egg/telegram/_bot.py", line 426, in _do_post
return await request.post(
File "/root/.local/lib/python3.10/site-packages/python_telegram_bot-20.0a6-py3.10.egg/telegram/request/_baserequest.py", line 167, in post
result = await self._request_wrapper(
File "/root/.local/lib/python3.10/site-packages/python_telegram_bot-20.0a6-py3.10.egg/telegram/request/_baserequest.py", line 330, in _request_wrapper
raise BadRequest(message)
telegram.error.BadRequest: Can't parse entities: can't find end of italic entity at byte offset 6
2022-08-26 19:44:41 +08:00
回复了 DarinJi 创建的主题 Google Google Voice 到期,寻求其他解决方案。
@memeda123 一直在用。哪里说的只发短信不是活跃用户。
2022-08-26 19:18:38 +08:00
回复了 DarinJi 创建的主题 Google Google Voice 到期,寻求其他解决方案。
用 ifttt 保号,自行搜索。
2022-04-20 18:57:54 +08:00
回复了 0Shaka 创建的主题 Telegram 有人在 Telegram 写博客吗?
@0Shaka 如何使用电报写博客,能具体指导一下吗?还有如何导出文字图片,视频语音。👍👍👍👍
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   918 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 13ms · UTC 21:38 · PVG 05:38 · LAX 13:38 · JFK 16:38
Developed with CodeLauncher
♥ Do have faith in what you're doing.