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

0
24 comments

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
Avatar
Permanently deleted user

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

0
Avatar
Permanently deleted user

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
Avatar
Permanently deleted user

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

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?

5
Avatar
Permanently deleted user

Andrey,

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

0
Avatar
Permanently deleted user

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

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.

2
Avatar
Permanently deleted user

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

0

@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

Thank you Andrey !!! :)

0

This started to happen consistently for me after upgrading from IntelliJ IDEA Ultimate 2019.1.3 to 2019.3. So far happened only when debugging Tornado-based processes. 

Python plugin version: 193.5233.109

Disabling of Cython fixed it so far. But maybe it makes sense for JetBrain to try and reproduce and fix it?

0

Also note that Cython is not even installed in the conda environment in which my python application runs. Not sure where Python plugin picks it up, but this is hardly related to my code. 

0
Avatar
Permanently deleted user

Crashing for me as well when trying to run a celery using debugger. setting PYDEVD_USE_FRAME_EVAL=NO helps

 

pycharm build info:

```

PyCharm 2019.3.2 (Professional Edition)
Build #PY-193.6015.41, built on January 21, 2020
Runtime version: 11.0.5+10-b520.30 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.15.3
GC: ParNew, ConcurrentMarkSweep
Memory: 4029M
Cores: 8
Registry: debugger.watches.in.variables=false
Non-Bundled Plugins: com.intellij.ideolog, mobi.hsz.idea.gitignore, net.seesharpsoft.intellij.plugins.csv, org.jetbrains.plugins.vue, org.igu.plugins.nativescript

```

 

stacktrace:

 

```

Fatal Python error: PyCOND_WAIT(gil_cond) failed

Thread 0x0000700008384000 (most recent call first):
File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/pydevd.py", line 164 in _on_run
File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/_pydevd_bundle/pydevd_comm.py", line 213 in run
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916 in _bootstrap_inner
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 884 in _bootstrap
File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/_pydev_bundle/pydev_monkey.py", line 769 in __call__

Thread 0x0000700007e81000 (most recent call first):
File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/pydevd.py", line 130 in _on_run
File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/_pydevd_bundle/pydevd_comm.py", line 213 in run
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916 in _bootstrap_inner
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 884 in _bootstrap
File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/_pydev_bundle/pydev_monkey.py", line 769 in __call__

Thread 0x000070000797e000 (most recent call first):
File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/_pydevd_bundle/pydevd_comm.py", line 283 in _on_run
File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/_pydevd_bundle/pydevd_comm.py", line 213 in run
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916 in _bootstrap_inner
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 884 in _bootstrap
File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/_pydev_bundle/pydev_monkey.py", line 769 in __call__

Current thread 0x000070000747b000 (most recent call first):
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 299 in wait
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/queue.py", line 173 in get
File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/_pydevd_bundle/pydevd_comm.py", line 358 in _on_run
File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/_pydevd_bundle/pydevd_comm.py", line 213 in run
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 916 in _bootstrap_inner
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 884 in _bootstrap
File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/_pydev_bundle/pydev_monkey.py", line 769 in __call__

Thread 0x0000000110191dc0 (most recent call first):
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/posixpath.py", line 171 in islink
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/posixpath.py", line 429 in _joinrealpath
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/posixpath.py", line 395 in realpath
File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/pydevd_file_utils.py", line 246 in _NormPath
File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/pydevd_file_utils.py", line 238 in _NormPaths
File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/pydevd_file_utils.py", line 571 in get_abs_path_real_path_and_base_from_file
File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/pydevd.py", line 476 in enable_tracing
File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/_pydevd_bundle/pydevd_trace_dispatch.py", line 59 in trace_dispatch
File "/Users/parikls/venv/chatbot/lib/python3.6/site-packages/billiard/popen_fork.py", line 73 in _launch
File "/Users/parikls/venv/chatbot/lib/python3.6/site-packages/billiard/popen_fork.py", line 24 in __init__
File "/Users/parikls/venv/chatbot/lib/python3.6/site-packages/billiard/context.py", line 333 in _Popen
File "/Users/parikls/venv/chatbot/lib/python3.6/site-packages/billiard/process.py", line 124 in start
File "/Users/parikls/venv/chatbot/lib/python3.6/site-packages/billiard/pool.py", line 1119 in _create_worker_process
File "/Users/parikls/venv/chatbot/lib/python3.6/site-packages/celery/concurrency/asynpool.py", line 445 in _create_worker_process
File "/Users/parikls/venv/chatbot/lib/python3.6/site-packages/billiard/pool.py", line 1010 in __init__
File "/Users/parikls/venv/chatbot/lib/python3.6/site-packages/celery/concurrency/asynpool.py", line 428 in __init__
File "/Users/parikls/venv/chatbot/lib/python3.6/site-packages/celery/concurrency/prefork.py", line 112 in on_start
File "/Users/parikls/venv/chatbot/lib/python3.6/site-packages/celery/concurrency/base.py", line 131 in start
File "/Users/parikls/venv/chatbot/lib/python3.6/site-packages/celery/bootsteps.py", line 369 in start
File "/Users/parikls/venv/chatbot/lib/python3.6/site-packages/celery/bootsteps.py", line 119 in start
File "/Users/parikls/venv/chatbot/lib/python3.6/site-packages/celery/worker/worker.py", line 205 in start
File "/Users/parikls/venv/chatbot/lib/python3.6/site-packages/celery/bin/worker.py", line 258 in run
File "/Users/parikls/venv/chatbot/lib/python3.6/site-packages/celery/bin/base.py", line 252 in __call__
File "/Users/parikls/venv/chatbot/lib/python3.6/site-packages/celery/bin/worker.py", line 223 in run_from_argv
File "/Users/parikls/venv/chatbot/lib/python3.6/site-packages/celery/bin/celery.py", line 420 in execute
File "/Users/parikls/venv/chatbot/lib/python3.6/site-packages/celery/bin/celery.py", line 488 in handle_argv
File "/Users/parikls/venv/chatbot/lib/python3.6/site-packages/celery/bin/base.py", line 298 in execute_from_commandline
File "/Users/parikls/venv/chatbot/lib/python3.6/site-packages/celery/bin/celery.py", line 496 in execute_from_commandline
File "/Users/parikls/venv/chatbot/lib/python3.6/site-packages/celery/bin/celery.py", line 322 in main
File "/Users/parikls/venv/chatbot/lib/python3.6/site-packages/celery/__main__.py", line 16 in main
File "/Users/parikls/venv/chatbot/bin/celery", line 10 in <module>
File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18 in execfile
File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/pydevd.py", line 1434 in _exec
File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/pydevd.py", line 1427 in run
File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/pydevd.py", line 2118 in main
File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/pydevd.py", line 2127 in <module>
2020-02-03 11:38:01 chatproj.celery_common-DEBUG worker_process_init [celery_common.py:186]
[2020-02-03 11:38:01,165: DEBUG/ForkPoolWorker-2] worker_process_init
2020-02-03 11:38:01 chatproj.celery_common-DEBUG worker_process_init [celery_common.py:186]
[2020-02-03 11:38:01,370: DEBUG/ForkPoolWorker-3] worker_process_init
Fatal Python error: PyCOND_WAIT(gil_cond) failed

```

0

Your issue seems different from the OP issue, 

Would you mind submitting it to https://youtrack.jetbrains.com/issues and provide code example? 

0

Hi everyone,
I'm having similar troubles as you guys but with Pycharm 2019.3.3

Debugger stops at some point and exits with code 1 but does not show any error message. When I run the code (in normal mode) in works fine. Unfortunately, the trick Andrey gave with the env variables ( https://intellij-support.jetbrains.com/hc/en-us/community/posts/360004970820/comments/360000737519 ) did not work for me. Has anyone else experienced some further problems?
It's interesting that it always crashes when coming to a function called from the arcpy library.
What I further tried so far:
-Delete the .idea folder

-Cleared breakpoints and redone them

-Currently I'm trying to downgrade the software to a version where it works again (guess 2018.x should be fine)

0

@Dominik Vogt

Can you please enable extended debug output by adding env variable PYCHARM_DEBUG=True to your run/debug configuration, and copy-paste the output from the debug console?

0

@...

I hope I understood correctly. I added the env variable and pasted the output bellow.
Thanks a lot!

"C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\python.exe" "C:\Program Files\JetBrains\PyCharm Community Edition 201.4865.17\plugins\python-ce\helpers\pydev\pydevd.py" --multiproc --qt-support=auto --client 127.0.0.1 --port 60708 --file C:/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/11_PythonScripts_V3/Source/FlAare_main.py

warning: PYDEVD_USE_CYTHON environment variable is set to 'NO'. Frame evaluator will be also disabled because it requires Cython extensions to be enabled in order to operate correctly.

Unable to load jupyter_debug plugin

Executing file C:/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/11_PythonScripts_V3/Source/FlAare_main.py

arguments: ['C:/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/11_PythonScripts_V3/Source/FlAare_main.py']

PYDEVD_FILTER_LIBRARIES False

Started in multiproc mode

('Connecting to ', '127.0.0.1', ':', '60708')

('Connected.',)

debugger: received >>99       -1        60711

<< 

Received command: ??? 99   -1        60711

Received port 60711

pydev debugger: process 33660 is connecting

('Connecting to ', '127.0.0.1', ':', '60711')

('Connected.',)

debugger: received >>501     1          0.1       WIN

<< 

Received command: CMD_VERSION 501  1          0.1       WIN

sending cmd -->          CMD_VERSION @@BUILD_NUMBER@@

Connected to pydev debugger (build 201.4865.17)

debugger: received >>101     3         

<< 

Received command: CMD_RUN 101          3         

debugger: received >>111     5          python-line c:/users/dominik/onedrive/dokumente/unibe/master/masterarbeit/11_pythonscripts_v3/source/flaare_main.py            116      main    THREAD        None   None

<< 

Received command: CMD_SET_BREAK 111        5          python-line c:/users/dominik/onedrive/dokumente/unibe/master/masterarbeit/11_pythonscripts_v3/source/flaare_main.py            116      main    THREAD        None   None

Added breakpoint:c:\users\dominik\onedrive\dokumente\unibe\master\masterarbeit\11_pythonscripts_v3\source\flaare_main.py - line:116 - func_name:b'main'

debugger: received >>111     7          python-line c:/users/dominik/onedrive/dokumente/unibe/master/masterarbeit/11_pythonscripts_v3/source/flaare_main.py            128      main    THREAD        None   None

<< 

Received command: CMD_SET_BREAK 111        7          python-line c:/users/dominik/onedrive/dokumente/unibe/master/masterarbeit/11_pythonscripts_v3/source/flaare_main.py            128      main    THREAD        None   None

Added breakpoint:c:\users\dominik\onedrive\dokumente\unibe\master\masterarbeit\11_pythonscripts_v3\source\flaare_main.py - line:128 - func_name:b'main'

debugger: received >>146     11        SHOW_RETURN_VALUES            0

122      9          python-BaseException          None   None   0          1          0

<< 

Received command: CMD_SHOW_RETURN_VALUES 146       11            SHOW_RETURN_VALUES            0

Show return values: False

Received command: CMD_ADD_EXCEPTION_BREAK 122      9          python-BaseException           None   None   0          1          0

Exceptions to hook on terminate: {'BaseException': <_pydevd_bundle.pydevd_breakpoints.ExceptionBreakpoint object at 0x00000199661F0320>}

sending cmd -->    CMD_THREAD_CREATE <xml><thread name="MainThread" id="pid_33660_id_1758315993856" /></xml>

IDE_PROJECT_ROOTS ['c:\\users\\dominik\\onedrive\\dokumente\\unibe\\master\\masterarbeit\\11_pythonscripts_v3']

LIBRARY_ROOTS ['c:\\program files\\arcgis\\pro\\bin\\python\\envs\\arcgispro-py3\\dlls', 'c:\\program files\\arcgis\\pro\\bin\\python\\envs\\arcgispro-py3\\lib', 'c:\\program files\\arcgis\\pro\\bin\\python\\envs\\arcgispro-py3\\lib\\site-packages', 'c:\\program files\\arcgis\\pro\\bin', 'c:\\program files\\arcgis\\pro\\resources\\arcpy', 'c:\\program files\\arcgis\\pro\\resources\\arctoolbox\\scripts', 'c:\\program files\\arcgis\\pro\\bin\\python\\envs\\arcgispro-py3\\lib\\site-packages\\future-0.17.1-py3.6.egg!', 'c:\\program files\\arcgis\\pro\\bin\\python\\envs\\arcgispro-py3\\lib\\site-packages\\pytz-2019.2-py3.6.egg!', 'c:\\program files\\arcgis\\pro\\bin\\python\\envs\\arcgispro-py3\\lib\\site-packages\\sympy-1.4-py3.6.egg!', 'c:\\users\\dominik\\appdata\\local\\jetbrains\\pycharmce2020.1\\python_stubs\\-923924120', 'c:\\program files\\jetbrains\\pycharm community edition 201.4865.17\\plugins\\python-ce\\helpers\\python-skeletons', 'c:\\program files\\jetbrains\\pycharm community edition 201.4865.17\\plugins\\python-ce\\helpers\\typeshed\\stdlib\\3', 'c:\\program files\\jetbrains\\pycharm community edition 201.4865.17\\plugins\\python-ce\\helpers\\typeshed\\stdlib\\2and3', 'c:\\program files\\jetbrains\\pycharm community edition 201.4865.17\\plugins\\python-ce\\helpers\\typeshed\\third_party\\3', 'c:\\program files\\jetbrains\\pycharm community edition 201.4865.17\\plugins\\python-ce\\helpers\\typeshed\\third_party\\2and3']

...

....

...

sending cmd -->   CMD_THREAD_SUSPEND <xml><thread id="pid_7040_id_1707867101952" stop_reason="111" message="" suspend_type="trace"><frame id="1708088275560" name="main" file="C:\Users\Dominik\OneDrive\Dokumente\UniBe\Master\Masterarbeit\11_PythonScripts_V3\Source\FlAare_main.py" line="116"></frame><frame id="1707885214472" name="&lt;module&gt;" file="C:\Users\Dominik\OneDrive\Dokumente\UniBe\Master\Masterarbeit\11_PythonScripts_V3\Source\FlAare_main.py" line="189"></frame></thread></xml>

debugger: received >>114     13        pid_7040_id_1707867101952            1708088275560         FRAME

<< 

Received command: CMD_GET_FRAME 114       13            pid_7040_id_1707867101952           1708088275560         FRAME

 

('processing internal command ', '<_pydevd_bundle.pydevd_comm.InternalGetFrame object at 0x0000018DA7310F60>')

sending cmd -->        CMD_GET_FRAME <xml><var name="ArcGISFC" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Temp_Data/PointFC.shp" /> <var name="ArcGISFC_WGS84" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Temp_Data/PointFC_WGS84.shp" /> <var name="ArcGISLineFCPath" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Temp_Data/LineFC.shp" /> <var name="ArcGISLineFC_joinPath" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Temp_Data/LineFC_join.shp" /> <var name="ArcGISLineFC_joinPath_WGS84" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Temp_Data/LineFC_join_WGS84.shp" /> <var name="ArcGISPointFC" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Temp_Data/PointFC.shp" /> <var name="ArcGISTablepath" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Temp_Data/temp.gdb/testTable" /> <var name="Buildings_df" type="dict" qualifier="builtins" value="__pydevd_value_on_demand" isContainer="True" shape="46587" /> <var name="DF_BuildingsNodes" type="DataFrame" qualifier="pandas.core.frame" value="V25OBJECTI Wert Node_IDs X_centroid Y_centroid %5B0%3A 12349993 771556 214 650562.0 177536.0%5D%2C %5B1%3A 12350173 222547 21956 649115.0 177230.0%5D%2C %5B2%3A 12350101 188323 171 649093.0 177338.0%5D%2C %5B3%3A 12350027 201899 30123 649537.0 177464.0%5D%2C %5B4%3A 12349965 1029988 28644 650786.0 177581.0%5D%2C %5B5%3A 12350096 1520679 170 649065.0 177339.0%5D%2C %5B6%3A 12350051 1574601 27029 649822.0 177407.0%5D%2C %5B7%3A 12349958 191526 28644 650777.0 177599.0%5D%2C %5B8%3A 12350009 166709 27190 650937.0 177506.0%5D%2C %5B9%3A 12350037 254098 29132 649714.0 177449.0%5D%2C %5B10%3A 12350163 2599789 41136%2C44535 648895.0 177228.0%5D%2C %5B11%3A 12350166 3483060 26913%2C27796%2C40398 648937.0 177229.0%5D%2C %5B12%3A 12350190 276131 27606 648699.0 177191.0%5D%2C %5B13%3A 12350013 309400 22416%2C25055 650799.0 177500.0%5D%2C %5B14%3A 12349979 380367 46368 650813.0 177557.0%5D%2C %5B15%3A 12350052 681126 28488 649848.0 177406.0%5D%2C %5B16%3A 12350058 170487 29706 649428.0 177387.0%5D%2C %5B17%3A 12350066 469838 26740 649711.0 177376.0%5D%2C %5B18%3A 12350063 370150 25029 649888.0 177384.0%5D%2C %5B19%3A 12350070 997626 23487%2C24153 649824.0 177371.0%5D%2C %5B20%3A 12350068 361099 25910 649843.0 177378.0%5D" isContainer="True" shape="(1291, 5)" /> <var name="DF_Depth" type="DataFrame" qualifier="pandas.core.frame" value="Node_IDs X Y TS 0 TS 1200 TS 2400 TS 3600 TS 4800 TS 6000 TS 7200 TS 8400 TS 9600 TS 10800 TS 12000 TS 13200 TS 14400 TS 15600 TS 16800 TS 18000 TS 19200 TS 20400 TS 21600 TS 22800 TS 24000 TS 25200 TS 26400 TS 27600 TS 28800 TS 30000 TS 31200 TS 32400 TS 33600 TS 34800 TS 36000 TS 37200 TS 38400 TS 39600 TS 40800 TS 42000 TS 43200 TS 44400 TS 45600 TS 46800 TS 48000 TS 49200 TS 50400 TS 51600 TS 52800 TS 54000 TS 55200 TS 56400 TS 57600 TS 58800 TS 60000 TS 61200 TS 62400 TS 63600 TS 64800 TS 66000 TS 67200 TS 68400 TS 69600 TS 70800 TS 72000 TS 73200 TS 74400 TS 75600 TS 76800 TS 78000 TS 79200 TS 80400 TS 81600 TS 82800 TS 84000 TS 85200 TS 86400 TS 87600 TS 88800 TS 90000 TS 91200 TS 92400 TS 93600 TS 94800 TS 96000 TS 97200 TS 98400 TS 99600 TS 100800 TS 102000 TS 103200 TS 104400 TS 105600 TS 106800 TS 108000 TS 109200 TS 110400 TS 111600 TS 112800 TS 114000 TS 115200 TS 116400 TS 117600 TS 118800 TS 120000 TS 121200 TS 122400 TS 123600 TS 124800 TS 126000 TS 127200 TS 128400 TS 129600 TS 130800 TS 132000 TS 133200 TS 134400 TS 135600 MaxDepth %5B1%3A 1.0 646581.802711 176550.956819 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0%5D" isContainer="True" shape="(46587, 118)" /> <var name="DF_LeveeFailures" type="DataFrame" qualifier="pandas.core.frame" value="DB X_center Y_center %5B1%3A 1.0 657240.0 174874.0%5D%2C %5B2%3A 2.0 655871.0 175511.0%5D%2C %5B3%3A 3.0 655087.0 176100.0%5D%2C %5B4%3A 4.0 649735.0 177332.0%5D%2C %5B5%3A 5.0 609362.0 187139.0%5D%2C %5B6%3A 6.0 609304.0 187327.0%5D%2C %5B7%3A 7.0 609225.0 187516.0%5D%2C %5B8%3A 8.0 609169.0 187698.0%5D%2C %5B9%3A 9.0 609126.0 187894.0%5D%2C %5B10%3A 10.0 609097.0 188098.0%5D%2C %5B11%3A 11.0 609068.0 188281.0%5D%2C %5B12%3A 12.0 609034.0 188479.0%5D%2C %5B13%3A 13.0 609011.0 188676.0%5D%2C %5B14%3A 14.0 608977.0 188872.0%5D%2C %5B15%3A 15.0 608951.0 189070.0%5D%2C %5B16%3A 16.0 608908.0 189267.0%5D%2C %5B17%3A 17.0 608831.0 189454.0%5D%2C %5B18%3A 18.0 608744.0 189637.0%5D%2C %5B19%3A 19.0 608664.0 189814.0%5D%2C %5B20%3A 20.0 608585.0 190002.0%5D%2C %5B21%3A 21.0 608503.0 190183.0%5D%2C %5B22%3A 22.0 608414.0 190369.0%5D%2C %5B23%3A 23.0 608335.0 190544.0%5D%2C %5B24%3A 24.0 607706.0 191828.0%5D%2C %5B25%3A 25.0 607624.0 192319.0%5D%2C %5B26%3A 26.0 607463.0 193164.0%5D%2C %5B27%3A 27.0 607247.0 193593.0%5D%2C %5B28%3A 28.0 606941.0 193989.0%5D%2C %5B29%3A 29.0 606642.0 194390.0%5D%2C %5B30%3A 30.0 606341.0 194786.0%5D%2C %5B31%3A 31.0 605943.0 195085.0%5D%2C %5B32%3A 32.0 605539.0 195369.0%5D%2C %5B33%3A 33.0 605165.0 195712.0%5D%2C %5B34%3A 34.0 604881.0 196123.0%5D" isContainer="True" shape="(42, 3)" /> <var name="DF_WettBuildingsNodes" type="DataFrame" qualifier="pandas.core.frame" value="V25OBJECTI Wert Node_IDs X_centroid Y_centroid %5B0%3A 12349993 771556 214 650562.0 177536.0%5D%2C %5B1%3A 12350173 222547 21956 649115.0 177230.0%5D%2C %5B2%3A 12350101 188323 171 649093.0 177338.0%5D%2C %5B3%3A 12350027 201899 30123 649537.0 177464.0%5D%2C %5B4%3A 12349965 1029988 28644 650786.0 177581.0%5D%2C %5B5%3A 12350096 1520679 170 649065.0 177339.0%5D%2C %5B6%3A 12350051 1574601 27029 649822.0 177407.0%5D%2C %5B7%3A 12349958 191526 28644 650777.0 177599.0%5D%2C %5B9%3A 12350037 254098 29132 649714.0 177449.0%5D%2C %5B10%3A 12350163 2599789 41136%2C44535 648895.0 177228.0%5D%2C %5B11%3A 12350166 3483060 26913%2C27796%2C40398 648937.0 177229.0%5D%2C %5B12%3A 12350190 276131 27606 648699.0 177191.0%5D%2C %5B15%3A 12350052 681126 28488 649848.0 177406.0%5D%2C %5B16%3A 12350058 170487 29706 649428.0 177387.0%5D%2C %5B17%3A 12350066 469838 26740 649711.0 177376.0%5D%2C %5B18%3A 12350063 370150 25029 649888.0 177384.0%5D%2C %5B19%3A 12350070 997626 23487%2C24153 649824.0 177371.0%5D%2C %5B20%3A 12350068 361099 25910 649843.0 177378.0%5D%2C %5B21%3A 12350075 1585092 26141%2C26822%2C40560 649658.0 177356.0%5D%2C %5B22%3A 12350094 312144 26672 649500.0 177343.0%5D%2C %5B23%3A 12350098 235558 28403 649391.0 177341.0%5D" isContainer="True" shape="(1121, 5)" /> <var name="Depth_df" type="DataFrame" qualifier="pandas.core.frame" value="TS 0 TS 1200 TS 2400 TS 3600 TS 4800 TS 6000 TS 7200 TS 8400 TS 9600 TS 10800 TS 12000 TS 13200 TS 14400 TS 15600 TS 16800 TS 18000 TS 19200 TS 20400 TS 21600 TS 22800 TS 24000 TS 25200 TS 26400 TS 27600 TS 28800 TS 30000 TS 31200 TS 32400 TS 33600 TS 34800 TS 36000 TS 37200 TS 38400 TS 39600 TS 40800 TS 42000 TS 43200 TS 44400 TS 45600 TS 46800 TS 48000 TS 49200 TS 50400 TS 51600 TS 52800 TS 54000 TS 55200 TS 56400 TS 57600 TS 58800 TS 60000 TS 61200 TS 62400 TS 63600 TS 64800 TS 66000 TS 67200 TS 68400 TS 69600 TS 70800 TS 72000 TS 73200 TS 74400 TS 75600 TS 76800 TS 78000 TS 79200 TS 80400 TS 81600 TS 82800 TS 84000 TS 85200 TS 86400 TS 87600 TS 88800 TS 90000 TS 91200 TS 92400 TS 93600 TS 94800 TS 96000 TS 97200 TS 98400 TS 99600 TS 100800 TS 102000 TS 103200 TS 104400 TS 105600 TS 106800 TS 108000 TS 109200 TS 110400 TS 111600 TS 112800 TS 114000 TS 115200 TS 116400 TS 117600 TS 118800 TS 120000 TS 121200 TS 122400 TS 123600 TS 124800 TS 126000 TS 127200 TS 128400 TS 129600 TS 130800 TS 132000 TS 133200 TS 134400 TS 135600 MaxDepth %5B1%3A 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0%5D" isContainer="True" shape="(46587, 115)" /> <var name="Graph" type="Graph" qualifier="networkx.classes.graph" value="__pydevd_value_on_demand" isContainer="True" shape="19650" /> <var name="InputBuildings" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Input_Data/Buildings_HasliAare_right.shp" /> <var name="LeveeFailureBuildingsGeojson" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Output_Data/Buildings_LV_1.geojson" /> <var name="LeveeFailureBuildingsGeojson_modified" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Output_Data/Buildings_LV_1_modified.geojson" /> <var name="LeveeFailureLinesGeojson" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Output_Data/ConnectionLines_LV_1.geojson" /> <var name="LeveeFailures_shp" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Input_Data/Aare_LeveeFailures_201911_LV03.shp" /> <var name="Nodes" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Input_Data/HasliAare_nodes_right.xls" /> <var name="NodesShp" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Input_Data/HasliAare_nodes_right.shp" /> <var name="Path_to_csv" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Output_Data/Flooded_Buildings_LV_1.csv" /> <var name="Wet_Graph" type="Graph" qualifier="networkx.classes.graph" value="__pydevd_value_on_demand" isContainer="True" shape="10260" /> <var name="Wet_Graph_Buildings" type="tuple" qualifier="builtins" value="__pydevd_value_on_demand" isContainer="True" shape="2" /> <var name="affected_buildings" type="list" qualifier="builtins" value="__pydevd_value_on_demand" isContainer="True" shape="170" /> <var name="buildings_firstjoin" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Temp_Data/Buildings_join1.shp" /> <var name="buildings_secondjoin" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Temp_Data/Buildings_join2.shp" /> <var name="df_Edges_total" type="DataFrame" qualifier="pandas.core.frame" value="Node_1 Node_2 %5B0%3A 1 864%5D%2C %5B1%3A 10653 13922%5D%2C %5B2%3A 4587 9226%5D%2C %5B3%3A 27592 2%5D%2C %5B4%3A 10204 1525%5D%2C %5B5%3A 15040 23507%5D%2C %5B6%3A 24896 4%5D%2C %5B7%3A 8896 12311%5D%2C %5B8%3A 1457 4936%5D%2C %5B9%3A 5 24896%5D%2C %5B10%3A 5 23344%5D%2C %5B11%3A 16954 4968%5D%2C %5B12%3A 25899 7%5D%2C %5B13%3A 8 25899%5D%2C %5B14%3A 8869 3318%5D%2C %5B15%3A 13696 16693%5D%2C %5B16%3A 4 24896%5D%2C %5B17%3A 1551 17795%5D%2C %5B18%3A 27592 26984%5D%2C %5B19%3A 26444 14%5D%2C %5B20%3A 26 25%5D%2C %5B21%3A 25778 16709%5D%2C %5B22%3A 12998 15040%5D%2C %5B23%3A 18215 19126%5D%2C %5B24%3A 9063 12590%5D%2C %5B25%3A 866 4272%5D%2C %5B26%3A 17640 17311%5D%2C %5B27%3A 865 17640%5D%2C %5B28%3A 866 7627%5D%2C %5B29%3A 17755 17640%5D%2C %5B30%3A 20877 19699%5D%2C %5B31%3A 15 14%5D%2C %5B32%3A 18615 4585%5D%2C %5B33%3A 7048 2025%5D%2C %5B34%3A 4271 19599%5D%2C %5B35%3A 24645 17796%5D%2C %5B36%3A 11115 14126%5D%2C %5B37%3A 2830 8514%5D%2C %5B38%3A 21224 1806%5D%2C %5B39%3A 8896 12313%5D%2C %5B40%3A 4631 12006%5D%2C %5B41%3A 2966 22422%5D%2C %5B42%3A 2064 13240%5D%2C %5B43%3A 25048 13871%5D%2C %5B44%3A 6 23344%5D%2C %5B45%3A 17350 16745%5D%2C %5B46%3A 28568 41312%5D%2C %5B47%3A 1487 3673%5D%2C %5B48%3A 9 25899%5D%2C %5B49%3A 1458 24720%5D%2C %5B50%3A 25899 8%5D" isContainer="True" shape="(275130, 2)" /> <var name="dict_of_MaxDepth" type="dict" qualifier="builtins" value="__pydevd_value_on_demand" isContainer="True" shape="46587" /> <var name="filename_depth" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Input_Data/.sol-files/HasliAare_nds_depth_LV1.sol" /> <var name="filename_geom" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Input_Data/HasliAare.2dm" /> <var name="filename_pickle_Building_Nodes" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Pickle_Data/Buildings_Nodes.pkl" /> <var name="filename_pickle_Depth" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Pickle_Data/Dataframe.pkl" /> <var name="filename_pickle_LeveeFailures" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Pickle_Data/DF_LeveeFailures.pkl" /> <var name="orographically_left" type="list" qualifier="builtins" value="__pydevd_value_on_demand" isContainer="True" shape="20" /> <var name="orographically_right" type="list" qualifier="builtins" value="__pydevd_value_on_demand" isContainer="True" shape="22" /> <var name="pickle_load_DF_LeveeFailures" type="bool" qualifier="builtins" value="False" /> <var name="pickle_load_Depth" type="bool" qualifier="builtins" value="False" /> <var name="pickle_load_NodePerBuilding" type="bool" qualifier="builtins" value="False" /> </xml>

debugger: received >>108     15        pid_7040_id_1707867101952

<< 

Received command: CMD_STEP_OVER 108        15            pid_7040_id_1707867101952

 

('processing internal command ', '<_pydevd_bundle.pydevd_comm.InternalStepThread object at 0x0000018DA722FEF0>')

sending cmd -->       CMD_THREAD_RUN pid_7040_id_1707867101952         108

C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\pandas\core\frame.py:3494: SettingWithCopyWarning:

A value is trying to be set on a copy of a slice from a DataFrame.

Try using .loc[row_indexer,col_indexer] = value instead

 

See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy

  self[k1] = value[k2]

Panda Dataframe of buildings with connected nodes was split into several columns each column only containing 1 node ID

--- 0.16295504570007324 seconds have elapsed within the jbde.py module ---

--- 0.985698938369751 seconds have elapsed within the jbde.py module ---

--- 1.1717040538787842 seconds have elapsed within the jbde.py module ---

CSV was successfully exported

Succuessfuly joined Buildings with corresponding nodes, assigned water depth and exported the resulting pandas dataframe as .csv

--- 1.2046868801116943 seconds have elapsed within the jbde.py module ---

sending cmd -->   CMD_THREAD_SUSPEND <xml><thread id="pid_7040_id_1707867101952" stop_reason="108" message="" suspend_type="trace"><frame id="1708088275560" name="main" file="C:\Users\Dominik\OneDrive\Dokumente\UniBe\Master\Masterarbeit\11_PythonScripts_V3\Source\FlAare_main.py" line="118"></frame><frame id="1707885214472" name="&lt;module&gt;" file="C:\Users\Dominik\OneDrive\Dokumente\UniBe\Master\Masterarbeit\11_PythonScripts_V3\Source\FlAare_main.py" line="189"></frame></thread></xml>

debugger: received >>114     17        pid_7040_id_1707867101952            1708088275560         FRAME

<< 

Received command: CMD_GET_FRAME 114       17            pid_7040_id_1707867101952           1708088275560         FRAME

 

('processing internal command ', '<_pydevd_bundle.pydevd_comm.InternalGetFrame object at 0x0000018DA7310F60>')

sending cmd -->        CMD_GET_FRAME <xml><var name="ArcGISFC" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Temp_Data/PointFC.shp" /> <var name="ArcGISFC_WGS84" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Temp_Data/PointFC_WGS84.shp" /> <var name="ArcGISLineFCPath" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Temp_Data/LineFC.shp" /> <var name="ArcGISLineFC_joinPath" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Temp_Data/LineFC_join.shp" /> <var name="ArcGISLineFC_joinPath_WGS84" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Temp_Data/LineFC_join_WGS84.shp" /> <var name="ArcGISPointFC" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Temp_Data/PointFC.shp" /> <var name="ArcGISTablepath" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Temp_Data/temp.gdb/testTable" /> <var name="BuildingsDepth" type="DataFrame" qualifier="pandas.core.frame" value="V25OBJECTI Wert X_centroid Y_centroid Node_ID_1 Node_ID_2 Node_ID_3 Node_ID_4 Node_ID_5 Node_ID_6 Node_ID_7 MaxDepth TS 0 TS 1200 TS 2400 TS 3600 TS 4800 TS 6000 TS 7200 TS 8400 TS 9600 TS 10800 TS 12000 TS 13200 TS 14400 TS 15600 TS 16800 TS 18000 TS 19200 TS 20400 TS 21600 TS 22800 TS 24000 TS 25200 TS 26400 TS 27600 TS 28800 TS 30000 TS 31200 TS 32400 TS 33600 TS 34800 TS 36000 TS 37200 TS 38400 TS 39600 TS 40800 TS 42000 TS 43200 TS 44400 TS 45600 TS 46800 TS 48000 TS 49200 TS 50400 TS 51600 TS 52800 TS 54000 TS 55200 TS 56400 TS 57600 TS 58800 TS 60000 TS 61200 TS 62400 TS 63600 TS 64800 TS 66000 TS 67200 TS 68400 TS 69600 TS 70800 TS 72000 TS 73200 TS 74400 TS 75600 TS 76800 TS 78000 TS 79200 TS 80400 TS 81600 TS 82800 TS 84000 TS 85200 TS 86400 TS 87600 TS 88800 TS 90000 TS 91200 TS 92400 TS 93600 TS 94800 TS 96000 TS 97200 TS 98400 TS 99600 TS 100800 TS 102000 TS 103200 TS 104400 TS 105600 TS 106800 TS 108000 TS 109200 TS 110400 TS 111600 TS 112800 TS 114000 TS 115200 TS 116400 TS 117600 TS 118800 TS 120000 TS 121200 TS 122400 TS 123600 TS 124800 TS 126000 TS 127200 TS 128400 TS 129600 TS 130800 TS 132000 TS 133200 TS 134400 TS 135600 %5B0%3A 12349924.0 590893.0 646620.0 177652.0 28705.0 nan nan nan nan nan nan 0.569503 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.015615 0.0322539 0.0489596 0.0656201 0.0824053 0.0990091 0.115693 0.132392 0.149072 0.166532 0.183864 0.200909 0.218699 0.236311 0.254 0.271359 0.28872 0.306078 0.321778 0.337447 0.353043 0.367766 0.382473 0.397177 0.408905 0.420605 0.432298 0.441992 0.451664 0.461358 0.469382 0.477446 0.485409 0.493091 0.500775 0.508452 0.514133 0.519805 0.525474 0.529808 0.534142 0.538472 0.54179 0.545104 0.548442 0.550783%5D" isContainer="True" shape="(8, 126)" /> <var name="Buildings_df" type="dict" qualifier="builtins" value="__pydevd_value_on_demand" isContainer="True" shape="46587" /> <var name="DF_BuildingsNodes" type="DataFrame" qualifier="pandas.core.frame" value="V25OBJECTI Wert Node_IDs X_centroid Y_centroid %5B0%3A 12349993 771556 214 650562.0 177536.0%5D%2C %5B1%3A 12350173 222547 21956 649115.0 177230.0%5D%2C %5B2%3A 12350101 188323 171 649093.0 177338.0%5D%2C %5B3%3A 12350027 201899 30123 649537.0 177464.0%5D%2C %5B4%3A 12349965 1029988 28644 650786.0 177581.0%5D%2C %5B5%3A 12350096 1520679 170 649065.0 177339.0%5D%2C %5B6%3A 12350051 1574601 27029 649822.0 177407.0%5D%2C %5B7%3A 12349958 191526 28644 650777.0 177599.0%5D%2C %5B8%3A 12350009 166709 27190 650937.0 177506.0%5D%2C %5B9%3A 12350037 254098 29132 649714.0 177449.0%5D%2C %5B10%3A 12350163 2599789 41136%2C44535 648895.0 177228.0%5D%2C %5B11%3A 12350166 3483060 26913%2C27796%2C40398 648937.0 177229.0%5D%2C %5B12%3A 12350190 276131 27606 648699.0 177191.0%5D%2C %5B13%3A 12350013 309400 22416%2C25055 650799.0 177500.0%5D%2C %5B14%3A 12349979 380367 46368 650813.0 177557.0%5D%2C %5B15%3A 12350052 681126 28488 649848.0 177406.0%5D%2C %5B16%3A 12350058 170487 29706 649428.0 177387.0%5D%2C %5B17%3A 12350066 469838 26740 649711.0 177376.0%5D%2C %5B18%3A 12350063 370150 25029 649888.0 177384.0%5D%2C %5B19%3A 12350070 997626 23487%2C24153 649824.0 177371.0%5D%2C %5B20%3A 12350068 361099 25910 649843.0 177378.0%5D" isContainer="True" shape="(1291, 5)" /> <var name="DF_Depth" type="DataFrame" qualifier="pandas.core.frame" value="Node_IDs X Y TS 0 TS 1200 TS 2400 TS 3600 TS 4800 TS 6000 TS 7200 TS 8400 TS 9600 TS 10800 TS 12000 TS 13200 TS 14400 TS 15600 TS 16800 TS 18000 TS 19200 TS 20400 TS 21600 TS 22800 TS 24000 TS 25200 TS 26400 TS 27600 TS 28800 TS 30000 TS 31200 TS 32400 TS 33600 TS 34800 TS 36000 TS 37200 TS 38400 TS 39600 TS 40800 TS 42000 TS 43200 TS 44400 TS 45600 TS 46800 TS 48000 TS 49200 TS 50400 TS 51600 TS 52800 TS 54000 TS 55200 TS 56400 TS 57600 TS 58800 TS 60000 TS 61200 TS 62400 TS 63600 TS 64800 TS 66000 TS 67200 TS 68400 TS 69600 TS 70800 TS 72000 TS 73200 TS 74400 TS 75600 TS 76800 TS 78000 TS 79200 TS 80400 TS 81600 TS 82800 TS 84000 TS 85200 TS 86400 TS 87600 TS 88800 TS 90000 TS 91200 TS 92400 TS 93600 TS 94800 TS 96000 TS 97200 TS 98400 TS 99600 TS 100800 TS 102000 TS 103200 TS 104400 TS 105600 TS 106800 TS 108000 TS 109200 TS 110400 TS 111600 TS 112800 TS 114000 TS 115200 TS 116400 TS 117600 TS 118800 TS 120000 TS 121200 TS 122400 TS 123600 TS 124800 TS 126000 TS 127200 TS 128400 TS 129600 TS 130800 TS 132000 TS 133200 TS 134400 TS 135600 MaxDepth %5B4%3A 4.0 646615.190622 176613.214741 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0705628 0.140028 0.167659 0.183623 0.200867 0.218025 0.234595 0.252857 0.270342 0.288109 0.306499 0.324908 0.343306 0.36105 0.378762 0.396468 0.413846 0.43121 0.44857 0.465929 0.483285 0.500639 0.517665 0.534683 0.5517 0.568388 0.58507 0.601751 0.618433 0.635113 0.651793 0.669169 0.686185 0.703182 0.719125 0.736461 0.753801 0.77144 0.789122 0.806802 0.824149 0.841491 0.858831 0.87452 0.890192 0.905865 0.920546 0.935219 0.949894 0.961588 0.97326 0.984932 0.994612 1.00428 1.01395 1.02196 1.02995 1.03795 1.04562 1.05328 1.06095 1.06662 1.07229 1.07796 1.0823 1.08663 1.09097 1.09431 1.09764 1.10098 1.10331 1.10565 1.10798 1.11032 1.11265 1.11499 1.11666 1.11833 1.12 1.12067%5D" isContainer="True" shape="(22731, 118)" /> <var name="DF_LeveeFailures" type="DataFrame" qualifier="pandas.core.frame" value="DB X_center Y_center %5B1%3A 1.0 657240.0 174874.0%5D%2C %5B2%3A 2.0 655871.0 175511.0%5D%2C %5B3%3A 3.0 655087.0 176100.0%5D%2C %5B4%3A 4.0 649735.0 177332.0%5D%2C %5B5%3A 5.0 609362.0 187139.0%5D%2C %5B6%3A 6.0 609304.0 187327.0%5D%2C %5B7%3A 7.0 609225.0 187516.0%5D%2C %5B8%3A 8.0 609169.0 187698.0%5D%2C %5B9%3A 9.0 609126.0 187894.0%5D%2C %5B10%3A 10.0 609097.0 188098.0%5D%2C %5B11%3A 11.0 609068.0 188281.0%5D%2C %5B12%3A 12.0 609034.0 188479.0%5D%2C %5B13%3A 13.0 609011.0 188676.0%5D%2C %5B14%3A 14.0 608977.0 188872.0%5D%2C %5B15%3A 15.0 608951.0 189070.0%5D%2C %5B16%3A 16.0 608908.0 189267.0%5D%2C %5B17%3A 17.0 608831.0 189454.0%5D%2C %5B18%3A 18.0 608744.0 189637.0%5D%2C %5B19%3A 19.0 608664.0 189814.0%5D%2C %5B20%3A 20.0 608585.0 190002.0%5D%2C %5B21%3A 21.0 608503.0 190183.0%5D%2C %5B22%3A 22.0 608414.0 190369.0%5D%2C %5B23%3A 23.0 608335.0 190544.0%5D%2C %5B24%3A 24.0 607706.0 191828.0%5D%2C %5B25%3A 25.0 607624.0 192319.0%5D%2C %5B26%3A 26.0 607463.0 193164.0%5D%2C %5B27%3A 27.0 607247.0 193593.0%5D%2C %5B28%3A 28.0 606941.0 193989.0%5D%2C %5B29%3A 29.0 606642.0 194390.0%5D%2C %5B30%3A 30.0 606341.0 194786.0%5D%2C %5B31%3A 31.0 605943.0 195085.0%5D%2C %5B32%3A 32.0 605539.0 195369.0%5D%2C %5B33%3A 33.0 605165.0 195712.0%5D%2C %5B34%3A 34.0 604881.0 196123.0%5D" isContainer="True" shape="(42, 3)" /> <var name="DF_WettBuildingsNodes" type="DataFrame" qualifier="pandas.core.frame" value="V25OBJECTI Wert Node_IDs X_centroid Y_centroid Node_ID_1 Node_ID_2 Node_ID_3 Node_ID_4 Node_ID_5 Node_ID_6 Node_ID_7 %5B0%3A 12349993 771556 214 650562.0 177536.0 214 None None None None None None%5D%2C %5B1%3A 12350173 222547 21956 649115.0 177230.0 21956 None None None None None None%5D%2C %5B2%3A 12350101 188323 171 649093.0 177338.0 171 None None None None None None%5D%2C %5B3%3A 12350027 201899 30123 649537.0 177464.0 30123 None None None None None None%5D%2C %5B4%3A 12349965 1029988 28644 650786.0 177581.0 28644 None None None None None None%5D%2C %5B5%3A 12350096 1520679 170 649065.0 177339.0 170 None None None None None None%5D%2C %5B6%3A 12350051 1574601 27029 649822.0 177407.0 27029 None None None None None None%5D%2C %5B7%3A 12349958 191526 28644 650777.0 177599.0 28644 None None None None None None%5D%2C %5B9%3A 12350037 254098 29132 649714.0 177449.0 29132 None None None None None None%5D" isContainer="True" shape="(1121, 12)" /> <var name="Depth_df" type="DataFrame" qualifier="pandas.core.frame" value="TS 0 TS 1200 TS 2400 TS 3600 TS 4800 TS 6000 TS 7200 TS 8400 TS 9600 TS 10800 TS 12000 TS 13200 TS 14400 TS 15600 TS 16800 TS 18000 TS 19200 TS 20400 TS 21600 TS 22800 TS 24000 TS 25200 TS 26400 TS 27600 TS 28800 TS 30000 TS 31200 TS 32400 TS 33600 TS 34800 TS 36000 TS 37200 TS 38400 TS 39600 TS 40800 TS 42000 TS 43200 TS 44400 TS 45600 TS 46800 TS 48000 TS 49200 TS 50400 TS 51600 TS 52800 TS 54000 TS 55200 TS 56400 TS 57600 TS 58800 TS 60000 TS 61200 TS 62400 TS 63600 TS 64800 TS 66000 TS 67200 TS 68400 TS 69600 TS 70800 TS 72000 TS 73200 TS 74400 TS 75600 TS 76800 TS 78000 TS 79200 TS 80400 TS 81600 TS 82800 TS 84000 TS 85200 TS 86400 TS 87600 TS 88800 TS 90000 TS 91200 TS 92400 TS 93600 TS 94800 TS 96000 TS 97200 TS 98400 TS 99600 TS 100800 TS 102000 TS 103200 TS 104400 TS 105600 TS 106800 TS 108000 TS 109200 TS 110400 TS 111600 TS 112800 TS 114000 TS 115200 TS 116400 TS 117600 TS 118800 TS 120000 TS 121200 TS 122400 TS 123600 TS 124800 TS 126000 TS 127200 TS 128400 TS 129600 TS 130800 TS 132000 TS 133200 TS 134400 TS 135600 MaxDepth %5B1%3A 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0%5D" isContainer="True" shape="(46587, 115)" /> <var name="Graph" type="Graph" qualifier="networkx.classes.graph" value="__pydevd_value_on_demand" isContainer="True" shape="19650" /> <var name="InputBuildings" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Input_Data/Buildings_HasliAare_right.shp" /> <var name="LeveeFailureBuildingsGeojson" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Output_Data/Buildings_LV_1.geojson" /> <var name="LeveeFailureBuildingsGeojson_modified" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Output_Data/Buildings_LV_1_modified.geojson" /> <var name="LeveeFailureLinesGeojson" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Output_Data/ConnectionLines_LV_1.geojson" /> <var name="LeveeFailures_shp" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Input_Data/Aare_LeveeFailures_201911_LV03.shp" /> <var name="Nodes" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Input_Data/HasliAare_nodes_right.xls" /> <var name="NodesShp" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Input_Data/HasliAare_nodes_right.shp" /> <var name="Path_to_csv" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Output_Data/Flooded_Buildings_LV_1.csv" /> <var name="Wet_Graph" type="Graph" qualifier="networkx.classes.graph" value="__pydevd_value_on_demand" isContainer="True" shape="10260" /> <var name="Wet_Graph_Buildings" type="tuple" qualifier="builtins" value="__pydevd_value_on_demand" isContainer="True" shape="2" /> <var name="affected_buildings" type="list" qualifier="builtins" value="__pydevd_value_on_demand" isContainer="True" shape="170" /> <var name="buildings_firstjoin" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Temp_Data/Buildings_join1.shp" /> <var name="buildings_secondjoin" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Temp_Data/Buildings_join2.shp" /> <var name="df_Edges_total" type="DataFrame" qualifier="pandas.core.frame" value="Node_1 Node_2 %5B0%3A 1 864%5D%2C %5B1%3A 10653 13922%5D%2C %5B2%3A 4587 9226%5D%2C %5B3%3A 27592 2%5D%2C %5B4%3A 10204 1525%5D%2C %5B5%3A 15040 23507%5D%2C %5B6%3A 24896 4%5D%2C %5B7%3A 8896 12311%5D%2C %5B8%3A 1457 4936%5D%2C %5B9%3A 5 24896%5D%2C %5B10%3A 5 23344%5D%2C %5B11%3A 16954 4968%5D%2C %5B12%3A 25899 7%5D%2C %5B13%3A 8 25899%5D%2C %5B14%3A 8869 3318%5D%2C %5B15%3A 13696 16693%5D%2C %5B16%3A 4 24896%5D%2C %5B17%3A 1551 17795%5D%2C %5B18%3A 27592 26984%5D%2C %5B19%3A 26444 14%5D%2C %5B20%3A 26 25%5D%2C %5B21%3A 25778 16709%5D%2C %5B22%3A 12998 15040%5D%2C %5B23%3A 18215 19126%5D%2C %5B24%3A 9063 12590%5D%2C %5B25%3A 866 4272%5D%2C %5B26%3A 17640 17311%5D%2C %5B27%3A 865 17640%5D%2C %5B28%3A 866 7627%5D%2C %5B29%3A 17755 17640%5D%2C %5B30%3A 20877 19699%5D%2C %5B31%3A 15 14%5D%2C %5B32%3A 18615 4585%5D%2C %5B33%3A 7048 2025%5D%2C %5B34%3A 4271 19599%5D%2C %5B35%3A 24645 17796%5D%2C %5B36%3A 11115 14126%5D%2C %5B37%3A 2830 8514%5D%2C %5B38%3A 21224 1806%5D%2C %5B39%3A 8896 12313%5D%2C %5B40%3A 4631 12006%5D%2C %5B41%3A 2966 22422%5D%2C %5B42%3A 2064 13240%5D%2C %5B43%3A 25048 13871%5D%2C %5B44%3A 6 23344%5D%2C %5B45%3A 17350 16745%5D%2C %5B46%3A 28568 41312%5D%2C %5B47%3A 1487 3673%5D%2C %5B48%3A 9 25899%5D%2C %5B49%3A 1458 24720%5D%2C %5B50%3A 25899 8%5D" isContainer="True" shape="(275130, 2)" /> <var name="dict_of_MaxDepth" type="dict" qualifier="builtins" value="__pydevd_value_on_demand" isContainer="True" shape="46587" /> <var name="filename_depth" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Input_Data/.sol-files/HasliAare_nds_depth_LV1.sol" /> <var name="filename_geom" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Input_Data/HasliAare.2dm" /> <var name="filename_pickle_Building_Nodes" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Pickle_Data/Buildings_Nodes.pkl" /> <var name="filename_pickle_Depth" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Pickle_Data/Dataframe.pkl" /> <var name="filename_pickle_LeveeFailures" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Pickle_Data/DF_LeveeFailures.pkl" /> <var name="orographically_left" type="list" qualifier="builtins" value="__pydevd_value_on_demand" isContainer="True" shape="20" /> <var name="orographically_right" type="list" qualifier="builtins" value="__pydevd_value_on_demand" isContainer="True" shape="22" /> <var name="pickle_load_DF_LeveeFailures" type="bool" qualifier="builtins" value="False" /> <var name="pickle_load_Depth" type="bool" qualifier="builtins" value="False" /> <var name="pickle_load_NodePerBuilding" type="bool" qualifier="builtins" value="False" /> </xml>

debugger: received >>108     19        pid_7040_id_1707867101952

<< 

Received command: CMD_STEP_OVER 108        19            pid_7040_id_1707867101952

 

('processing internal command ', '<_pydevd_bundle.pydevd_comm.InternalStepThread object at 0x0000018DA722FEF0>')

sending cmd -->       CMD_THREAD_RUN pid_7040_id_1707867101952         108

sending cmd -->   CMD_THREAD_SUSPEND <xml><thread id="pid_7040_id_1707867101952" stop_reason="108" message="" suspend_type="trace"><frame id="1708088275560" name="main" file="C:\Users\Dominik\OneDrive\Dokumente\UniBe\Master\Masterarbeit\11_PythonScripts_V3\Source\FlAare_main.py" line="119"></frame><frame id="1707885214472" name="&lt;module&gt;" file="C:\Users\Dominik\OneDrive\Dokumente\UniBe\Master\Masterarbeit\11_PythonScripts_V3\Source\FlAare_main.py" line="189"></frame></thread></xml>

debugger: received >>114     21        pid_7040_id_1707867101952            1708088275560         FRAME

<< 

Received command: CMD_GET_FRAME 114       21            pid_7040_id_1707867101952           1708088275560         FRAME

 

Buildings have successfully been assigned to the corresponding water depth per node

('processing internal command ', '<_pydevd_bundle.pydevd_comm.InternalGetFrame object at 0x0000018DA7310F60>')

sending cmd -->        CMD_GET_FRAME <xml><var name="ArcGISFC" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Temp_Data/PointFC.shp" /> <var name="ArcGISFC_WGS84" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Temp_Data/PointFC_WGS84.shp" /> <var name="ArcGISLineFCPath" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Temp_Data/LineFC.shp" /> <var name="ArcGISLineFC_joinPath" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Temp_Data/LineFC_join.shp" /> <var name="ArcGISLineFC_joinPath_WGS84" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Temp_Data/LineFC_join_WGS84.shp" /> <var name="ArcGISPointFC" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Temp_Data/PointFC.shp" /> <var name="ArcGISTablepath" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Temp_Data/temp.gdb/testTable" /> <var name="BuildingsDepth" type="DataFrame" qualifier="pandas.core.frame" value="V25OBJECTI Wert X_centroid Y_centroid Node_ID_1 Node_ID_2 Node_ID_3 Node_ID_4 Node_ID_5 Node_ID_6 Node_ID_7 MaxDepth TS 0 TS 1200 TS 2400 TS 3600 TS 4800 TS 6000 TS 7200 TS 8400 TS 9600 TS 10800 TS 12000 TS 13200 TS 14400 TS 15600 TS 16800 TS 18000 TS 19200 TS 20400 TS 21600 TS 22800 TS 24000 TS 25200 TS 26400 TS 27600 TS 28800 TS 30000 TS 31200 TS 32400 TS 33600 TS 34800 TS 36000 TS 37200 TS 38400 TS 39600 TS 40800 TS 42000 TS 43200 TS 44400 TS 45600 TS 46800 TS 48000 TS 49200 TS 50400 TS 51600 TS 52800 TS 54000 TS 55200 TS 56400 TS 57600 TS 58800 TS 60000 TS 61200 TS 62400 TS 63600 TS 64800 TS 66000 TS 67200 TS 68400 TS 69600 TS 70800 TS 72000 TS 73200 TS 74400 TS 75600 TS 76800 TS 78000 TS 79200 TS 80400 TS 81600 TS 82800 TS 84000 TS 85200 TS 86400 TS 87600 TS 88800 TS 90000 TS 91200 TS 92400 TS 93600 TS 94800 TS 96000 TS 97200 TS 98400 TS 99600 TS 100800 TS 102000 TS 103200 TS 104400 TS 105600 TS 106800 TS 108000 TS 109200 TS 110400 TS 111600 TS 112800 TS 114000 TS 115200 TS 116400 TS 117600 TS 118800 TS 120000 TS 121200 TS 122400 TS 123600 TS 124800 TS 126000 TS 127200 TS 128400 TS 129600 TS 130800 TS 132000 TS 133200 TS 134400 TS 135600 %5B0%3A 12349924.0 590893.0 646620.0 177652.0 28705.0 nan nan nan nan nan nan 0.569503 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.015615 0.0322539 0.0489596 0.0656201 0.0824053 0.0990091 0.115693 0.132392 0.149072 0.166532 0.183864 0.200909 0.218699 0.236311 0.254 0.271359 0.28872 0.306078 0.321778 0.337447 0.353043 0.367766 0.382473 0.397177 0.408905 0.420605 0.432298 0.441992 0.451664 0.461358 0.469382 0.477446 0.485409 0.493091 0.500775 0.508452 0.514133 0.519805 0.525474 0.529808 0.534142 0.538472 0.54179 0.545104 0.548442 0.550783%5D" isContainer="True" shape="(8, 126)" /> <var name="Buildings_df" type="dict" qualifier="builtins" value="__pydevd_value_on_demand" isContainer="True" shape="46587" /> <var name="DF_BuildingsNodes" type="DataFrame" qualifier="pandas.core.frame" value="V25OBJECTI Wert Node_IDs X_centroid Y_centroid %5B0%3A 12349993 771556 214 650562.0 177536.0%5D%2C %5B1%3A 12350173 222547 21956 649115.0 177230.0%5D%2C %5B2%3A 12350101 188323 171 649093.0 177338.0%5D%2C %5B3%3A 12350027 201899 30123 649537.0 177464.0%5D%2C %5B4%3A 12349965 1029988 28644 650786.0 177581.0%5D%2C %5B5%3A 12350096 1520679 170 649065.0 177339.0%5D%2C %5B6%3A 12350051 1574601 27029 649822.0 177407.0%5D%2C %5B7%3A 12349958 191526 28644 650777.0 177599.0%5D%2C %5B8%3A 12350009 166709 27190 650937.0 177506.0%5D%2C %5B9%3A 12350037 254098 29132 649714.0 177449.0%5D%2C %5B10%3A 12350163 2599789 41136%2C44535 648895.0 177228.0%5D%2C %5B11%3A 12350166 3483060 26913%2C27796%2C40398 648937.0 177229.0%5D%2C %5B12%3A 12350190 276131 27606 648699.0 177191.0%5D%2C %5B13%3A 12350013 309400 22416%2C25055 650799.0 177500.0%5D%2C %5B14%3A 12349979 380367 46368 650813.0 177557.0%5D%2C %5B15%3A 12350052 681126 28488 649848.0 177406.0%5D%2C %5B16%3A 12350058 170487 29706 649428.0 177387.0%5D%2C %5B17%3A 12350066 469838 26740 649711.0 177376.0%5D%2C %5B18%3A 12350063 370150 25029 649888.0 177384.0%5D%2C %5B19%3A 12350070 997626 23487%2C24153 649824.0 177371.0%5D%2C %5B20%3A 12350068 361099 25910 649843.0 177378.0%5D" isContainer="True" shape="(1291, 5)" /> <var name="DF_Depth" type="DataFrame" qualifier="pandas.core.frame" value="Node_IDs X Y TS 0 TS 1200 TS 2400 TS 3600 TS 4800 TS 6000 TS 7200 TS 8400 TS 9600 TS 10800 TS 12000 TS 13200 TS 14400 TS 15600 TS 16800 TS 18000 TS 19200 TS 20400 TS 21600 TS 22800 TS 24000 TS 25200 TS 26400 TS 27600 TS 28800 TS 30000 TS 31200 TS 32400 TS 33600 TS 34800 TS 36000 TS 37200 TS 38400 TS 39600 TS 40800 TS 42000 TS 43200 TS 44400 TS 45600 TS 46800 TS 48000 TS 49200 TS 50400 TS 51600 TS 52800 TS 54000 TS 55200 TS 56400 TS 57600 TS 58800 TS 60000 TS 61200 TS 62400 TS 63600 TS 64800 TS 66000 TS 67200 TS 68400 TS 69600 TS 70800 TS 72000 TS 73200 TS 74400 TS 75600 TS 76800 TS 78000 TS 79200 TS 80400 TS 81600 TS 82800 TS 84000 TS 85200 TS 86400 TS 87600 TS 88800 TS 90000 TS 91200 TS 92400 TS 93600 TS 94800 TS 96000 TS 97200 TS 98400 TS 99600 TS 100800 TS 102000 TS 103200 TS 104400 TS 105600 TS 106800 TS 108000 TS 109200 TS 110400 TS 111600 TS 112800 TS 114000 TS 115200 TS 116400 TS 117600 TS 118800 TS 120000 TS 121200 TS 122400 TS 123600 TS 124800 TS 126000 TS 127200 TS 128400 TS 129600 TS 130800 TS 132000 TS 133200 TS 134400 TS 135600 MaxDepth %5B4%3A 4.0 646615.190622 176613.214741 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0705628 0.140028 0.167659 0.183623 0.200867 0.218025 0.234595 0.252857 0.270342 0.288109 0.306499 0.324908 0.343306 0.36105 0.378762 0.396468 0.413846 0.43121 0.44857 0.465929 0.483285 0.500639 0.517665 0.534683 0.5517 0.568388 0.58507 0.601751 0.618433 0.635113 0.651793 0.669169 0.686185 0.703182 0.719125 0.736461 0.753801 0.77144 0.789122 0.806802 0.824149 0.841491 0.858831 0.87452 0.890192 0.905865 0.920546 0.935219 0.949894 0.961588 0.97326 0.984932 0.994612 1.00428 1.01395 1.02196 1.02995 1.03795 1.04562 1.05328 1.06095 1.06662 1.07229 1.07796 1.0823 1.08663 1.09097 1.09431 1.09764 1.10098 1.10331 1.10565 1.10798 1.11032 1.11265 1.11499 1.11666 1.11833 1.12 1.12067%5D" isContainer="True" shape="(22731, 118)" /> <var name="DF_LeveeFailures" type="DataFrame" qualifier="pandas.core.frame" value="DB X_center Y_center %5B1%3A 1.0 657240.0 174874.0%5D%2C %5B2%3A 2.0 655871.0 175511.0%5D%2C %5B3%3A 3.0 655087.0 176100.0%5D%2C %5B4%3A 4.0 649735.0 177332.0%5D%2C %5B5%3A 5.0 609362.0 187139.0%5D%2C %5B6%3A 6.0 609304.0 187327.0%5D%2C %5B7%3A 7.0 609225.0 187516.0%5D%2C %5B8%3A 8.0 609169.0 187698.0%5D%2C %5B9%3A 9.0 609126.0 187894.0%5D%2C %5B10%3A 10.0 609097.0 188098.0%5D%2C %5B11%3A 11.0 609068.0 188281.0%5D%2C %5B12%3A 12.0 609034.0 188479.0%5D%2C %5B13%3A 13.0 609011.0 188676.0%5D%2C %5B14%3A 14.0 608977.0 188872.0%5D%2C %5B15%3A 15.0 608951.0 189070.0%5D%2C %5B16%3A 16.0 608908.0 189267.0%5D%2C %5B17%3A 17.0 608831.0 189454.0%5D%2C %5B18%3A 18.0 608744.0 189637.0%5D%2C %5B19%3A 19.0 608664.0 189814.0%5D%2C %5B20%3A 20.0 608585.0 190002.0%5D%2C %5B21%3A 21.0 608503.0 190183.0%5D%2C %5B22%3A 22.0 608414.0 190369.0%5D%2C %5B23%3A 23.0 608335.0 190544.0%5D%2C %5B24%3A 24.0 607706.0 191828.0%5D%2C %5B25%3A 25.0 607624.0 192319.0%5D%2C %5B26%3A 26.0 607463.0 193164.0%5D%2C %5B27%3A 27.0 607247.0 193593.0%5D%2C %5B28%3A 28.0 606941.0 193989.0%5D%2C %5B29%3A 29.0 606642.0 194390.0%5D%2C %5B30%3A 30.0 606341.0 194786.0%5D%2C %5B31%3A 31.0 605943.0 195085.0%5D%2C %5B32%3A 32.0 605539.0 195369.0%5D%2C %5B33%3A 33.0 605165.0 195712.0%5D%2C %5B34%3A 34.0 604881.0 196123.0%5D" isContainer="True" shape="(42, 3)" /> <var name="DF_WettBuildingsNodes" type="DataFrame" qualifier="pandas.core.frame" value="V25OBJECTI Wert Node_IDs X_centroid Y_centroid Node_ID_1 Node_ID_2 Node_ID_3 Node_ID_4 Node_ID_5 Node_ID_6 Node_ID_7 %5B0%3A 12349993 771556 214 650562.0 177536.0 214 None None None None None None%5D%2C %5B1%3A 12350173 222547 21956 649115.0 177230.0 21956 None None None None None None%5D%2C %5B2%3A 12350101 188323 171 649093.0 177338.0 171 None None None None None None%5D%2C %5B3%3A 12350027 201899 30123 649537.0 177464.0 30123 None None None None None None%5D%2C %5B4%3A 12349965 1029988 28644 650786.0 177581.0 28644 None None None None None None%5D%2C %5B5%3A 12350096 1520679 170 649065.0 177339.0 170 None None None None None None%5D%2C %5B6%3A 12350051 1574601 27029 649822.0 177407.0 27029 None None None None None None%5D%2C %5B7%3A 12349958 191526 28644 650777.0 177599.0 28644 None None None None None None%5D%2C %5B9%3A 12350037 254098 29132 649714.0 177449.0 29132 None None None None None None%5D" isContainer="True" shape="(1121, 12)" /> <var name="Depth_df" type="DataFrame" qualifier="pandas.core.frame" value="TS 0 TS 1200 TS 2400 TS 3600 TS 4800 TS 6000 TS 7200 TS 8400 TS 9600 TS 10800 TS 12000 TS 13200 TS 14400 TS 15600 TS 16800 TS 18000 TS 19200 TS 20400 TS 21600 TS 22800 TS 24000 TS 25200 TS 26400 TS 27600 TS 28800 TS 30000 TS 31200 TS 32400 TS 33600 TS 34800 TS 36000 TS 37200 TS 38400 TS 39600 TS 40800 TS 42000 TS 43200 TS 44400 TS 45600 TS 46800 TS 48000 TS 49200 TS 50400 TS 51600 TS 52800 TS 54000 TS 55200 TS 56400 TS 57600 TS 58800 TS 60000 TS 61200 TS 62400 TS 63600 TS 64800 TS 66000 TS 67200 TS 68400 TS 69600 TS 70800 TS 72000 TS 73200 TS 74400 TS 75600 TS 76800 TS 78000 TS 79200 TS 80400 TS 81600 TS 82800 TS 84000 TS 85200 TS 86400 TS 87600 TS 88800 TS 90000 TS 91200 TS 92400 TS 93600 TS 94800 TS 96000 TS 97200 TS 98400 TS 99600 TS 100800 TS 102000 TS 103200 TS 104400 TS 105600 TS 106800 TS 108000 TS 109200 TS 110400 TS 111600 TS 112800 TS 114000 TS 115200 TS 116400 TS 117600 TS 118800 TS 120000 TS 121200 TS 122400 TS 123600 TS 124800 TS 126000 TS 127200 TS 128400 TS 129600 TS 130800 TS 132000 TS 133200 TS 134400 TS 135600 MaxDepth %5B1%3A 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0%5D" isContainer="True" shape="(46587, 115)" /> <var name="Graph" type="Graph" qualifier="networkx.classes.graph" value="__pydevd_value_on_demand" isContainer="True" shape="19650" /> <var name="InputBuildings" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Input_Data/Buildings_HasliAare_right.shp" /> <var name="LeveeFailureBuildingsGeojson" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Output_Data/Buildings_LV_1.geojson" /> <var name="LeveeFailureBuildingsGeojson_modified" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Output_Data/Buildings_LV_1_modified.geojson" /> <var name="LeveeFailureLinesGeojson" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Output_Data/ConnectionLines_LV_1.geojson" /> <var name="LeveeFailures_shp" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Input_Data/Aare_LeveeFailures_201911_LV03.shp" /> <var name="Nodes" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Input_Data/HasliAare_nodes_right.xls" /> <var name="NodesShp" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Input_Data/HasliAare_nodes_right.shp" /> <var name="Path_to_csv" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Output_Data/Flooded_Buildings_LV_1.csv" /> <var name="Wet_Graph" type="Graph" qualifier="networkx.classes.graph" value="__pydevd_value_on_demand" isContainer="True" shape="10260" /> <var name="Wet_Graph_Buildings" type="tuple" qualifier="builtins" value="__pydevd_value_on_demand" isContainer="True" shape="2" /> <var name="affected_buildings" type="list" qualifier="builtins" value="__pydevd_value_on_demand" isContainer="True" shape="170" /> <var name="buildings_firstjoin" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Temp_Data/Buildings_join1.shp" /> <var name="buildings_secondjoin" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Temp_Data/Buildings_join2.shp" /> <var name="df_Edges_total" type="DataFrame" qualifier="pandas.core.frame" value="Node_1 Node_2 %5B0%3A 1 864%5D%2C %5B1%3A 10653 13922%5D%2C %5B2%3A 4587 9226%5D%2C %5B3%3A 27592 2%5D%2C %5B4%3A 10204 1525%5D%2C %5B5%3A 15040 23507%5D%2C %5B6%3A 24896 4%5D%2C %5B7%3A 8896 12311%5D%2C %5B8%3A 1457 4936%5D%2C %5B9%3A 5 24896%5D%2C %5B10%3A 5 23344%5D%2C %5B11%3A 16954 4968%5D%2C %5B12%3A 25899 7%5D%2C %5B13%3A 8 25899%5D%2C %5B14%3A 8869 3318%5D%2C %5B15%3A 13696 16693%5D%2C %5B16%3A 4 24896%5D%2C %5B17%3A 1551 17795%5D%2C %5B18%3A 27592 26984%5D%2C %5B19%3A 26444 14%5D%2C %5B20%3A 26 25%5D%2C %5B21%3A 25778 16709%5D%2C %5B22%3A 12998 15040%5D%2C %5B23%3A 18215 19126%5D%2C %5B24%3A 9063 12590%5D%2C %5B25%3A 866 4272%5D%2C %5B26%3A 17640 17311%5D%2C %5B27%3A 865 17640%5D%2C %5B28%3A 866 7627%5D%2C %5B29%3A 17755 17640%5D%2C %5B30%3A 20877 19699%5D%2C %5B31%3A 15 14%5D%2C %5B32%3A 18615 4585%5D%2C %5B33%3A 7048 2025%5D%2C %5B34%3A 4271 19599%5D%2C %5B35%3A 24645 17796%5D%2C %5B36%3A 11115 14126%5D%2C %5B37%3A 2830 8514%5D%2C %5B38%3A 21224 1806%5D%2C %5B39%3A 8896 12313%5D%2C %5B40%3A 4631 12006%5D%2C %5B41%3A 2966 22422%5D%2C %5B42%3A 2064 13240%5D%2C %5B43%3A 25048 13871%5D%2C %5B44%3A 6 23344%5D%2C %5B45%3A 17350 16745%5D%2C %5B46%3A 28568 41312%5D%2C %5B47%3A 1487 3673%5D%2C %5B48%3A 9 25899%5D%2C %5B49%3A 1458 24720%5D%2C %5B50%3A 25899 8%5D" isContainer="True" shape="(275130, 2)" /> <var name="dict_of_MaxDepth" type="dict" qualifier="builtins" value="__pydevd_value_on_demand" isContainer="True" shape="46587" /> <var name="filename_depth" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Input_Data/.sol-files/HasliAare_nds_depth_LV1.sol" /> <var name="filename_geom" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Input_Data/HasliAare.2dm" /> <var name="filename_pickle_Building_Nodes" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Pickle_Data/Buildings_Nodes.pkl" /> <var name="filename_pickle_Depth" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Pickle_Data/Dataframe.pkl" /> <var name="filename_pickle_LeveeFailures" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Pickle_Data/DF_LeveeFailures.pkl" /> <var name="orographically_left" type="list" qualifier="builtins" value="__pydevd_value_on_demand" isContainer="True" shape="20" /> <var name="orographically_right" type="list" qualifier="builtins" value="__pydevd_value_on_demand" isContainer="True" shape="22" /> <var name="pickle_load_DF_LeveeFailures" type="bool" qualifier="builtins" value="False" /> <var name="pickle_load_Depth" type="bool" qualifier="builtins" value="False" /> <var name="pickle_load_NodePerBuilding" type="bool" qualifier="builtins" value="False" /> </xml>

debugger: received >>108     23        pid_7040_id_1707867101952

<< 

Received command: CMD_STEP_OVER 108        23            pid_7040_id_1707867101952

 

('processing internal command ', '<_pydevd_bundle.pydevd_comm.InternalStepThread object at 0x0000018DB32D0780>')

sending cmd -->       CMD_THREAD_RUN pid_7040_id_1707867101952         108

sending cmd -->   CMD_THREAD_SUSPEND <xml><thread id="pid_7040_id_1707867101952" stop_reason="108" message="" suspend_type="trace"><frame id="1708088275560" name="main" file="C:\Users\Dominik\OneDrive\Dokumente\UniBe\Master\Masterarbeit\11_PythonScripts_V3\Source\FlAare_main.py" line="120"></frame><frame id="1707885214472" name="&lt;module&gt;" file="C:\Users\Dominik\OneDrive\Dokumente\UniBe\Master\Masterarbeit\11_PythonScripts_V3\Source\FlAare_main.py" line="189"></frame></thread></xml>

debugger: received >>114     25        pid_7040_id_1707867101952            1708088275560         FRAME

<< 

Received command: CMD_GET_FRAME 114       25            pid_7040_id_1707867101952           1708088275560         FRAME

 

('processing internal command ', '<_pydevd_bundle.pydevd_comm.InternalGetFrame object at 0x0000018DA7310F60>')

sending cmd -->        CMD_GET_FRAME <xml><var name="ArcGISFC" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Temp_Data/PointFC.shp" /> <var name="ArcGISFC_WGS84" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Temp_Data/PointFC_WGS84.shp" /> <var name="ArcGISLineFCPath" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Temp_Data/LineFC.shp" /> <var name="ArcGISLineFC_joinPath" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Temp_Data/LineFC_join.shp" /> <var name="ArcGISLineFC_joinPath_WGS84" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Temp_Data/LineFC_join_WGS84.shp" /> <var name="ArcGISPointFC" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Temp_Data/PointFC.shp" /> <var name="ArcGISTablepath" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Temp_Data/temp.gdb/testTable" /> <var name="BuildingsDepth" type="DataFrame" qualifier="pandas.core.frame" value="V25OBJECTI Wert X_centroid Y_centroid Node_ID_1 Node_ID_2 Node_ID_3 Node_ID_4 Node_ID_5 Node_ID_6 Node_ID_7 MaxDepth TS 0 TS 1200 TS 2400 TS 3600 TS 4800 TS 6000 TS 7200 TS 8400 TS 9600 TS 10800 TS 12000 TS 13200 TS 14400 TS 15600 TS 16800 TS 18000 TS 19200 TS 20400 TS 21600 TS 22800 TS 24000 TS 25200 TS 26400 TS 27600 TS 28800 TS 30000 TS 31200 TS 32400 TS 33600 TS 34800 TS 36000 TS 37200 TS 38400 TS 39600 TS 40800 TS 42000 TS 43200 TS 44400 TS 45600 TS 46800 TS 48000 TS 49200 TS 50400 TS 51600 TS 52800 TS 54000 TS 55200 TS 56400 TS 57600 TS 58800 TS 60000 TS 61200 TS 62400 TS 63600 TS 64800 TS 66000 TS 67200 TS 68400 TS 69600 TS 70800 TS 72000 TS 73200 TS 74400 TS 75600 TS 76800 TS 78000 TS 79200 TS 80400 TS 81600 TS 82800 TS 84000 TS 85200 TS 86400 TS 87600 TS 88800 TS 90000 TS 91200 TS 92400 TS 93600 TS 94800 TS 96000 TS 97200 TS 98400 TS 99600 TS 100800 TS 102000 TS 103200 TS 104400 TS 105600 TS 106800 TS 108000 TS 109200 TS 110400 TS 111600 TS 112800 TS 114000 TS 115200 TS 116400 TS 117600 TS 118800 TS 120000 TS 121200 TS 122400 TS 123600 TS 124800 TS 126000 TS 127200 TS 128400 TS 129600 TS 130800 TS 132000 TS 133200 TS 134400 TS 135600 %5B0%3A 12349924.0 590893.0 646620.0 177652.0 28705.0 nan nan nan nan nan nan 0.569503 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.015615 0.0322539 0.0489596 0.0656201 0.0824053 0.0990091 0.115693 0.132392 0.149072 0.166532 0.183864 0.200909 0.218699 0.236311 0.254 0.271359 0.28872 0.306078 0.321778 0.337447 0.353043 0.367766 0.382473 0.397177 0.408905 0.420605 0.432298 0.441992 0.451664 0.461358 0.469382 0.477446 0.485409 0.493091 0.500775 0.508452 0.514133 0.519805 0.525474 0.529808 0.534142 0.538472 0.54179 0.545104 0.548442 0.550783%5D" isContainer="True" shape="(8, 126)" /> <var name="Buildings_df" type="dict" qualifier="builtins" value="__pydevd_value_on_demand" isContainer="True" shape="46587" /> <var name="DF_BuildingsNodes" type="DataFrame" qualifier="pandas.core.frame" value="V25OBJECTI Wert Node_IDs X_centroid Y_centroid %5B0%3A 12349993 771556 214 650562.0 177536.0%5D%2C %5B1%3A 12350173 222547 21956 649115.0 177230.0%5D%2C %5B2%3A 12350101 188323 171 649093.0 177338.0%5D%2C %5B3%3A 12350027 201899 30123 649537.0 177464.0%5D%2C %5B4%3A 12349965 1029988 28644 650786.0 177581.0%5D%2C %5B5%3A 12350096 1520679 170 649065.0 177339.0%5D%2C %5B6%3A 12350051 1574601 27029 649822.0 177407.0%5D%2C %5B7%3A 12349958 191526 28644 650777.0 177599.0%5D%2C %5B8%3A 12350009 166709 27190 650937.0 177506.0%5D%2C %5B9%3A 12350037 254098 29132 649714.0 177449.0%5D%2C %5B10%3A 12350163 2599789 41136%2C44535 648895.0 177228.0%5D%2C %5B11%3A 12350166 3483060 26913%2C27796%2C40398 648937.0 177229.0%5D%2C %5B12%3A 12350190 276131 27606 648699.0 177191.0%5D%2C %5B13%3A 12350013 309400 22416%2C25055 650799.0 177500.0%5D%2C %5B14%3A 12349979 380367 46368 650813.0 177557.0%5D%2C %5B15%3A 12350052 681126 28488 649848.0 177406.0%5D%2C %5B16%3A 12350058 170487 29706 649428.0 177387.0%5D%2C %5B17%3A 12350066 469838 26740 649711.0 177376.0%5D%2C %5B18%3A 12350063 370150 25029 649888.0 177384.0%5D%2C %5B19%3A 12350070 997626 23487%2C24153 649824.0 177371.0%5D%2C %5B20%3A 12350068 361099 25910 649843.0 177378.0%5D" isContainer="True" shape="(1291, 5)" /> <var name="DF_Depth" type="DataFrame" qualifier="pandas.core.frame" value="Node_IDs X Y TS 0 TS 1200 TS 2400 TS 3600 TS 4800 TS 6000 TS 7200 TS 8400 TS 9600 TS 10800 TS 12000 TS 13200 TS 14400 TS 15600 TS 16800 TS 18000 TS 19200 TS 20400 TS 21600 TS 22800 TS 24000 TS 25200 TS 26400 TS 27600 TS 28800 TS 30000 TS 31200 TS 32400 TS 33600 TS 34800 TS 36000 TS 37200 TS 38400 TS 39600 TS 40800 TS 42000 TS 43200 TS 44400 TS 45600 TS 46800 TS 48000 TS 49200 TS 50400 TS 51600 TS 52800 TS 54000 TS 55200 TS 56400 TS 57600 TS 58800 TS 60000 TS 61200 TS 62400 TS 63600 TS 64800 TS 66000 TS 67200 TS 68400 TS 69600 TS 70800 TS 72000 TS 73200 TS 74400 TS 75600 TS 76800 TS 78000 TS 79200 TS 80400 TS 81600 TS 82800 TS 84000 TS 85200 TS 86400 TS 87600 TS 88800 TS 90000 TS 91200 TS 92400 TS 93600 TS 94800 TS 96000 TS 97200 TS 98400 TS 99600 TS 100800 TS 102000 TS 103200 TS 104400 TS 105600 TS 106800 TS 108000 TS 109200 TS 110400 TS 111600 TS 112800 TS 114000 TS 115200 TS 116400 TS 117600 TS 118800 TS 120000 TS 121200 TS 122400 TS 123600 TS 124800 TS 126000 TS 127200 TS 128400 TS 129600 TS 130800 TS 132000 TS 133200 TS 134400 TS 135600 MaxDepth %5B4%3A 4.0 646615.190622 176613.214741 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0705628 0.140028 0.167659 0.183623 0.200867 0.218025 0.234595 0.252857 0.270342 0.288109 0.306499 0.324908 0.343306 0.36105 0.378762 0.396468 0.413846 0.43121 0.44857 0.465929 0.483285 0.500639 0.517665 0.534683 0.5517 0.568388 0.58507 0.601751 0.618433 0.635113 0.651793 0.669169 0.686185 0.703182 0.719125 0.736461 0.753801 0.77144 0.789122 0.806802 0.824149 0.841491 0.858831 0.87452 0.890192 0.905865 0.920546 0.935219 0.949894 0.961588 0.97326 0.984932 0.994612 1.00428 1.01395 1.02196 1.02995 1.03795 1.04562 1.05328 1.06095 1.06662 1.07229 1.07796 1.0823 1.08663 1.09097 1.09431 1.09764 1.10098 1.10331 1.10565 1.10798 1.11032 1.11265 1.11499 1.11666 1.11833 1.12 1.12067%5D" isContainer="True" shape="(22731, 118)" /> <var name="DF_LeveeFailures" type="DataFrame" qualifier="pandas.core.frame" value="DB X_center Y_center %5B1%3A 1.0 657240.0 174874.0%5D%2C %5B2%3A 2.0 655871.0 175511.0%5D%2C %5B3%3A 3.0 655087.0 176100.0%5D%2C %5B4%3A 4.0 649735.0 177332.0%5D%2C %5B5%3A 5.0 609362.0 187139.0%5D%2C %5B6%3A 6.0 609304.0 187327.0%5D%2C %5B7%3A 7.0 609225.0 187516.0%5D%2C %5B8%3A 8.0 609169.0 187698.0%5D%2C %5B9%3A 9.0 609126.0 187894.0%5D%2C %5B10%3A 10.0 609097.0 188098.0%5D%2C %5B11%3A 11.0 609068.0 188281.0%5D%2C %5B12%3A 12.0 609034.0 188479.0%5D%2C %5B13%3A 13.0 609011.0 188676.0%5D%2C %5B14%3A 14.0 608977.0 188872.0%5D%2C %5B15%3A 15.0 608951.0 189070.0%5D%2C %5B16%3A 16.0 608908.0 189267.0%5D%2C %5B17%3A 17.0 608831.0 189454.0%5D%2C %5B18%3A 18.0 608744.0 189637.0%5D%2C %5B19%3A 19.0 608664.0 189814.0%5D%2C %5B20%3A 20.0 608585.0 190002.0%5D%2C %5B21%3A 21.0 608503.0 190183.0%5D%2C %5B22%3A 22.0 608414.0 190369.0%5D%2C %5B23%3A 23.0 608335.0 190544.0%5D%2C %5B24%3A 24.0 607706.0 191828.0%5D%2C %5B25%3A 25.0 607624.0 192319.0%5D%2C %5B26%3A 26.0 607463.0 193164.0%5D%2C %5B27%3A 27.0 607247.0 193593.0%5D%2C %5B28%3A 28.0 606941.0 193989.0%5D%2C %5B29%3A 29.0 606642.0 194390.0%5D%2C %5B30%3A 30.0 606341.0 194786.0%5D%2C %5B31%3A 31.0 605943.0 195085.0%5D%2C %5B32%3A 32.0 605539.0 195369.0%5D%2C %5B33%3A 33.0 605165.0 195712.0%5D%2C %5B34%3A 34.0 604881.0 196123.0%5D" isContainer="True" shape="(42, 3)" /> <var name="DF_WettBuildingsNodes" type="DataFrame" qualifier="pandas.core.frame" value="V25OBJECTI Wert Node_IDs X_centroid Y_centroid Node_ID_1 Node_ID_2 Node_ID_3 Node_ID_4 Node_ID_5 Node_ID_6 Node_ID_7 %5B0%3A 12349993 771556 214 650562.0 177536.0 214 None None None None None None%5D%2C %5B1%3A 12350173 222547 21956 649115.0 177230.0 21956 None None None None None None%5D%2C %5B2%3A 12350101 188323 171 649093.0 177338.0 171 None None None None None None%5D%2C %5B3%3A 12350027 201899 30123 649537.0 177464.0 30123 None None None None None None%5D%2C %5B4%3A 12349965 1029988 28644 650786.0 177581.0 28644 None None None None None None%5D%2C %5B5%3A 12350096 1520679 170 649065.0 177339.0 170 None None None None None None%5D%2C %5B6%3A 12350051 1574601 27029 649822.0 177407.0 27029 None None None None None None%5D%2C %5B7%3A 12349958 191526 28644 650777.0 177599.0 28644 None None None None None None%5D%2C %5B9%3A 12350037 254098 29132 649714.0 177449.0 29132 None None None None None None%5D" isContainer="True" shape="(1121, 12)" /> <var name="Depth_df" type="DataFrame" qualifier="pandas.core.frame" value="TS 0 TS 1200 TS 2400 TS 3600 TS 4800 TS 6000 TS 7200 TS 8400 TS 9600 TS 10800 TS 12000 TS 13200 TS 14400 TS 15600 TS 16800 TS 18000 TS 19200 TS 20400 TS 21600 TS 22800 TS 24000 TS 25200 TS 26400 TS 27600 TS 28800 TS 30000 TS 31200 TS 32400 TS 33600 TS 34800 TS 36000 TS 37200 TS 38400 TS 39600 TS 40800 TS 42000 TS 43200 TS 44400 TS 45600 TS 46800 TS 48000 TS 49200 TS 50400 TS 51600 TS 52800 TS 54000 TS 55200 TS 56400 TS 57600 TS 58800 TS 60000 TS 61200 TS 62400 TS 63600 TS 64800 TS 66000 TS 67200 TS 68400 TS 69600 TS 70800 TS 72000 TS 73200 TS 74400 TS 75600 TS 76800 TS 78000 TS 79200 TS 80400 TS 81600 TS 82800 TS 84000 TS 85200 TS 86400 TS 87600 TS 88800 TS 90000 TS 91200 TS 92400 TS 93600 TS 94800 TS 96000 TS 97200 TS 98400 TS 99600 TS 100800 TS 102000 TS 103200 TS 104400 TS 105600 TS 106800 TS 108000 TS 109200 TS 110400 TS 111600 TS 112800 TS 114000 TS 115200 TS 116400 TS 117600 TS 118800 TS 120000 TS 121200 TS 122400 TS 123600 TS 124800 TS 126000 TS 127200 TS 128400 TS 129600 TS 130800 TS 132000 TS 133200 TS 134400 TS 135600 MaxDepth %5B1%3A 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0%5D" isContainer="True" shape="(46587, 115)" /> <var name="Graph" type="Graph" qualifier="networkx.classes.graph" value="__pydevd_value_on_demand" isContainer="True" shape="19650" /> <var name="InputBuildings" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Input_Data/Buildings_HasliAare_right.shp" /> <var name="LeveeFailureBuildingsGeojson" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Output_Data/Buildings_LV_1.geojson" /> <var name="LeveeFailureBuildingsGeojson_modified" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Output_Data/Buildings_LV_1_modified.geojson" /> <var name="LeveeFailureLinesGeojson" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Output_Data/ConnectionLines_LV_1.geojson" /> <var name="LeveeFailures_shp" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Input_Data/Aare_LeveeFailures_201911_LV03.shp" /> <var name="Nodes" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Input_Data/HasliAare_nodes_right.xls" /> <var name="NodesShp" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Input_Data/HasliAare_nodes_right.shp" /> <var name="Path_to_csv" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Output_Data/Flooded_Buildings_LV_1.csv" /> <var name="Wet_Graph" type="Graph" qualifier="networkx.classes.graph" value="__pydevd_value_on_demand" isContainer="True" shape="10260" /> <var name="Wet_Graph_Buildings" type="tuple" qualifier="builtins" value="__pydevd_value_on_demand" isContainer="True" shape="2" /> <var name="affected_buildings" type="list" qualifier="builtins" value="__pydevd_value_on_demand" isContainer="True" shape="170" /> <var name="buildings_firstjoin" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Temp_Data/Buildings_join1.shp" /> <var name="buildings_secondjoin" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Temp_Data/Buildings_join2.shp" /> <var name="df_Edges_total" type="DataFrame" qualifier="pandas.core.frame" value="Node_1 Node_2 %5B0%3A 1 864%5D%2C %5B1%3A 10653 13922%5D%2C %5B2%3A 4587 9226%5D%2C %5B3%3A 27592 2%5D%2C %5B4%3A 10204 1525%5D%2C %5B5%3A 15040 23507%5D%2C %5B6%3A 24896 4%5D%2C %5B7%3A 8896 12311%5D%2C %5B8%3A 1457 4936%5D%2C %5B9%3A 5 24896%5D%2C %5B10%3A 5 23344%5D%2C %5B11%3A 16954 4968%5D%2C %5B12%3A 25899 7%5D%2C %5B13%3A 8 25899%5D%2C %5B14%3A 8869 3318%5D%2C %5B15%3A 13696 16693%5D%2C %5B16%3A 4 24896%5D%2C %5B17%3A 1551 17795%5D%2C %5B18%3A 27592 26984%5D%2C %5B19%3A 26444 14%5D%2C %5B20%3A 26 25%5D%2C %5B21%3A 25778 16709%5D%2C %5B22%3A 12998 15040%5D%2C %5B23%3A 18215 19126%5D%2C %5B24%3A 9063 12590%5D%2C %5B25%3A 866 4272%5D%2C %5B26%3A 17640 17311%5D%2C %5B27%3A 865 17640%5D%2C %5B28%3A 866 7627%5D%2C %5B29%3A 17755 17640%5D%2C %5B30%3A 20877 19699%5D%2C %5B31%3A 15 14%5D%2C %5B32%3A 18615 4585%5D%2C %5B33%3A 7048 2025%5D%2C %5B34%3A 4271 19599%5D%2C %5B35%3A 24645 17796%5D%2C %5B36%3A 11115 14126%5D%2C %5B37%3A 2830 8514%5D%2C %5B38%3A 21224 1806%5D%2C %5B39%3A 8896 12313%5D%2C %5B40%3A 4631 12006%5D%2C %5B41%3A 2966 22422%5D%2C %5B42%3A 2064 13240%5D%2C %5B43%3A 25048 13871%5D%2C %5B44%3A 6 23344%5D%2C %5B45%3A 17350 16745%5D%2C %5B46%3A 28568 41312%5D%2C %5B47%3A 1487 3673%5D%2C %5B48%3A 9 25899%5D%2C %5B49%3A 1458 24720%5D%2C %5B50%3A 25899 8%5D" isContainer="True" shape="(275130, 2)" /> <var name="dict_of_MaxDepth" type="dict" qualifier="builtins" value="__pydevd_value_on_demand" isContainer="True" shape="46587" /> <var name="filename_depth" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Input_Data/.sol-files/HasliAare_nds_depth_LV1.sol" /> <var name="filename_geom" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Input_Data/HasliAare.2dm" /> <var name="filename_pickle_Building_Nodes" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Pickle_Data/Buildings_Nodes.pkl" /> <var name="filename_pickle_Depth" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Pickle_Data/Dataframe.pkl" /> <var name="filename_pickle_LeveeFailures" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Pickle_Data/DF_LeveeFailures.pkl" /> <var name="orographically_left" type="list" qualifier="builtins" value="__pydevd_value_on_demand" isContainer="True" shape="20" /> <var name="orographically_right" type="list" qualifier="builtins" value="__pydevd_value_on_demand" isContainer="True" shape="22" /> <var name="pickle_load_DF_LeveeFailures" type="bool" qualifier="builtins" value="False" /> <var name="pickle_load_Depth" type="bool" qualifier="builtins" value="False" /> <var name="pickle_load_NodePerBuilding" type="bool" qualifier="builtins" value="False" /> </xml>

debugger: received >>108     27        pid_7040_id_1707867101952

<< 

Received command: CMD_STEP_OVER 108        27            pid_7040_id_1707867101952

 

('processing internal command ', '<_pydevd_bundle.pydevd_comm.InternalStepThread object at 0x0000018DA722FEF0>')

sending cmd -->       CMD_THREAD_RUN pid_7040_id_1707867101952         108

sending cmd -->   CMD_THREAD_SUSPEND <xml><thread id="pid_7040_id_1707867101952" stop_reason="108" message="" suspend_type="trace"><frame id="1708088275560" name="main" file="C:\Users\Dominik\OneDrive\Dokumente\UniBe\Master\Masterarbeit\11_PythonScripts_V3\Source\FlAare_main.py" line="121"></frame><frame id="1707885214472" name="&lt;module&gt;" file="C:\Users\Dominik\OneDrive\Dokumente\UniBe\Master\Masterarbeit\11_PythonScripts_V3\Source\FlAare_main.py" line="189"></frame></thread></xml>

debugger: received >>114     29        pid_7040_id_1707867101952            1708088275560         FRAME

<< 

Received command: CMD_GET_FRAME 114       29            pid_7040_id_1707867101952           1708088275560         FRAME

 

('processing internal command ', '<_pydevd_bundle.pydevd_comm.InternalGetFrame object at 0x0000018DA7310F60>')

sending cmd -->        CMD_GET_FRAME <xml><var name="ArcGISFC" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Temp_Data/PointFC.shp" /> <var name="ArcGISFC_WGS84" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Temp_Data/PointFC_WGS84.shp" /> <var name="ArcGISLineFCPath" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Temp_Data/LineFC.shp" /> <var name="ArcGISLineFC_joinPath" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Temp_Data/LineFC_join.shp" /> <var name="ArcGISLineFC_joinPath_WGS84" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Temp_Data/LineFC_join_WGS84.shp" /> <var name="ArcGISPointFC" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Temp_Data/PointFC.shp" /> <var name="ArcGISTablepath" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Temp_Data/temp.gdb/testTable" /> <var name="BuildingsDepth" type="DataFrame" qualifier="pandas.core.frame" value="V25OBJECTI Wert X_centroid Y_centroid Node_ID_1 Node_ID_2 Node_ID_3 Node_ID_4 Node_ID_5 Node_ID_6 Node_ID_7 MaxDepth TS 0 TS 1200 TS 2400 TS 3600 TS 4800 TS 6000 TS 7200 TS 8400 TS 9600 TS 10800 TS 12000 TS 13200 TS 14400 TS 15600 TS 16800 TS 18000 TS 19200 TS 20400 TS 21600 TS 22800 TS 24000 TS 25200 TS 26400 TS 27600 TS 28800 TS 30000 TS 31200 TS 32400 TS 33600 TS 34800 TS 36000 TS 37200 TS 38400 TS 39600 TS 40800 TS 42000 TS 43200 TS 44400 TS 45600 TS 46800 TS 48000 TS 49200 TS 50400 TS 51600 TS 52800 TS 54000 TS 55200 TS 56400 TS 57600 TS 58800 TS 60000 TS 61200 TS 62400 TS 63600 TS 64800 TS 66000 TS 67200 TS 68400 TS 69600 TS 70800 TS 72000 TS 73200 TS 74400 TS 75600 TS 76800 TS 78000 TS 79200 TS 80400 TS 81600 TS 82800 TS 84000 TS 85200 TS 86400 TS 87600 TS 88800 TS 90000 TS 91200 TS 92400 TS 93600 TS 94800 TS 96000 TS 97200 TS 98400 TS 99600 TS 100800 TS 102000 TS 103200 TS 104400 TS 105600 TS 106800 TS 108000 TS 109200 TS 110400 TS 111600 TS 112800 TS 114000 TS 115200 TS 116400 TS 117600 TS 118800 TS 120000 TS 121200 TS 122400 TS 123600 TS 124800 TS 126000 TS 127200 TS 128400 TS 129600 TS 130800 TS 132000 TS 133200 TS 134400 TS 135600 %5B0%3A 12349924.0 590893.0 646620.0 177652.0 28705.0 nan nan nan nan nan nan 0.569503 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.015615 0.0322539 0.0489596 0.0656201 0.0824053 0.0990091 0.115693 0.132392 0.149072 0.166532 0.183864 0.200909 0.218699 0.236311 0.254 0.271359 0.28872 0.306078 0.321778 0.337447 0.353043 0.367766 0.382473 0.397177 0.408905 0.420605 0.432298 0.441992 0.451664 0.461358 0.469382 0.477446 0.485409 0.493091 0.500775 0.508452 0.514133 0.519805 0.525474 0.529808 0.534142 0.538472 0.54179 0.545104 0.548442 0.550783%5D" isContainer="True" shape="(8, 126)" /> <var name="Buildings_df" type="dict" qualifier="builtins" value="__pydevd_value_on_demand" isContainer="True" shape="46587" /> <var name="DF_BuildingsNodes" type="DataFrame" qualifier="pandas.core.frame" value="V25OBJECTI Wert Node_IDs X_centroid Y_centroid %5B0%3A 12349993 771556 214 650562.0 177536.0%5D%2C %5B1%3A 12350173 222547 21956 649115.0 177230.0%5D%2C %5B2%3A 12350101 188323 171 649093.0 177338.0%5D%2C %5B3%3A 12350027 201899 30123 649537.0 177464.0%5D%2C %5B4%3A 12349965 1029988 28644 650786.0 177581.0%5D%2C %5B5%3A 12350096 1520679 170 649065.0 177339.0%5D%2C %5B6%3A 12350051 1574601 27029 649822.0 177407.0%5D%2C %5B7%3A 12349958 191526 28644 650777.0 177599.0%5D%2C %5B8%3A 12350009 166709 27190 650937.0 177506.0%5D%2C %5B9%3A 12350037 254098 29132 649714.0 177449.0%5D%2C %5B10%3A 12350163 2599789 41136%2C44535 648895.0 177228.0%5D%2C %5B11%3A 12350166 3483060 26913%2C27796%2C40398 648937.0 177229.0%5D%2C %5B12%3A 12350190 276131 27606 648699.0 177191.0%5D%2C %5B13%3A 12350013 309400 22416%2C25055 650799.0 177500.0%5D%2C %5B14%3A 12349979 380367 46368 650813.0 177557.0%5D%2C %5B15%3A 12350052 681126 28488 649848.0 177406.0%5D%2C %5B16%3A 12350058 170487 29706 649428.0 177387.0%5D%2C %5B17%3A 12350066 469838 26740 649711.0 177376.0%5D%2C %5B18%3A 12350063 370150 25029 649888.0 177384.0%5D%2C %5B19%3A 12350070 997626 23487%2C24153 649824.0 177371.0%5D%2C %5B20%3A 12350068 361099 25910 649843.0 177378.0%5D" isContainer="True" shape="(1291, 5)" /> <var name="DF_Depth" type="DataFrame" qualifier="pandas.core.frame" value="Node_IDs X Y TS 0 TS 1200 TS 2400 TS 3600 TS 4800 TS 6000 TS 7200 TS 8400 TS 9600 TS 10800 TS 12000 TS 13200 TS 14400 TS 15600 TS 16800 TS 18000 TS 19200 TS 20400 TS 21600 TS 22800 TS 24000 TS 25200 TS 26400 TS 27600 TS 28800 TS 30000 TS 31200 TS 32400 TS 33600 TS 34800 TS 36000 TS 37200 TS 38400 TS 39600 TS 40800 TS 42000 TS 43200 TS 44400 TS 45600 TS 46800 TS 48000 TS 49200 TS 50400 TS 51600 TS 52800 TS 54000 TS 55200 TS 56400 TS 57600 TS 58800 TS 60000 TS 61200 TS 62400 TS 63600 TS 64800 TS 66000 TS 67200 TS 68400 TS 69600 TS 70800 TS 72000 TS 73200 TS 74400 TS 75600 TS 76800 TS 78000 TS 79200 TS 80400 TS 81600 TS 82800 TS 84000 TS 85200 TS 86400 TS 87600 TS 88800 TS 90000 TS 91200 TS 92400 TS 93600 TS 94800 TS 96000 TS 97200 TS 98400 TS 99600 TS 100800 TS 102000 TS 103200 TS 104400 TS 105600 TS 106800 TS 108000 TS 109200 TS 110400 TS 111600 TS 112800 TS 114000 TS 115200 TS 116400 TS 117600 TS 118800 TS 120000 TS 121200 TS 122400 TS 123600 TS 124800 TS 126000 TS 127200 TS 128400 TS 129600 TS 130800 TS 132000 TS 133200 TS 134400 TS 135600 MaxDepth %5B4%3A 4.0 646615.190622 176613.214741 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0705628 0.140028 0.167659 0.183623 0.200867 0.218025 0.234595 0.252857 0.270342 0.288109 0.306499 0.324908 0.343306 0.36105 0.378762 0.396468 0.413846 0.43121 0.44857 0.465929 0.483285 0.500639 0.517665 0.534683 0.5517 0.568388 0.58507 0.601751 0.618433 0.635113 0.651793 0.669169 0.686185 0.703182 0.719125 0.736461 0.753801 0.77144 0.789122 0.806802 0.824149 0.841491 0.858831 0.87452 0.890192 0.905865 0.920546 0.935219 0.949894 0.961588 0.97326 0.984932 0.994612 1.00428 1.01395 1.02196 1.02995 1.03795 1.04562 1.05328 1.06095 1.06662 1.07229 1.07796 1.0823 1.08663 1.09097 1.09431 1.09764 1.10098 1.10331 1.10565 1.10798 1.11032 1.11265 1.11499 1.11666 1.11833 1.12 1.12067%5D" isContainer="True" shape="(22731, 118)" /> <var name="DF_LeveeFailures" type="DataFrame" qualifier="pandas.core.frame" value="DB X_center Y_center %5B1%3A 1.0 657240.0 174874.0%5D%2C %5B2%3A 2.0 655871.0 175511.0%5D%2C %5B3%3A 3.0 655087.0 176100.0%5D%2C %5B4%3A 4.0 649735.0 177332.0%5D%2C %5B5%3A 5.0 609362.0 187139.0%5D%2C %5B6%3A 6.0 609304.0 187327.0%5D%2C %5B7%3A 7.0 609225.0 187516.0%5D%2C %5B8%3A 8.0 609169.0 187698.0%5D%2C %5B9%3A 9.0 609126.0 187894.0%5D%2C %5B10%3A 10.0 609097.0 188098.0%5D%2C %5B11%3A 11.0 609068.0 188281.0%5D%2C %5B12%3A 12.0 609034.0 188479.0%5D%2C %5B13%3A 13.0 609011.0 188676.0%5D%2C %5B14%3A 14.0 608977.0 188872.0%5D%2C %5B15%3A 15.0 608951.0 189070.0%5D%2C %5B16%3A 16.0 608908.0 189267.0%5D%2C %5B17%3A 17.0 608831.0 189454.0%5D%2C %5B18%3A 18.0 608744.0 189637.0%5D%2C %5B19%3A 19.0 608664.0 189814.0%5D%2C %5B20%3A 20.0 608585.0 190002.0%5D%2C %5B21%3A 21.0 608503.0 190183.0%5D%2C %5B22%3A 22.0 608414.0 190369.0%5D%2C %5B23%3A 23.0 608335.0 190544.0%5D%2C %5B24%3A 24.0 607706.0 191828.0%5D%2C %5B25%3A 25.0 607624.0 192319.0%5D%2C %5B26%3A 26.0 607463.0 193164.0%5D%2C %5B27%3A 27.0 607247.0 193593.0%5D%2C %5B28%3A 28.0 606941.0 193989.0%5D%2C %5B29%3A 29.0 606642.0 194390.0%5D%2C %5B30%3A 30.0 606341.0 194786.0%5D%2C %5B31%3A 31.0 605943.0 195085.0%5D%2C %5B32%3A 32.0 605539.0 195369.0%5D%2C %5B33%3A 33.0 605165.0 195712.0%5D%2C %5B34%3A 34.0 604881.0 196123.0%5D" isContainer="True" shape="(42, 3)" /> <var name="DF_WettBuildingsNodes" type="DataFrame" qualifier="pandas.core.frame" value="V25OBJECTI Wert Node_IDs X_centroid Y_centroid Node_ID_1 Node_ID_2 Node_ID_3 Node_ID_4 Node_ID_5 Node_ID_6 Node_ID_7 %5B0%3A 12349993 771556 214 650562.0 177536.0 214 None None None None None None%5D%2C %5B1%3A 12350173 222547 21956 649115.0 177230.0 21956 None None None None None None%5D%2C %5B2%3A 12350101 188323 171 649093.0 177338.0 171 None None None None None None%5D%2C %5B3%3A 12350027 201899 30123 649537.0 177464.0 30123 None None None None None None%5D%2C %5B4%3A 12349965 1029988 28644 650786.0 177581.0 28644 None None None None None None%5D%2C %5B5%3A 12350096 1520679 170 649065.0 177339.0 170 None None None None None None%5D%2C %5B6%3A 12350051 1574601 27029 649822.0 177407.0 27029 None None None None None None%5D%2C %5B7%3A 12349958 191526 28644 650777.0 177599.0 28644 None None None None None None%5D%2C %5B9%3A 12350037 254098 29132 649714.0 177449.0 29132 None None None None None None%5D" isContainer="True" shape="(1121, 12)" /> <var name="Depth_df" type="DataFrame" qualifier="pandas.core.frame" value="TS 0 TS 1200 TS 2400 TS 3600 TS 4800 TS 6000 TS 7200 TS 8400 TS 9600 TS 10800 TS 12000 TS 13200 TS 14400 TS 15600 TS 16800 TS 18000 TS 19200 TS 20400 TS 21600 TS 22800 TS 24000 TS 25200 TS 26400 TS 27600 TS 28800 TS 30000 TS 31200 TS 32400 TS 33600 TS 34800 TS 36000 TS 37200 TS 38400 TS 39600 TS 40800 TS 42000 TS 43200 TS 44400 TS 45600 TS 46800 TS 48000 TS 49200 TS 50400 TS 51600 TS 52800 TS 54000 TS 55200 TS 56400 TS 57600 TS 58800 TS 60000 TS 61200 TS 62400 TS 63600 TS 64800 TS 66000 TS 67200 TS 68400 TS 69600 TS 70800 TS 72000 TS 73200 TS 74400 TS 75600 TS 76800 TS 78000 TS 79200 TS 80400 TS 81600 TS 82800 TS 84000 TS 85200 TS 86400 TS 87600 TS 88800 TS 90000 TS 91200 TS 92400 TS 93600 TS 94800 TS 96000 TS 97200 TS 98400 TS 99600 TS 100800 TS 102000 TS 103200 TS 104400 TS 105600 TS 106800 TS 108000 TS 109200 TS 110400 TS 111600 TS 112800 TS 114000 TS 115200 TS 116400 TS 117600 TS 118800 TS 120000 TS 121200 TS 122400 TS 123600 TS 124800 TS 126000 TS 127200 TS 128400 TS 129600 TS 130800 TS 132000 TS 133200 TS 134400 TS 135600 MaxDepth %5B1%3A 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0%5D" isContainer="True" shape="(46587, 115)" /> <var name="Graph" type="Graph" qualifier="networkx.classes.graph" value="__pydevd_value_on_demand" isContainer="True" shape="19650" /> <var name="InputBuildings" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Input_Data/Buildings_HasliAare_right.shp" /> <var name="LeveeFailureBuildingsGeojson" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Output_Data/Buildings_LV_1.geojson" /> <var name="LeveeFailureBuildingsGeojson_modified" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Output_Data/Buildings_LV_1_modified.geojson" /> <var name="LeveeFailureLinesGeojson" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Output_Data/ConnectionLines_LV_1.geojson" /> <var name="LeveeFailures_shp" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Input_Data/Aare_LeveeFailures_201911_LV03.shp" /> <var name="Nodes" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Input_Data/HasliAare_nodes_right.xls" /> <var name="NodesShp" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Input_Data/HasliAare_nodes_right.shp" /> <var name="Path_to_csv" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Output_Data/Flooded_Buildings_LV_1.csv" /> <var name="Wet_Graph" type="Graph" qualifier="networkx.classes.graph" value="__pydevd_value_on_demand" isContainer="True" shape="10260" /> <var name="Wet_Graph_Buildings" type="tuple" qualifier="builtins" value="__pydevd_value_on_demand" isContainer="True" shape="2" /> <var name="affected_buildings" type="list" qualifier="builtins" value="__pydevd_value_on_demand" isContainer="True" shape="170" /> <var name="buildings_firstjoin" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Temp_Data/Buildings_join1.shp" /> <var name="buildings_secondjoin" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Temp_Data/Buildings_join2.shp" /> <var name="df_Edges_total" type="DataFrame" qualifier="pandas.core.frame" value="Node_1 Node_2 %5B0%3A 1 864%5D%2C %5B1%3A 10653 13922%5D%2C %5B2%3A 4587 9226%5D%2C %5B3%3A 27592 2%5D%2C %5B4%3A 10204 1525%5D%2C %5B5%3A 15040 23507%5D%2C %5B6%3A 24896 4%5D%2C %5B7%3A 8896 12311%5D%2C %5B8%3A 1457 4936%5D%2C %5B9%3A 5 24896%5D%2C %5B10%3A 5 23344%5D%2C %5B11%3A 16954 4968%5D%2C %5B12%3A 25899 7%5D%2C %5B13%3A 8 25899%5D%2C %5B14%3A 8869 3318%5D%2C %5B15%3A 13696 16693%5D%2C %5B16%3A 4 24896%5D%2C %5B17%3A 1551 17795%5D%2C %5B18%3A 27592 26984%5D%2C %5B19%3A 26444 14%5D%2C %5B20%3A 26 25%5D%2C %5B21%3A 25778 16709%5D%2C %5B22%3A 12998 15040%5D%2C %5B23%3A 18215 19126%5D%2C %5B24%3A 9063 12590%5D%2C %5B25%3A 866 4272%5D%2C %5B26%3A 17640 17311%5D%2C %5B27%3A 865 17640%5D%2C %5B28%3A 866 7627%5D%2C %5B29%3A 17755 17640%5D%2C %5B30%3A 20877 19699%5D%2C %5B31%3A 15 14%5D%2C %5B32%3A 18615 4585%5D%2C %5B33%3A 7048 2025%5D%2C %5B34%3A 4271 19599%5D%2C %5B35%3A 24645 17796%5D%2C %5B36%3A 11115 14126%5D%2C %5B37%3A 2830 8514%5D%2C %5B38%3A 21224 1806%5D%2C %5B39%3A 8896 12313%5D%2C %5B40%3A 4631 12006%5D%2C %5B41%3A 2966 22422%5D%2C %5B42%3A 2064 13240%5D%2C %5B43%3A 25048 13871%5D%2C %5B44%3A 6 23344%5D%2C %5B45%3A 17350 16745%5D%2C %5B46%3A 28568 41312%5D%2C %5B47%3A 1487 3673%5D%2C %5B48%3A 9 25899%5D%2C %5B49%3A 1458 24720%5D%2C %5B50%3A 25899 8%5D" isContainer="True" shape="(275130, 2)" /> <var name="dict_of_MaxDepth" type="dict" qualifier="builtins" value="__pydevd_value_on_demand" isContainer="True" shape="46587" /> <var name="filename_depth" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Input_Data/.sol-files/HasliAare_nds_depth_LV1.sol" /> <var name="filename_geom" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Input_Data/HasliAare.2dm" /> <var name="filename_pickle_Building_Nodes" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Pickle_Data/Buildings_Nodes.pkl" /> <var name="filename_pickle_Depth" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Pickle_Data/Dataframe.pkl" /> <var name="filename_pickle_LeveeFailures" type="str" qualifier="builtins" value="C%3A/Users/Dominik/OneDrive/Dokumente/UniBe/Master/Masterarbeit/99_Test/FlAare_202001/Pickle_Data/DF_LeveeFailures.pkl" /> <var name="orographically_left" type="list" qualifier="builtins" value="__pydevd_value_on_demand" isContainer="True" shape="20" /> <var name="orographically_right" type="list" qualifier="builtins" value="__pydevd_value_on_demand" isContainer="True" shape="22" /> <var name="pickle_load_DF_LeveeFailures" type="bool" qualifier="builtins" value="False" /> <var name="pickle_load_Depth" type="bool" qualifier="builtins" value="False" /> <var name="pickle_load_NodePerBuilding" type="bool" qualifier="builtins" value="False" /> </xml>

debugger: received >>108     31        pid_7040_id_1707867101952

<< 

Received command: CMD_STEP_OVER 108        31            pid_7040_id_1707867101952

 

('processing internal command ', '<_pydevd_bundle.pydevd_comm.InternalStepThread object at 0x0000018DB32D0780>')

sending cmd -->       CMD_THREAD_RUN pid_7040_id_1707867101952         108

svmem(total=17048907776, available=10018099200, percent=41.2, used=7030808576, free=10018099200)

ArcGIS table was successfully written

--- 0.517514705657959 seconds have elapsed within the ArcGISPoint2Line method ---

 

Process finished with exit code 1

0

Hmm, it is possible to reproduce the issue in a minimal project and upload it to our FTP so I could investigate? (Along with a steps to reproduce).

https://uploads.services.jetbrains.com/

0

In case this helps: the errors disappeared for me after removing Celery from the project imports.I.e. I re-enabled Cython 2 days ago and have not seen these errors since then. 

We used Celery on Windows, which requires eventlet, which in turn requires "gevent compatible" option to be enabled in IntelliJ for debugger to work. So I wonder if the issue can be eventlet/gevent related. 

While using Celery, everyone in our team had these errors on both version 2019.2 and 2019.3 of IntelliJ Idea Ultimate. 

0

>We used Celery on Windows, which requires eventlet, which in turn requires "gevent compatible" option to be enabled in IntelliJ for debugger to work

So does everything work when you enabled "gevent compatible" option?

Also please see related issue: https://youtrack.jetbrains.com/issue/PY-35781

 

If it's not working, try this workaround from our developer: https://youtrack.jetbrains.com/issue/PY-35781#focus=streamItem-27-3478771.0-0

0

Andrey Resler, we have just replaced Celery with our own framework and re-enabled cython and don't see the errors anymore. 

While using Celery, we had to use Gevent compatible because otherwise debugger on Windows did not work even in the earlier versions. So the Cython errors also appeared with Gevent compatible switched on. Maybe this what's incompatible with cython?

0

Andrey Resler

I tried to create a simple test project to reproduce the debugger crash. Unfortunatly, I was not able to reproduce the crash in a simpler project. Guess I'll try removing Celery next as suggested by Yuriy Mann

0

PyCharm: Build #PY-213.6777.50, built on January 27, 2022

I face the same issue. It seems it only crash, when a breakpoint is activated. If there is no breakpoint activated it runs in debug mode (F9).

For me it fails only in a specific project, whereas it works in all other projects without a problem.

What I have tried so far without success:
- invalidate caches
- remove .idea/ directory and *.pyc files
- add PYDEVD_USE_CYTHON=NO and PYDEVD_USE_FRAME_EVAL=NO

Here is a small reproducer
- git clone https://github.com/zim-desktop-wiki/zim-desktop-wiki.git
- cd zim-desktop-wiki/
- pycharm .
- add a breakpoint in file zim/notebook/index/pages.py, class PagesTreeModelMixin, on the first statement in get_mytreeiter method

When executed in debug mode the debugger dies.

debugger: received >>146        5       SHOW_RETURN_VALUES      0
101     7       
122     9       python-BaseException    None    None    0       1       0
<<
Received command: CMD_SHOW_RETURN_VALUES 146    5       SHOW_RETURN_VALUES      0

Show return values: False

Received command: CMD_RUN 101   7       

Received command: CMD_ADD_EXCEPTION_BREAK 122   9       python-BaseException    None    None    0       1       0

Exceptions to hook on terminate: {'BaseException': <_pydevd_bundle.pydevd_breakpoints.ExceptionBreakpoint object at 0x7ff2048140f0>}

sending cmd -->    CMD_THREAD_CREATE <xml><thread name="MainThread" id="pid_225502_id_140677674268656" /></xml>
0

Please sign in to leave a comment.