宝塔 - 札记 - Traceback (most recent call last): File “class/pluginAuth.py“, line 137, in panel.cla...


宝塔 - 目录


宝塔 - 札记 - Traceback 'most recent call last': File "class/pluginAuth.py", line 137, in panel.cla...


一、问题描述


1. 现象

在这里插入图片描述

Traceback (most recent call last):
  File "class/pluginAuth.py", line 137, in panel.class.pluginAuth.Plugin.get_plugin_list
  File "/www/server/panel/pyenv/lib/python3.7/json/__init__.py", line 343, in loads
    s = s.decode(detect_encoding(s), 'surrogatepass')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe5 in position 22355: invalid continuation byte

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "class/panelSSL.py", line 1046, in GetAuthToken
    public.flush_plugin_list()
  File "class/public.py", line 3946, in flush_plugin_list
    Plugin(False).get_plugin_list(True)
  File "class/pluginAuth.py", line 142, in panel.class.pluginAuth.Plugin.get_plugin_list
public.PanelError: 面板运行时发生错误: 解析软件列表发生错误,已尝试自动修复,请刷新页面重试!

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/www/server/panel/BTPanel/__init__.py", line 1711, in publicObject
    return run_exec().run(toObject, defs, get)
  File "/www/server/panel/BTPanel/__init__.py", line 1659, in run
    result = getattr(toObject,get.action)(get)
  File "class/panelSSL.py", line 1051, in GetAuthToken
    raise public.error_conn_cloud(str(ex))
TypeError: exceptions must derive from BaseException

2. 原因

宝塔 paramiko 插件有问题


二、解决方案


cd /www/server/panel/pyenv/bin
./pip uninstall paramiko
./pip install paramiko
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

qumy97

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值