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

KeyError at /blog/essential-recon-tools/ #1

Open
cyberssss opened this issue Jul 10, 2022 · 0 comments
Open

KeyError at /blog/essential-recon-tools/ #1

cyberssss opened this issue Jul 10, 2022 · 0 comments

Comments

@cyberssss
Copy link

KeyError at /blog/essential-recon-tools/

'small_thumbnail'
Request Method: GET
http://127.0.0.1:8003/blog/essential-recon-tools/
3.2.4
KeyError
'small_thumbnail'
C:\Users\CyberAz\hackbotone-website\app\views.py, line 99, in blogDetails
C:\Users\CyberAz\AppData\Local\Programs\Python\Python310\python.exe
3.10.5
['C:\Users\CyberAz\hackbotone-website', 'C:\Users\CyberAz\AppData\Local\Programs\Python\Python310\python310.zip', 'C:\Users\CyberAz\AppData\Local\Programs\Python\Python310\DLLs', 'C:\Users\CyberAz\AppData\Local\Programs\Python\Python310\lib', 'C:\Users\CyberAz\AppData\Local\Programs\Python\Python310', 'C:\Users\CyberAz\AppData\Roaming\Python\Python310\site-packages', 'C:\Users\CyberAz\AppData\Local\Programs\Python\Python310\lib\site-packages', 'C:\Users\CyberAz\AppData\Local\Programs\Python\Python310\lib\site-packages\videodownloader-2.0.0-py3.10.egg', 'C:\Users\CyberAz\AppData\Local\Programs\Python\Python310\lib\site-packages\pytube-12.1.0-py3.10.egg', 'C:\Users\CyberAz\AppData\Local\Programs\Python\Python310\lib\site-packages\win32', 'C:\Users\CyberAz\AppData\Local\Programs\Python\Python310\lib\site-packages\win32\lib', 'C:\Users\CyberAz\AppData\Local\Programs\Python\Python310\lib\site-packages\Pythonwin']
Sun, 10 Jul 2022 10:11:25 +0000

Traceback Switch to copy-and-paste view

  • C:\Users\CyberAz\AppData\Local\Programs\Python\Python310\lib\site-packages\django\core\handlers\exception.py, line 47, in inner
    1.                 response = get_response(request)
  • C:\Users\CyberAz\AppData\Local\Programs\Python\Python310\lib\site-packages\django\core\handlers\base.py, line 181, in _get_response
    1.         if response is None:
    2.             wrapped_callback = self.make_view_atomic(callback)
    3.             # If it is an asynchronous view, run it in a subthread.
    4.             if asyncio.iscoroutinefunction(wrapped_callback):
    5.                 wrapped_callback = async_to_sync(wrapped_callback)
    6.             try:
    1.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)
    1.             except Exception as e:
    2.                 response = self.process_exception_by_middleware(e, request)
    3.                 if response is None:
    4.                     raise
    5.         # Complain if the view returned None (a common error).
  • C:\Users\CyberAz\hackbotone-website\app\views.py, line 99, in blogDetails
    1.             'small_thumbnail': blog['small_thumbnail'],
KeyError at /blog/essential-recon-tools/ 'small_thumbnail' Request Method: GET Request URL: http://127.0.0.1:8003/blog/essential-recon-tools/ Django Version: 3.2.4 Exception Type: KeyError Exception Value: 'small_thumbnail' Exception Location: C:\Users\CyberAz\hackbotone-website\app\views.py, line 99, in blogDetails Python Executable: C:\Users\CyberAz\AppData\Local\Programs\Python\Python310\python.exe Python Version: 3.10.5 Python Path: ['C:\\Users\\CyberAz\\hackbotone-website', 'C:\\Users\\CyberAz\\AppData\\Local\\Programs\\Python\\Python310\\python310.zip', 'C:\\Users\\CyberAz\\AppData\\Local\\Programs\\Python\\Python310\\DLLs', 'C:\\Users\\CyberAz\\AppData\\Local\\Programs\\Python\\Python310\\lib', 'C:\\Users\\CyberAz\\AppData\\Local\\Programs\\Python\\Python310', 'C:\\Users\\CyberAz\\AppData\\Roaming\\Python\\Python310\\site-packages', 'C:\\Users\\CyberAz\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages', 'C:\\Users\\CyberAz\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\videodownloader-2.0.0-py3.10.egg', 'C:\\Users\\CyberAz\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\pytube-12.1.0-py3.10.egg', 'C:\\Users\\CyberAz\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\win32', 'C:\\Users\\CyberAz\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\win32\\lib', 'C:\\Users\\CyberAz\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\Pythonwin'] Server time: Sun, 10 Jul 2022 10:11:25 +0000 Traceback [Switch to copy-and-paste view](http://127.0.0.1:8003/blog/essential-recon-tools/#) C:\Users\CyberAz\AppData\Local\Programs\Python\Python310\lib\site-packages\django\core\handlers\exception.py, line 47, in inner response = get_response(request) … [▶ Local vars](http://127.0.0.1:8003/blog/essential-recon-tools/#) C:\Users\CyberAz\AppData\Local\Programs\Python\Python310\lib\site-packages\django\core\handlers\base.py, line 181, in _get_response if response is None: wrapped_callback = self.make_view_atomic(callback) # If it is an asynchronous view, run it in a subthread. if asyncio.iscoroutinefunction(wrapped_callback): wrapped_callback = async_to_sync(wrapped_callback) try: response = wrapped_callback(request, *callback_args, **callback_kwargs) … except Exception as e: response = self.process_exception_by_middleware(e, request) if response is None: raise # Complain if the view returned None (a common error). [▶ Local vars](http://127.0.0.1:8003/blog/essential-recon-tools/#) C:\Users\CyberAz\hackbotone-website\app\views.py, line 99, in blogDetails 'small_thumbnail': blog['small_thumbnail'], … [▶ Local vars](http://127.0.0.1:8003/blog/essential-recon-tools/#)
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