==========================================================================================
★开始备份[2024-09-05 18:18:28]
==========================================================================================
Traceback (most recent call last):
File "class/databaseModel/mongodbModel.py", line 34, in <module>
import pymongo
File "/www/server/panel/pyenv/lib/python3.7/site-packages/pymongo/__init__.py", line 87, in <module>
from pymongo.collection import ReturnDocument
File "/www/server/panel/pyenv/lib/python3.7/site-packages/pymongo/collection.py", line 29, in <module>
from pymongo import (common,
File "/www/server/panel/pyenv/lib/python3.7/site-packages/pymongo/common.py", line 35, in <module>
from pymongo.ssl_support import (validate_cert_reqs,
File "/www/server/panel/pyenv/lib/python3.7/site-packages/pymongo/ssl_support.py", line 27, in <module>
import pymongo.pyopenssl_context as _ssl
File "/www/server/panel/pyenv/lib/python3.7/site-packages/pymongo/pyopenssl_context.py", line 27, in <module>
from OpenSSL import SSL as _SSL
File "/www/server/panel/pyenv/lib/python3.7/site-packages/OpenSSL/__init__.py", line 8, in <module>
from OpenSSL import SSL, crypto
File "/www/server/panel/pyenv/lib/python3.7/site-packages/OpenSSL/SSL.py", line 34, in <module>
from OpenSSL.crypto import (
File "/www/server/panel/pyenv/lib/python3.7/site-packages/OpenSSL/crypto.py", line 950, in <module>
name="X509Extension",
TypeError: deprecated() got an unexpected keyword argument 'name'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/www/server/panel/script/backup.py", line 58, in <module>
backup.backupDatabase(sys.argv[2], sys.argv[3], echo_id)
File "/www/server/panel/script/backup.py", line 23, in backupDatabase
self.backup_database(name, save=count, echo_id=echo_id)
File "class/panelBackup.py", line 845, in backup_database
status, msg = func_backup_database(database, args)
File "class/panelBackup.py", line 1133, in mongodb_backup_database
from databaseModel.mongodbModel import panelMongoDB
File "class/databaseModel/mongodbModel.py", line 38, in <module>
import pymongo
File "/www/server/panel/pyenv/lib/python3.7/site-packages/pymongo/__init__.py", line 87, in <module>
from pymongo.collection import ReturnDocument
File "/www/server/panel/pyenv/lib/python3.7/site-packages/pymongo/collection.py", line 29, in <module>
from pymongo import (common,
File "/www/server/panel/pyenv/lib/python3.7/site-packages/pymongo/common.py", line 35, in <module>
from pymongo.ssl_support import (validate_cert_reqs,
File "/www/server/panel/pyenv/lib/python3.7/site-packages/pymongo/ssl_support.py", line 27, in <module>
import pymongo.pyopenssl_context as _ssl
File "/www/server/panel/pyenv/lib/python3.7/site-packages/pymongo/pyopenssl_context.py", line 27, in <module>
from OpenSSL import SSL as _SSL
File "/www/server/panel/pyenv/lib/python3.7/site-packages/OpenSSL/__init__.py", line 8, in <module>
from OpenSSL import SSL, crypto
File "/www/server/panel/pyenv/lib/python3.7/site-packages/OpenSSL/SSL.py", line 34, in <module>
from OpenSSL.crypto import (
File "/www/server/panel/pyenv/lib/python3.7/site-packages/OpenSSL/crypto.py", line 950, in <module>
name="X509Extension",
TypeError: deprecated() got an unexpected keyword argument 'name'
|
-
|