root@mail ~]# /www/server/panel/pyenv/bin/python /root/debug_mail.py
/www/server/panel/pyenv/lib/python3.7/site-packages/jwt/utils.py:7: CryptographyDeprecationWarning: Python 3.7 is no longer supported by the Python core team and support for it is deprecated in cryptography. The next release of cryptography will remove support for Python 3.7.
from cryptography.hazmat.primitives.asymmetric.ec import EllipticCurve
--- [Final Run] 准备调用 enable_catchall ---
!!! [Final Run] 捕获到异常 !!!
异常类型: <class 'public.PanelError'>
异常信息: 面板运行时发生错误: 数据库插入出错:error: database is locked
Traceback (most recent call last):
File "/www/server/panel/class/db.py", line 420, in add
result = self.__DB_CONN.execute(sql,self.__to_tuple(param))
sqlite3.OperationalError: database is locked
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/debug_mail.py", line 21, in <module>
result = plugin_instance.enable_catchall(get)
File "/www/server/panel/plugin/mail_sys/mail_sys_main.py", line 3449, in enable_catchall
create_time, create_time, '1'))
File "/www/server/panel/class/db.py", line 427, in add
raise public.PanelError("数据库插入出错:" + "error: " + str(ex))
public.PanelError: 面板运行时发生错误: 数据库插入出错:error: database is locked
--- [Final Run] 调试结束 -
邮局设置catchll的时候数据库被锁无法设置是为什么呢 |