Forums

Error server log , please help

I have problem when suddenly server not working, i don't know why but i try reload AND it work normally.

please help me don't let it occur again. This is log on server:

`2021-08-04 11:06:53,917: OSError: write error

2021-08-04 11:07:07,952: Error running WSGI application

2021-08-04 11:07:07,959: Error running WSGI application

2021-08-04 11:07:08,015: Error running WSGI application

2021-08-04 11:07:08,059: AttributeError: 'NoneType' object has no attribute 'startswith'

2021-08-04 11:07:08,059: File "/var/www/ccpython1_eu_pythonanywhere_com_wsgi.py", line 123, in <module>

2021-08-04 11:07:08,059: from web101 import app as application

2021-08-04 11:07:08,059:

2021-08-04 11:07:08,059: File "./web101.py", line 1, in <module>

2021-08-04 11:07:08,059: from app import create_app

2021-08-04 11:07:08,060:

2021-08-04 11:07:08,060: File "./app/init.py", line 23, in <module>

2021-08-04 11:07:08,060: cache = Cache(directory=FULL_STATIC_CACHE_DIR)

2021-08-04 11:07:08,060:

2021-08-04 11:07:08,060: File "/home/ccpython1/.virtualenvs/web101/lib/python3.8/site-packages/diskcache/core.py", line 459, in init

2021-08-04 11:07:08,060: sql = self._sql_retry 2021-08-04 11:07:08,060: 2021-08-04 11:07:08,060: File "/home/ccpython1/.virtualenvs/web101/lib/python3.8/site-packages/diskcache/core.py", line 655, in _sql_retry

2021-08-04 11:07:08,060: sql = self._sql

2021-08-04 11:07:08,060:

2021-08-04 11:07:08,061: File "/home/ccpython1/.virtualenvs/web101/lib/python3.8/site-packages/diskcache/core.py", line 651, in _sql

2021-08-04 11:07:08,061: return self._con.execute

2021-08-04 11:07:08,061:

2021-08-04 11:07:08,061: File "/home/ccpython1/.virtualenvs/web101/lib/python3.8/site-packages/diskcache/core.py", line 644, in _con

2021-08-04 11:07:08,061: if key.startswith('sqlite_'):

2021-08-04 11:07:08,061: *********

2021-08-04 11:07:08,061: If you're seeing an import error and don't know why,

2021-08-04 11:07:08,061: we have a dedicated help page to help you debug:

2021-08-04 11:07:08,061: https://help.pythonanywhere.com/pages/DebuggingImportError/

2021-08-04 11:07:08,062: *********`

It's some problem with diskcache. You need to look there in their docs and issues.