724运维节特惠,3年企业版2399元,立省600元!查看活动
当前位置:论坛首页 > Linux面板 > 求助

出错了,面板运行时发生错误!(点击修复后也无效)

发表在 Linux面板5 天前 [复制链接] 1 37

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:[backcolor=rgba(255, 255, 255, 0.7)]v11.8.1

系统版本:CentOS 7.8.2003 x86_64(Py3.7.9)

问题描述:
  1. <div>
  2.     <h3>出错了,面板运行时发生错误!</h3>
  3.     <div style="margin-bottom: 15px;margin-top: 15px;color: red;">
  4.         <h4 style="font-size: none;">AttributeError: module 'cryptography.hazmat.bindings._rust.openssl' has no attribute 'hashes'</h4>
  5.     </div>
  6.     <pre style="height:112px;word-wrap: break-word;white-space: pre-wrap;margin: 0 0 10px">REQUEST_DATE: 2026-07-18 11:15:55
  7.   VERSION: CentOS  7.8.2003 x86_64(Py3.7.9) - 11.8.1
  8. REMOTE_ADDR: 39.84.113.72
  9. REQUEST_URI: POST /panel/public/get_public_config?
  10. REQUEST_FORM: {}
  11.   USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36</pre>
  12.     <pre style="height:370px;word-wrap: break-word;white-space: pre-wrap;margin: 0 0 0px">Traceback (most recent call last):
  13.   File "/home/server/panel/BTPanel/__init__.py", line 2577, in publicObject
  14.     res = run_obj.run(toObject, defs, get)
  15.   File "/home/server/panel/BTPanel/__init__.py", line 2523, in run
  16.     result = getattr(toObject, get.action)(get)
  17.   File "/www/server/panel/class/panelController.py", line 81, in model
  18.     result = PluginLoader.module_run(module_name,def_name,pdata)
  19.   File "/www/server/panel/class/panelModel/publicModel.py", line 112, in get_public_config
  20.     data = _config_obj.get_config(args)
  21.   File "class/config.py", line 2070, in get_config
  22.     from password import password
  23.   File "/www/server/panel/class/password.py", line 20, in <module>
  24.     import public,data,database,config
  25.   File "/www/server/panel/class/database.py", line 26, in <module>
  26.     import db_mysql
  27.   File "/www/server/panel/class/db_mysql.py", line 16, in <module>
  28.     import pymysql
  29.   File "/www/server/panel/pyenv/lib/python3.7/site-packages/pymysql/__init__.py", line 59, in <module>
  30.     from . import connections  # noqa: E402
  31.   File "/www/server/panel/pyenv/lib/python3.7/site-packages/pymysql/connections.py", line 13, in <module>
  32.     from . import _auth
  33.   File "/www/server/panel/pyenv/lib/python3.7/site-packages/pymysql/_auth.py", line 9, in <module>
  34.     from cryptography.hazmat.primitives import serialization, hashes
  35.   File "/www/server/panel/pyenv/lib/python3.7/site-packages/cryptography/hazmat/primitives/serialization/__init__.py", line 7, in <module>
  36.     from cryptography.hazmat.primitives._serialization import (
  37.   File "/www/server/panel/pyenv/lib/python3.7/site-packages/cryptography/hazmat/primitives/_serialization.py", line 10, in <module>
  38.     from cryptography.hazmat.primitives.hashes import HashAlgorithm
  39.   File "/www/server/panel/pyenv/lib/python3.7/site-packages/cryptography/hazmat/primitives/hashes.py", line 89, in <module>
  40.     Hash = rust_openssl.hashes.Hash
  41. AttributeError: module 'cryptography.hazmat.bindings._rust.openssl' has no attribute 'hashes'</pre>
复制代码
使用道具 举报 只看该作者 回复
发表于 昨天 14:17 | 显示全部楼层
可以联系客服看下,客服咨询入口:https://docs.bt.cn/wechat-service
操作方式:复制链接在微信打开,即可在线咨询客服,工作人员会及时为大家解答处理。
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术分析

工作时间:09:00至18:30

快速回复 返回顶部 返回列表