有大佬知道这个报错怎么处理吗,是自定义函数模块的问题吗

报错日志
Traceback (most recent call last):
File “”, line 18, in
File “/opt/py3/lib/python3.11/site-packages/diskcache/core.py”, line 796, in set
with self._transact(retry, filename) as (sql, cleanup):
File “/usr/local/lib/python3.11/contextlib.py”, line 137, in enter
return next(self.gen)
^^^^^^^^^^^^^^
File “/opt/py3/lib/python3.11/site-packages/diskcache/core.py”, line 730, in _transact
raise Timeout from None
diskcache.core.Timeout

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “”, line 1, in
File “”, line 21, in
File “/opt/py3/lib/python3.11/site-packages/diskcache/core.py”, line 499, in init
sql(query, (key, value))
File “/opt/py3/lib/python3.11/site-packages/diskcache/core.py”, line 666, in _execute_with_retry
return sql(statement, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
sqlite3.OperationalError: attempt to write a readonly database

什么样的自定义函数