katowproject / komikato_py Goto Github PK
View Code? Open in Web Editor NEWpython version with django
Home Page: https://komi.kato-rest.us/
python version with django
Home Page: https://komi.kato-rest.us/
'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.
Internal Server Error: /komikindo/komik/king-mma/
Traceback (most recent call last):
File "/home/runner/komikatopy-5/venv/lib/python3.10/site-packages/django/core/handlers/exception.py", line 56, in inner
response = get_response(request)
File "/home/runner/komikatopy-5/venv/lib/python3.10/site-packages/django/core/handlers/base.py", line 197, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/runner/komikatopy-5/routers/web/komikindo.py", line 28, in komik_detail
komik_detail = komikindo.komik_detail(request, endpoint)
File "/home/runner/komikatopy-5/controllers/komikindo.py", line 209, in komik_detail
obj["alter"] = manga.find(class="spe").find_all("span")[0].text.split(": ")[1].split(", ")
IndexError: list index out of range
[13/Mar/2023 07:48:50] "GET /komikindo/komik/king-mma/ HTTP/1.1" 500 102779
Not Found: /favicon.ico
[13/Mar/2023 07:48:51] "GET /favicon.ico HTTP/1.1" 404 3397
Update link mirror_stream_link url
"link": {
"url": "https://komikindo.pw/komik/oppai-momu-hoho-wakatta-wa/",
"endpoint": "https://komikindo.pw/komik/oppai-momu-hoho-wakatta-wa/"
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.