AttributeError at /komikindo/
'NoneType' object has no attribute 'find_all'
| Request Method: |
GET |
| http://127.0.0.1:8000/komikindo/ |
|
| 4.0.4 |
|
| AttributeError |
|
| 'NoneType' object has no attribute 'find_all' |
|
| /home/kato/Komikato_py/controllers/komikindo.py, line 31, in home |
|
| /usr/bin/python3 |
|
| 3.10.6 |
|
| ['/home/kato/Komikato_py', '/usr/lib/python310.zip', '/usr/lib/python3.10', '/usr/lib/python3.10/lib-dynload', '/home/kato/.local/lib/python3.10/site-packages', '/usr/local/lib/python3.10/dist-packages', '/usr/lib/python3/dist-packages'] |
|
| Mon, 26 Jun 2023 12:49:00 +0000 |
|
You’re seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard page generated by the handler for this status code.
AttributeError at /komikindo/
'NoneType' object has no attribute 'find_all'
Request Method: GET
Request URL: http://127.0.0.1:8000/komikindo/
Django Version: 4.0.4
Exception Type: AttributeError
Exception Value:
'NoneType' object has no attribute 'find_all'
Exception Location: /home/kato/Komikato_py/controllers/komikindo.py, line 31, in home
Python Executable: /usr/bin/python3
Python Version: 3.10.6
Python Path:
['/home/kato/Komikato_py',
'/usr/lib/python310.zip',
'/usr/lib/python3.10',
'/usr/lib/python3.10/lib-dynload',
'/home/kato/.local/lib/python3.10/site-packages',
'/usr/local/lib/python3.10/dist-packages',
'/usr/lib/python3/dist-packages']
Server time: Mon, 26 Jun 2023 12:49:00 +0000
Traceback [Switch to copy-and-paste view](https://komi.katowproject.app/komikindo/#)
/home/kato/.local/lib/python3.10/site-packages/django/core/handlers/exception.py, line 55, in inner
response = get_response(request) …
Local vars
/home/kato/.local/lib/python3.10/site-packages/django/core/handlers/base.py, line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs) …
Local vars
/home/kato/Komikato_py/routers/web/komikindo.py, line 7, in index
mangas = komikindo.home(request) …
Local vars
/home/kato/Komikato_py/controllers/komikindo.py, line 31, in home
mangas_menu = soup.find(id="menu-second-menu").find_all("li") …
Local vars
AttributeError at /komikindo/
You’re seeing this error because you have
DEBUG = Truein your Django settings file. Change that toFalse, and Django will display a standard page generated by the handler for this status code.