You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
D:\Program\QChatGPT>python main.py
Traceback (most recent call last):
File "D:\Program\QChatGPT\main.py", line 57, in
from pkg.utils.log import init_runtime_log_file, reset_logging
File "D:\Program\QChatGPT\pkg\utils\log.py", line 6, in
from . import context
File "D:\Program\QChatGPT\pkg\utils\context.py", line 8, in
from ..qqbot import manager as qqbot_mgr
File "D:\Program\QChatGPT\pkg\qqbot\manager.py", line 12, in
from ..qqbot import process as processor
File "D:\Program\QChatGPT\pkg\qqbot\process.py", line 16, in
from ..qqbot import command, message
File "D:\Program\QChatGPT\pkg\qqbot\command.py", line 4, in
from ..qqbot.cmds import aamgr as cmdmgr
File "D:\Program\QChatGPT\pkg\qqbot\cmds\aamgr.py", line 7, in
import tips as tips_custom
File "D:\Program\QChatGPT\tips.py", line 1, in
import config
File "D:\Program\QChatGPT\config.py", line 73
"reverse_proxy": https://one.caifree.com/v1
^
SyntaxError: invalid syntax
clash
D:\Program\QChatGPT>python main.py
Traceback (most recent call last):
File "D:\Program\QChatGPT\main.py", line 57, in
from pkg.utils.log import init_runtime_log_file, reset_logging
File "D:\Program\QChatGPT\pkg\utils\log.py", line 6, in
from . import context
File "D:\Program\QChatGPT\pkg\utils\context.py", line 8, in
from ..qqbot import manager as qqbot_mgr
File "D:\Program\QChatGPT\pkg\qqbot\manager.py", line 12, in
from ..qqbot import process as processor
File "D:\Program\QChatGPT\pkg\qqbot\process.py", line 16, in
from ..qqbot import command, message
File "D:\Program\QChatGPT\pkg\qqbot\command.py", line 4, in
from ..qqbot.cmds import aamgr as cmdmgr
File "D:\Program\QChatGPT\pkg\qqbot\cmds\aamgr.py", line 7, in
import tips as tips_custom
File "D:\Program\QChatGPT\tips.py", line 1, in
import config
File "D:\Program\QChatGPT\config.py", line 72
"http_proxy": http://127.0.0.1:7890,
^
SyntaxError: invalid syntax
腾讯云函数
D:\Program\QChatGPT>python main.py
Traceback (most recent call last):
File "D:\Program\QChatGPT\main.py", line 57, in
from pkg.utils.log import init_runtime_log_file, reset_logging
File "D:\Program\QChatGPT\pkg\utils\log.py", line 6, in
from . import context
File "D:\Program\QChatGPT\pkg\utils\context.py", line 8, in
from ..qqbot import manager as qqbot_mgr
File "D:\Program\QChatGPT\pkg\qqbot\manager.py", line 12, in
from ..qqbot import process as processor
File "D:\Program\QChatGPT\pkg\qqbot\process.py", line 16, in
from ..qqbot import command, message
File "D:\Program\QChatGPT\pkg\qqbot\command.py", line 4, in
from ..qqbot.cmds import aamgr as cmdmgr
File "D:\Program\QChatGPT\pkg\qqbot\cmds\aamgr.py", line 7, in
import tips as tips_custom
File "D:\Program\QChatGPT\tips.py", line 1, in
import config
File "D:\Program\QChatGPT\config.py", line 73
"reverse_proxy": https://service-hgbpvnnu-1310799201.hk.tencentapigw.cn/v1
^
SyntaxError: invalid decimal literal
启用的插件
无插件
The text was updated successfully, but these errors were encountered:
部署方式
手动部署
登录框架
go-cqhttp
系统环境
win10专业版 位于大陆
Python环境
3.10
QChatGPT版本
2.6.10
异常情况
在config.py中,无论是用反向代理(oneapi,腾讯云函数)还是正向代理(clash)都报错SyntaxError: invalid syntax
日志信息
oneapi
D:\Program\QChatGPT>python main.py
Traceback (most recent call last):
File "D:\Program\QChatGPT\main.py", line 57, in
from pkg.utils.log import init_runtime_log_file, reset_logging
File "D:\Program\QChatGPT\pkg\utils\log.py", line 6, in
from . import context
File "D:\Program\QChatGPT\pkg\utils\context.py", line 8, in
from ..qqbot import manager as qqbot_mgr
File "D:\Program\QChatGPT\pkg\qqbot\manager.py", line 12, in
from ..qqbot import process as processor
File "D:\Program\QChatGPT\pkg\qqbot\process.py", line 16, in
from ..qqbot import command, message
File "D:\Program\QChatGPT\pkg\qqbot\command.py", line 4, in
from ..qqbot.cmds import aamgr as cmdmgr
File "D:\Program\QChatGPT\pkg\qqbot\cmds\aamgr.py", line 7, in
import tips as tips_custom
File "D:\Program\QChatGPT\tips.py", line 1, in
import config
File "D:\Program\QChatGPT\config.py", line 73
"reverse_proxy": https://one.caifree.com/v1
^
SyntaxError: invalid syntax
clash
D:\Program\QChatGPT>python main.py
Traceback (most recent call last):
File "D:\Program\QChatGPT\main.py", line 57, in
from pkg.utils.log import init_runtime_log_file, reset_logging
File "D:\Program\QChatGPT\pkg\utils\log.py", line 6, in
from . import context
File "D:\Program\QChatGPT\pkg\utils\context.py", line 8, in
from ..qqbot import manager as qqbot_mgr
File "D:\Program\QChatGPT\pkg\qqbot\manager.py", line 12, in
from ..qqbot import process as processor
File "D:\Program\QChatGPT\pkg\qqbot\process.py", line 16, in
from ..qqbot import command, message
File "D:\Program\QChatGPT\pkg\qqbot\command.py", line 4, in
from ..qqbot.cmds import aamgr as cmdmgr
File "D:\Program\QChatGPT\pkg\qqbot\cmds\aamgr.py", line 7, in
import tips as tips_custom
File "D:\Program\QChatGPT\tips.py", line 1, in
import config
File "D:\Program\QChatGPT\config.py", line 72
"http_proxy": http://127.0.0.1:7890,
^
SyntaxError: invalid syntax
腾讯云函数
D:\Program\QChatGPT>python main.py
Traceback (most recent call last):
File "D:\Program\QChatGPT\main.py", line 57, in
from pkg.utils.log import init_runtime_log_file, reset_logging
File "D:\Program\QChatGPT\pkg\utils\log.py", line 6, in
from . import context
File "D:\Program\QChatGPT\pkg\utils\context.py", line 8, in
from ..qqbot import manager as qqbot_mgr
File "D:\Program\QChatGPT\pkg\qqbot\manager.py", line 12, in
from ..qqbot import process as processor
File "D:\Program\QChatGPT\pkg\qqbot\process.py", line 16, in
from ..qqbot import command, message
File "D:\Program\QChatGPT\pkg\qqbot\command.py", line 4, in
from ..qqbot.cmds import aamgr as cmdmgr
File "D:\Program\QChatGPT\pkg\qqbot\cmds\aamgr.py", line 7, in
import tips as tips_custom
File "D:\Program\QChatGPT\tips.py", line 1, in
import config
File "D:\Program\QChatGPT\config.py", line 73
"reverse_proxy": https://service-hgbpvnnu-1310799201.hk.tencentapigw.cn/v1
^
SyntaxError: invalid decimal literal
启用的插件
无插件
The text was updated successfully, but these errors were encountered: