Pycharm 2019.2 debugger crash

I installed pycharm professional on my windows machine. I created a new django project. I also did all the  required configuration. When i click on debug and run it gives and error and i am unable to fix it. If any one faced the same issue and can help me resolving it. 

STACK TRACE

 

"C:\Program Files\JetBrains\PyCharm 2019.2\bin\runnerw64.exe" "C:\Users\Haider Khan\PycharmProjects\hypernet_new\hypernetV2_backend\venv\Scripts\python.exe" "C:\Program Files\JetBrains\PyCharm 2019.2\helpers\pydev\pydevd.py" --multiproc --qt-support=auto --client 127.0.0.1 --port 62363 --file "C:/Users/Haider Khan/PycharmProjects/hypernet_new/hypernetV2_backend/manage.py" runserver 0.0.0.0:8000
pydev debugger: process 1004 is connecting

Connected to pydev debugger (build 192.5728.105)
pydev debugger: process 4604 is connecting

Watching for file changes with StatReloader
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "_pydevd_bundle\pydevd_cython_win32_36_64.pyx", line 1056, in _pydevd_bundle.pydevd_cython_win32_36_64.fix_top_level_trace_and_get_trace_func
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\ntpath.py", line 235, in basename
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\ntpath.py", line 204, in split
SystemError: <built-in function fspath> returned a result with an error set
Exception ignored in: '_pydevd_frame_eval.pydevd_frame_evaluator_win32_36_64.get_bytecode_while_frame_eval'
Traceback (most recent call last):
File "_pydevd_bundle\pydevd_cython_win32_36_64.pyx", line 1056, in _pydevd_bundle.pydevd_cython_win32_36_64.fix_top_level_trace_and_get_trace_func
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\ntpath.py", line 235, in basename
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\ntpath.py", line 204, in split
SystemError: <built-in function fspath> returned a result with an error set
Traceback (most recent call last):
File "C:\Program Files\JetBrains\PyCharm 2019.2\helpers\pydev\_pydev_bundle\pydev_monkey.py", line 729, in __call__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\threading.py", line 884, in _bootstrap
SystemError: error return without exception set

During handling of the above exception, another exception occurred:

SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "_pydevd_frame_eval\pydevd_frame_evaluator_win32_36_64.pyx", line 191, in _pydevd_frame_eval.pydevd_frame_evaluator_win32_36_64.get_func_code_info
SystemError: <class '_pydevd_frame_eval.pydevd_frame_evaluator_win32_36_64.FuncCodeInfo'> returned a result with an error set
Exception ignored in: '_pydevd_frame_eval.pydevd_frame_evaluator_win32_36_64.get_bytecode_while_frame_eval'
Traceback (most recent call last):
File "_pydevd_frame_eval\pydevd_frame_evaluator_win32_36_64.pyx", line 191, in _pydevd_frame_eval.pydevd_frame_evaluator_win32_36_64.get_func_code_info
SystemError: <class '_pydevd_frame_eval.pydevd_frame_evaluator_win32_36_64.FuncCodeInfo'> returned a result with an error set
Unhandled exception in thread started by <_pydev_bundle.pydev_monkey._NewThreadStartupWithTrace object at 0x0000025905026B70>
Traceback (most recent call last):
File "C:\Program Files\JetBrains\PyCharm 2019.2\helpers\pydev\_pydev_bundle\pydev_monkey.py", line 729, in __call__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\threading.py", line 884, in _bootstrap
SystemError: error return without exception set

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Program Files\JetBrains\PyCharm 2019.2\helpers\pydev\_pydev_bundle\pydev_monkey.py", line 732, in __call__
File "_pydevd_bundle\pydevd_cython_win32_36_64.pyx", line 1029, in _pydevd_bundle.pydevd_cython_win32_36_64.SafeCallWrapper.__call__
File "_pydevd_bundle\pydevd_cython_win32_36_64.pyx", line 1203, in _pydevd_bundle.pydevd_cython_win32_36_64.TopLevelThreadTracerOnlyUnhandledExceptions.trace_unhandled_exceptions
File "C:\Program Files\JetBrains\PyCharm 2019.2\helpers\pydev\_pydevd_bundle\pydevd_breakpoints.py", line 110, in stop_on_unhandled_exception
File "C:\Program Files\JetBrains\PyCharm 2019.2\helpers\pydev\_pydevd_bundle\pydevd_breakpoints.py", line 91, in get_exception_breakpoint
SystemError: error return without exception set

 

Thankyou

10 comments
Comment actions Permalink

Hi, this looks like a known issue https://youtrack.jetbrains.com/issue/PY-37312

Please update to the latest PyCharm if you haven't already and try again: https://www.jetbrains.com/pycharm/download

0
Comment actions Permalink

Thankyou So much #Andrey Resler for your response. I finally resolve the issue.

0
Comment actions Permalink

It worked for one day now its again giving me the same error. 

PYCHARM VERSION = 2019.2.1 Professional

 

"C:\Program Files\JetBrains\PyCharm 2019.2\bin\runnerw64.exe" "C:\Users\Haider Khan\PycharmProjects\hypernet_new\hypernetV2_backend\venv\Scripts\python.exe" "C:\Program Files\JetBrains\PyCharm 2019.2\helpers\pydev\pydevd.py" --multiproc --qt-support=auto --client 127.0.0.1 --port 51035 --file "C:/Users/Haider Khan/PycharmProjects/hypernet_new/hypernetV2_backend/manage.py" runserver 0.0.0.0:8000
pydev debugger: process 1268 is connecting

Connected to pydev debugger (build 192.6262.63)
pydev debugger: process 25828 is connecting

Watching for file changes with StatReloader
Performing system checks...

System check identified no issues (0 silenced).
August 30, 2019 - 11:14:15
Django version 2.2.3, using settings 'hypernetV2.settings'
Starting development server at http://0.0.0.0:8000/
Quit the server with CTRL-BREAK.
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\socketserver.py", line 240, in serve_forever
Fatal Python error: Cannot recover from stack overflow.

Current thread 0x000061a0 (most recent call first):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\codecs.py", line 309 in __init__
...

Thread 0x00003410 (most recent call first):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\threading.py", line 299 in wait
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\threading.py", line 551 in wait
File "C:\Program Files\JetBrains\PyCharm 2019.2\helpers\pydev\pydevd.py", line 140 in _on_run
File "C:\Program Files\JetBrains\PyCharm 2019.2\helpers\pydev\_pydevd_bundle\pydevd_comm.py", line 213 in run
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\threading.py", line 916 in _bootstrap_inner
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\threading.py", line 884 in _bootstrap

Thread 0x00006b18 (most recent call first):
File "C:\Program Files\JetBrains\PyCharm 2019.2\helpers\pydev\_pydevd_bundle\pydevd_comm.py", line 283 in _on_run
File "C:\Program Files\JetBrains\PyCharm 2019.2\helpers\pydev\_pydevd_bundle\pydevd_comm.py", line 213 in run
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\threading.py", line 916 in _bootstrap_inner
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\threading.py", line 884 in _bootstrap

Thread 0x00002ebc (most recent call first):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\threading.py", line 299 in wait
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\queue.py", line 173 in get
File "C:\Program Files\JetBrains\PyCharm 2019.2\helpers\pydev\_pydevd_bundle\pydevd_comm.py", line 358 in _on_run
File "C:\Program Files\JetBrains\PyCharm 2019.2\helpers\pydev\_pydevd_bundle\pydevd_comm.py", line 213 in run
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\threading.py", line 916 in _bootstrap_inner
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\threading.py", line 884 in _bootstrap

Thread 0x000029dc (most recent call first):
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\pathlib.py", line 388 in wrapped
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\pathlib.py", line 524 in _select_from
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\pathlib.py", line 561 in _select_from
File "C:\Users\Haider Khan\AppData\Local\Programs\Python\Python36\lib\pathlib.py", line 1079 in glob
File "C:\Users\Haider Khan\PycharmProjects\hypernet_new\hypernetV2_backend\venv\lib\site-packages\django\utils\autoreload.py", line 256 in watched_files
File "C:\Users\Haider Khan\PycharmProjects\hypernet_new\hypernetV2_backend\venv\lib\site-packages\django\utils\autoreload.py", line 352 in snapshot_files
File "C:\Users\Haider Khan\PycharmProjects\hypernet_new\hypernetV2_backend\venv\lib\site-packages\django\utils\autoreload.py", line 336 in tick
File "C:\Users\Haider Khan\PycharmProjects\hypernet_new\hypernetV2_backend\venv\lib\site-packages\django\utils\autoreload.py", line 296 in run_loop
File "C:\Users\Haider Khan\PycharmProjects\hypernet_new\hypernetV2_backend\venv\lib\site-packages\django\utils\autoreload.py", line 290 in run
File "C:\Users\Haider Khan\PycharmProjects\hypernet_new\hypernetV2_backend\venv\lib\site-packages\django\utils\autoreload.py", line 572 in start_django
File "C:\Users\Haider Khan\PycharmProjects\hypernet_new\hypernetV2_backend\venv\lib\site-packages\django\utils\autoreload.py", line 587 in run_with_reloader
File "C:\Users\Haider Khan\PycharmProjects\hypernet_new\hypernetV2_backend\venv\lib\site-packages\django\core\management\commands\runserver.py", line 102 in run
File "C:\Users\Haider Khan\PycharmProjects\hypernet_new\hypernetV2_backend\venv\lib\site-packages\django\core\management\commands\runserver.py", line 95 in handle
File "C:\Users\Haider Khan\PycharmProjects\hypernet_new\hypernetV2_backend\venv\lib\site-packages\django\core\management\base.py", line 364 in execute
File "C:\Users\Haider Khan\PycharmProjects\hypernet_new\hypernetV2_backend\venv\lib\site-packages\django\core\management\commands\runserver.py", line 60 in execute
File "C:\Users\Haider Khan\PycharmProjects\hypernet_new\hypernetV2_backend\venv\lib\site-packages\django\core\management\base.py", line 323 in run_from_argv
File "C:\Users\Haider Khan\PycharmProjects\hypernet_new\hypernetV2_backend\venv\lib\site-packages\django\core\management\__init__.py", line 375 in execute
File "C:\Users\Haider Khan\PycharmProjects\hypernet_new\hypernetV2_backend\venv\lib\site-packages\django\core\management\__init__.py", line 381 in execute_from_command_line
File "C:/Users/Haider Khan/PycharmProjects/hypernet_new/hypernetV2_backend/manage.py", line 17 in main
File "C:/Users/Haider Khan/PycharmProjects/hypernet_new/hypernetV2_backend/manage.py", line 21 in <module>
File "C:\Program Files\JetBrains\PyCharm 2019.2\helpers\pydev\_pydev_imps\_pydev_execfile.py", line 18 in execfile
File "C:\Program Files\JetBrains\PyCharm 2019.2\helpers\pydev\pydevd.py", line 1412 in _exec
File "C:\Program Files\JetBrains\PyCharm 2019.2\helpers\pydev\pydevd.py", line 1405 in run
File "C:\Program Files\JetBrains\PyCharm 2019.2\helpers\pydev\pydevd.py", line 2054 in main
File "C:\Program Files\JetBrains\PyCharm 2019.2\helpers\pydev\pydevd.py", line 2060 in <module>

0
Comment actions Permalink

Hello,
I did all what you said  i updated my pycharm to the latest version but still facing the issue i submitted above. waiting for your response.
Thankyou

0
Comment actions Permalink

Hi,

Does the issue reproduce when you run instead of debugging? If not, please set the following env variables to your run/debug configuration and try again:

 

PYDEVD_USE_CYTHON=NO
PYDEVD_USE_FRAME_EVAL=NO

 

Does it change anything?

2
Comment actions Permalink

Andrey,

I had the same issue and found this on a google search.  Doing what you suggested above fixed the issue for me.

0
Comment actions Permalink

Andrey!  I can't believe your answer is buried at the bottom of this page!  I was really getting fed up with debugging in PyCharm until implementing your suggestion.  Thank you so much!!!

0
Comment actions Permalink

Glad it helped. For anyone wondering:

Cython extensions are designed to speedup the debugging, which is working well in most cases. But in some rare cases they cause the issue instead. If you see "frame evaluator" or "cython" in your stack trace, it's worth trying to disable them with the env variables above.

1
Comment actions Permalink

That worked. Thanks for the support!. I wonder why these problems occur to me in windows only :(

0
Comment actions Permalink

@Rafael

Usually the issue is related to your code, not OS. Maybe you don't have cython extensions installed on another OS at all?

0

Please sign in to leave a comment.