【已完成】面板运行时发生错误
为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:系统版本:
问题描述:出错了,面板运行时发生错误!
相关截图(日志、错误):
出错了,面板运行时发生错误!TypeError: 'NoneType' object is not subscriptable
REQUEST_DATE: 2024-01-09 12:50:37 PAN_VERSION: 7.7.0OS_VERSION: CentOS7.6.1810 x86_64(Py3.7.9) REMOTE_ADDR: 171.104.223.161 REQUEST_URI: POST /plugin?action=get_soft_listREQUEST_FORM: {'p': '1', 'type': '0', 'tojs': 'soft.get_list', 'force': '1', 'query': ''}USER_AGENT: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 NetType/WIFI MicroMessenger/7.0.20.1781(0x6700143B) WindowsWechat(0x63090819) XWEB/8519 FlueTraceback (most recent call last):File "/www/server/panel/BTPanel/__init__.py", line 1640, in publicObject return run_exec().run(toObject, defs, get)File "/www/server/panel/BTPanel/__init__.py", line 1588, in run result = getattr(toObject,get.action)(get)File "class/panelPlugin.py", line 624, in get_soft_list softList = self.get_cloud_list(get)File "class/panelPlugin.py", line 323, in get_cloud_list softList['list'] = self.get_local_plugin(softList['list'])TypeError: 'NoneType' object is not subscriptable 您好,麻烦您到服务器命令行下执行命令截图出来看下:
history | grep .sh 谢花郎 发表于 2024-1-9 14:30
您好,麻烦您到服务器命令行下执行命令截图出来看下:
Last login: Tue Jan9 19:20:52 2024 from 47.96.60.214
发不了图片,只能发内容按您的代码在服务器
Welcome to Alibaba Cloud Elastic Compute Service !
# history | grep .sh
11history | grep .sh
# history | grep .sh
11history | grep .sh
# Last login: Tue Jan9 19:30:48 2024 from 127.0.0.1
Welcome to Alibaba Cloud Elastic Compute Service !
#
# history | grep .sh^V^V
10history | grep .sh
# ^C
# history | grep .sh
10history | grep .sh
11history | grep .sh
# history | grep .sh
10history | grep .sh
11history | grep .sh
#
雅来康 发表于 2024-1-9 19:44
您那边试试执行下面命令,下面命令是去除hosts绑定的操作:
sed -i "/bt.cn/d" /etc/hosts
如果操作后还是不行的话,您可以考虑升级到8.0.5版本使用。 您好,请问当前问题是否解决呢?如果当前问题还是未解决,您可以重新发帖反馈。
此帖子更改为已完成状态
页:
[1]