为了能快速了解并处理您的问题,请提供以下基础信息:
问题描述:自动备份的文件没办法下载,也不是全部不能下载,个别网站的不行,另外自动备份的时候会同时备份两个文件,
相关截图(日志、错误): 出错了,面板运行时发生错误!AttributeError: module 'public' has no attribute 'package_path_append'
REQUEST_DATE: 2023-07-21 10:59:16 PAN_VERSION: 7.9.0 OS_VERSION: Windows Server 2012 R2 Datacenter (build 9600) x64 (Py3.8.6) REMOTE_ADDR: 61.131.17.232 REQUEST_URI: GET /download?filename=bt_backup/site/xxxx.com/Web_xxxx.com_20230719_074223.zip|qiniu&name=Web_njyzygd.com_20230719_074223.zipREQUEST_FORM: {} USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15Traceback (most recent call last): File "C:\Program Files\python\lib\site-packages\flask\app.py", line 2447, in wsgi_app response = self.full_dispatch_request() File "C:\Program Files\python\lib\site-packages\flask\app.py", line 1952, in full_dispatch_request rv = self.handle_user_exception(e) File "C:\Program Files\python\lib\site-packages\flask\app.py", line 1821, in handle_user_exception reraise(exc_type, exc_value, tb) File "C:\Program Files\python\lib\site-packages\flask\_compat.py", line 39, in reraise raise value File "C:\Program Files\python\lib\site-packages\flask\app.py", line 1950, in full_dispatch_request rv = self.dispatch_request() File "C:\Program Files\python\lib\site-packages\flask\app.py", line 1936, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "C:\BtSoft\panel\BTPanel\__init__.py", line 1342, in download if filename in ['alioss','qiniu','upyun','txcos','ftp','msonedrive','gcloud_storage','gdrive','aws_s3']: return panel_cloud(False) File "C:\BtSoft\panel\BTPanel\__init__.py", line 1479, in panel_cloud public.package_path_append('plugin/' + plugin_name)AttributeError: module 'public' has no attribute 'package_path_append'
|
-
-
|