Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error #5

Open
Yuri-Neko opened this issue Jun 26, 2023 · 0 comments
Open

error #5

Yuri-Neko opened this issue Jun 26, 2023 · 0 comments

Comments

@Yuri-Neko
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant