Debug won't work in subprocess
I'm running python code with some subprocesses. I set breakpoints in main process and sub process. but pycharm python debugger only works in main process. BTW, I'm using VPN in my PC.
Env:
Pycharm 2020.2.1
OS: ubuntu 20.4
Options:
Attache to subprocess automatically while debugging Clicked
Drop into debugger on failed tests Clicked
PyQt compatible Auto
For Attach To Process show processes with names containing: python
Environment Variable
in /etc/sysctl.d/10-ptrace.conf file
kernel.yama.ptrace_scope = 0
sudo service procps restart
Here is the log:
/home/jamestang/.pyenv/versions/3.7.6/bin/python /snap/pycharm-professional/213/plugins/python/helpers/pydev/pydevd.py --multiproc --qt-support=auto --client 127.0.0.1 --port 46855 --file /software/examples/tumblr-gif-search/app.py index
Executing PyCharm's `sitecustomize`
User doesn't have a custom `sitecustomize`
Custom matplotlib backend was set for SciView
Using Cython speedups
Unable to load jupyter_debug plugin
Executing file /software/examples/tumblr-gif-search/app.py
arguments: ['/software/examples/tumblr-gif-search/app.py', 'index']
PYDEVD_FILTER_LIBRARIES False
Started in multiproc mode
('Connecting to ', '127.0.0.1', ':', '46855')
('Connected.',)
debugger: received >>99 -1 42251
<<
Received command: ??? 99 -1 42251
Received port 42251
pydev debugger: process 23323 is connecting
('Connecting to ', '127.0.0.1', ':', '42251')
('Connected.',)
debugger: received >>501 1 0.1 UNIX
<<
Received command: CMD_VERSION 501 1 0.1 UNIX
sending cmd --> CMD_VERSION @@BUILD_NUMBER@@
Connected to pydev debugger (build 202.6948.78)
debugger: received >>111 3 python-line /home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/peapods/pea.py 283 msg_callback THREAD None None
<<
Received command: CMD_SET_BREAK 111 3 python-line /home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/peapods/pea.py 283 msg_callback THREAD None None
Added breakpoint:/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/peapods/pea.py - line:283 - func_name:b'msg_callback'
debugger: received >>101 5
146 7 SHOW_RETURN_VALUES 0
<<
Received command: CMD_RUN 101 5
Received command: CMD_SHOW_RETURN_VALUES 146 7 SHOW_RETURN_VALUES 0
Show return values: False
debugger: received >>122 9 python-BaseException None None 0 1 0
<<
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 0x7faf16979190>}
sending cmd --> CMD_THREAD_CREATE <xml><thread name="MainThread" id="pid_23323_id_140390497413904" /></xml>
Patching args: ['/bin/sh', '-c', 'uname -p 2> /dev/null']
Process is not python, returning.
sending cmd --> CMD_PROCESS_CREATED <process/>
JINA@23323[W]:parser FlowPod can not recognize the following args: ['--logserver'], they are ignored. if you are using them from a global args (e.g. Flow), then please ignore this message
JINA@23323[W]:parser FlowPod can not recognize the following args: ['--logserver'], they are ignored. if you are using them from a global args (e.g. Flow), then please ignore this message
JINA@23323[W]:parser FlowPod can not recognize the following args: ['--logserver'], they are ignored. if you are using them from a global args (e.g. Flow), then please ignore this message
JINA@23323[W]:parser FlowPod can not recognize the following args: ['--logserver'], they are ignored. if you are using them from a global args (e.g. Flow), then please ignore this message
JINA@23323[W]:parser FlowPod can not recognize the following args: ['--logserver'], they are ignored. if you are using them from a global args (e.g. Flow), then please ignore this message
Flow@23323[S]:successfully built Flow from a yaml config
JINA@23323[W]:parser FlowPod can not recognize the following args: ['--logserver'], they are ignored. if you are using them from a global args (e.g. Flow), then please ignore this message
Flow@23323[I]:start logserver...
sending cmd --> CMD_THREAD_CREATE <xml><thread name="sentinel-sse-logger" id="pid_23323_id_140389927416848" /></xml>
IDE_PROJECT_ROOTS ['/software/examples']
LIBRARY_ROOTS ['/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7', '/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/lib-dynload', '/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages', '/home/jamestang/.cache/JetBrains/PyCharm2020.2/python_stubs/615727408', '/snap/pycharm-professional/213/plugins/python/helpers/python-skeletons', '/snap/pycharm-professional/213/plugins/python/helpers/typeshed/stdlib/3.7', '/snap/pycharm-professional/213/plugins/python/helpers/typeshed/stdlib/3', '/snap/pycharm-professional/213/plugins/python/helpers/typeshed/stdlib/2and3', '/snap/pycharm-professional/213/plugins/python/helpers/typeshed/third_party/3', '/snap/pycharm-professional/213/plugins/python/helpers/typeshed/third_party/2and3']
JINA@23323[E]:[Errno 98] Address already in use: ('0.0.0.0', 5000)
sending cmd --> CMD_THREAD_KILL pid_23323_id_140389927416848
Flow@23323[S]:logserver is started and available at http://0.0.0.0:5000
sending cmd --> CMD_PROCESS_CREATED <process/>
('Connecting to ', '127.0.0.1', ':', '46855')
('Connected.',)
("The debugger thread 'DispatchReader' is traced which may lead to debugging performance issues.",)
debugger: received >>99 -1 33175
<<
Received command: ??? 99 -1 33175
PYDEVD_FILTER_LIBRARIES False
('Connecting to ', '127.0.0.1', ':', '33175')
('Connected.',)
debugger: received >>501 1 0.1 UNIX
<<
Received command: CMD_VERSION 501 1 0.1 UNIX
sending cmd --> CMD_VERSION @@BUILD_NUMBER@@
debugger: received >>111 3 python-line /home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/peapods/pea.py 283 msg_callback THREAD None None
<<
debugger: received >>111 11 python-line /home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/peapods/pea.py 283 msg_callback THREAD None None
<<
Received command: CMD_SET_BREAK 111 3 python-line /home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/peapods/pea.py 283 msg_callback THREAD None None
Received command: CMD_SET_BREAK 111 11 python-line /home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/peapods/pea.py 283 msg_callback THREAD None None
Added breakpoint:/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/peapods/pea.py - line:283 - func_name:b'msg_callback'
debugger: received >>101 5
146 7 SHOW_RETURN_VALUES 0
122 9 python-BaseException None None 0 1 0
<<
Received command: CMD_RUN 101 5
Received command: CMD_SHOW_RETURN_VALUES 146 7 SHOW_RETURN_VALUES 0
Added breakpoint:/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/peapods/pea.py - line:283 - func_name:b'msg_callback'
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 0x7faf0927e590>}
debugger: received >>122 13 python-BaseException None None 0 1 0
146 15 SHOW_RETURN_VALUES 0
<<
Received command: CMD_ADD_EXCEPTION_BREAK 122 13 python-BaseException None None 0 1 0
Exceptions to hook on terminate: {'BaseException': <_pydevd_bundle.pydevd_breakpoints.ExceptionBreakpoint object at 0x7faf2c3c5410>}
Received command: CMD_SHOW_RETURN_VALUES 146 15 SHOW_RETURN_VALUES 0
Show return values: False
chunk_seg@23342[I]:post initiating, this may take some time...
chunk_seg@23342[I]:post initiating, this may take some time takes 0.001 secs
chunk_seg@23342[S]:successfully built GifPreprocessor from a yaml config
chunk_seg@23342[I]:setting up sockets...
chunk_seg@23342[I]:input tcp://0.0.0.0:40271 (SUB_CONNECT) output tcp://0.0.0.0:39235 (PUSH_CONNECT) control over tcp://0.0.0.0:47557 (PAIR_BIND)
chunk_seg@23342[S]:ready and listening
sending cmd --> CMD_THREAD_CREATE <xml><thread name="QueueFeederThread" id="pid_23342_id_140389758969808" /></xml>
sending cmd --> CMD_PROCESS_CREATED <process/>
('Connecting to ', '127.0.0.1', ':', '46855')
('Connected.',)
("The debugger thread 'DispatchReader' is traced which may lead to debugging performance issues.",)
debugger: received >>99 -1 46699
<<
Received command: ??? 99 -1 46699
PYDEVD_FILTER_LIBRARIES False
('Connecting to ', '127.0.0.1', ':', '46699')
('Connected.',)
debugger: received >>501 1 0.1 UNIX
<<
Received command: CMD_VERSION 501 1 0.1 UNIX
sending cmd --> CMD_VERSION @@BUILD_NUMBER@@
debugger: received >>111 3 python-line /home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/peapods/pea.py 283 msg_callback THREAD None None
<<
debugger: received >>111 17 python-line /home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/peapods/pea.py 283 msg_callback THREAD None None
<<
debugger: received >>111 11 python-line /home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/peapods/pea.py 283 msg_callback THREAD None None
<<
Received command: CMD_SET_BREAK 111 11 python-line /home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/peapods/pea.py 283 msg_callback THREAD None None
Received command: CMD_SET_BREAK 111 3 python-line /home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/peapods/pea.py 283 msg_callback THREAD None None
Received command: CMD_SET_BREAK 111 17 python-line /home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/peapods/pea.py 283 msg_callback THREAD None None
Added breakpoint:/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/peapods/pea.py - line:283 - func_name:b'msg_callback'
Added breakpoint:/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/peapods/pea.py - line:283 - func_name:b'msg_callback'
Added breakpoint:/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/peapods/pea.py - line:283 - func_name:b'msg_callback'
debugger: received >>122 5 python-BaseException None None 0 1 0
101 7
146 9 SHOW_RETURN_VALUES 0
<<
Received command: CMD_ADD_EXCEPTION_BREAK 122 5 python-BaseException None None 0 1 0
debugger: received >>122 13 python-BaseException None None 0 1 0
146 15 SHOW_RETURN_VALUES 0
<<
Received command: CMD_ADD_EXCEPTION_BREAK 122 13 python-BaseException None None 0 1 0
Exceptions to hook on terminate: {'BaseException': <_pydevd_bundle.pydevd_breakpoints.ExceptionBreakpoint object at 0x7faf09286410>}
Received command: CMD_RUN 101 7
Received command: CMD_SHOW_RETURN_VALUES 146 9 SHOW_RETURN_VALUES 0
Show return values: False
Exceptions to hook on terminate: {'BaseException': <_pydevd_bundle.pydevd_breakpoints.ExceptionBreakpoint object at 0x7faf0927e4d0>}
debugger: received >>146 19 SHOW_RETURN_VALUES 0
122 21 python-BaseException None None 0 1 0
<<
Received command: CMD_SHOW_RETURN_VALUES 146 19 SHOW_RETURN_VALUES 0
Show return values: False
Received command: CMD_ADD_EXCEPTION_BREAK 122 21 python-BaseException None None 0 1 0
Received command: CMD_SHOW_RETURN_VALUES 146 15 SHOW_RETURN_VALUES 0
Show return values: False
Exceptions to hook on terminate: {'BaseException': <_pydevd_bundle.pydevd_breakpoints.ExceptionBreakpoint object at 0x7faf0927ed90>}
请先登录再写评论。
Here is the pyqt5 I installed by pip command:
PyQt5 5.15.1
PyQt5-sip 12.8.1
Here is the latest log with breakpoints suspended:
gateway@23323[S]:connected to the gateway at 0.0.0.0:57763!
sending cmd --> CMD_THREAD_CREATE <xml><thread name="Thread-8" id="pid_23323_id_140389749363408" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="Thread-9" id="pid_23323_id_140389732250960" /></xml>
sending cmd --> CMD_THREAD_KILL pid_23323_id_140389732250960
sending cmd --> CMD_THREAD_CREATE <xml><thread name="Thread-10" id="pid_23323_id_140389732251344" /></xml>
sending cmd --> CMD_THREAD_KILL pid_23323_id_140389732251344
sending cmd --> CMD_THREAD_CREATE <xml><thread name="Thread-11" id="pid_23323_id_140389732251216" /></xml>
sending cmd --> CMD_THREAD_KILL pid_23323_id_140389732251216
sending cmd --> CMD_THREAD_CREATE <xml><thread name="Thread-12" id="pid_23323_id_140389732307600" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="Thread-13" id="pid_23323_id_140389732309840" /></xml>
sending cmd --> CMD_THREAD_KILL pid_23323_id_140389732309840
gateway@23323[I]:setting up sockets...
gateway@23323[I]:input tcp://0.0.0.0:41943 (PULL_CONNECT) output tcp://0.0.0.0:40271 (PUB_BIND) control over ipc:///tmp/tmpmtejrjp3 (PAIR_BIND)
sending cmd --> CMD_THREAD_CREATE <xml><thread name="MainThread" id="pid_23323_id_140390497413904" /></xml>
sending cmd --> CMD_THREAD_KILL pid_23323_id_140389749363408
sending cmd --> CMD_THREAD_CREATE <xml><thread name="MainThread" id="pid_23323_id_140390497413904" /></xml>
gateway@23323[I]:prefetching 50 requests...
gateway@23323[W]:if this takes too long, you may want to take smaller "--prefetch" or ask client to reduce "--batch-size"
gateway@23323[I]:prefetching 50 requests takes 0.007 secs
gateway@23323[I]:send: 0 recv: 0 pending: 0
Suspending at breakpoint in file: /home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/peapods/pea.py on line 283
Suspending at breakpoint in file: /home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/peapods/pea.py on line 283
sending cmd --> CMD_THREAD_CREATE <xml><thread name="QueueFeederThread" id="pid_23436_id_140389758888976" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="QueueFeederThread" id="pid_23342_id_140389758969808" /></xml>
sending cmd --> CMD_THREAD_SUSPEND <xml><thread id="pid_23323_id_140390497413904" stop_reason="111" message="" suspend_type="frame_eval"><frame id="140389749360720" name="msg_callback" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/peapods/pea.py" line="283"></frame><frame id="140389749600816" name="_callback" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/peapods/zmq.py" line="348"></frame><frame id="140389749344976" name="<lambda>" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/peapods/zmq.py" line="353"></frame><frame id="140389749360208" name="null_wrapper" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/tornado/stack_context.py" line="300"></frame><frame id="140389749359696" name="_run_callback" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/zmq/eventloop/zmqstream.py" line="432"></frame><frame id="140389797344944" name="_handle_recv" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/zmq/eventloop/zmqstream.py" line="480"></frame><frame id="140389749362768" name="_handle_events" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/zmq/eventloop/zmqstream.py" line="450"></frame><frame id="140389749359184" name="null_wrapper" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/tornado/stack_context.py" line="300"></frame><frame id="140389749324128" name="_handle_events" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/tornado/platform/asyncio.py" line="122"></frame><frame id="140389749296608" name="start" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/tornado/platform/asyncio.py" line="132"></frame><frame id="140389749350480" name="start" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/peapods/zmq.py" line="358"></frame><frame id="140389749223952" name="loop_body" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/peapods/pea.py" line="323"></frame><frame id="140389749165040" name="run" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/peapods/pea.py" line="339"></frame><frame id="94653368941488" name="_bootstrap" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/multiprocessing/process.py" line="297"></frame><frame id="140389749580368" name="_launch" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/multiprocessing/popen_fork.py" line="74"></frame><frame id="140389749577104" name="__init__" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/multiprocessing/popen_fork.py" line="20"></frame><frame id="140389749585248" name="_Popen" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/multiprocessing/context.py" line="277"></frame><frame id="140389749584816" name="_Popen" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/multiprocessing/context.py" line="223"></frame><frame id="140389749583952" name="start" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/multiprocessing/process.py" line="112"></frame><frame id="140389797338384" name="start" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/peapods/pea.py" line="384"></frame><frame id="140389749602256" name="__enter__" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/peapods/pea.py" line="407"></frame><frame id="140389749603216" name="enter_context" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/contextlib.py" line="427"></frame><frame id="140389749469760" name="start" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/peapods/pod.py" line="212"></frame><frame id="140389749476144" name="start" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/peapods/pod.py" line="370"></frame><frame id="140389749443616" name="__enter__" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/peapods/pod.py" line="242"></frame><frame id="140389749602736" name="enter_context" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/contextlib.py" line="427"></frame><frame id="140390428062800" name="start" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/flow/__init__.py" line="506"></frame><frame id="140390428384512" name="__enter__" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/flow/__init__.py" line="462"></frame><frame id="94653366999712" name="index" file="/software/examples/tumblr-gif-search/app.py" line="30"></frame><frame id="140390500463104" name="<module>" file="/software/examples/tumblr-gif-search/app.py" line="56"></frame></thread></xml>
sending cmd --> CMD_THREAD_SUSPEND <xml><thread id="pid_23323_id_140390497413904" stop_reason="111" message="" suspend_type="frame_eval"><frame id="140389731012688" name="msg_callback" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/peapods/pea.py" line="283"></frame><frame id="140389731514800" name="_callback" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/peapods/zmq.py" line="348"></frame><frame id="140389731499600" name="<lambda>" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/peapods/zmq.py" line="353"></frame><frame id="140389731404880" name="null_wrapper" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/tornado/stack_context.py" line="300"></frame><frame id="140389731404368" name="_run_callback" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/zmq/eventloop/zmqstream.py" line="432"></frame><frame id="140389797344720" name="_handle_recv" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/zmq/eventloop/zmqstream.py" line="480"></frame><frame id="140389731409376" name="_handle_events" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/zmq/eventloop/zmqstream.py" line="450"></frame><frame id="140389731403856" name="null_wrapper" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/tornado/stack_context.py" line="300"></frame><frame id="140389731492384" name="_handle_events" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/tornado/platform/asyncio.py" line="122"></frame><frame id="140389731408880" name="start" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/tornado/platform/asyncio.py" line="132"></frame><frame id="140389731476976" name="start" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/peapods/zmq.py" line="358"></frame><frame id="140389749650384" name="loop_body" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/peapods/pea.py" line="323"></frame><frame id="140389749630496" name="run" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/peapods/pea.py" line="339"></frame><frame id="94653368930832" name="_bootstrap" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/multiprocessing/process.py" line="297"></frame><frame id="140389749580368" name="_launch" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/multiprocessing/popen_fork.py" line="74"></frame><frame id="140389749577104" name="__init__" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/multiprocessing/popen_fork.py" line="20"></frame><frame id="140389749585248" name="_Popen" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/multiprocessing/context.py" line="277"></frame><frame id="140389749584816" name="_Popen" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/multiprocessing/context.py" line="223"></frame><frame id="140389749583952" name="start" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/multiprocessing/process.py" line="112"></frame><frame id="140389749545872" name="start" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/peapods/pea.py" line="384"></frame><frame id="140389749562832" name="__enter__" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/peapods/pea.py" line="407"></frame><frame id="140389749545392" name="enter_context" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/contextlib.py" line="427"></frame><frame id="140389749469760" name="start" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/peapods/pod.py" line="212"></frame><frame id="140389749476144" name="start" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/peapods/pod.py" line="370"></frame><frame id="140389749443616" name="__enter__" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/peapods/pod.py" line="242"></frame><frame id="140389749543472" name="enter_context" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/contextlib.py" line="427"></frame><frame id="140390428062800" name="start" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/flow/__init__.py" line="506"></frame><frame id="140390428384512" name="__enter__" file="/home/jamestang/.pyenv/versions/3.7.6/lib/python3.7/site-packages/jina/flow/__init__.py" line="462"></frame><frame id="94653366999712" name="index" file="/software/examples/tumblr-gif-search/app.py" line="30"></frame><frame id="140390500463104" name="<module>" file="/software/examples/tumblr-gif-search/app.py" line="56"></frame></thread></xml>
Someone from our team also uses Ubuntu, and encountered the same issue. this may not relate to VPN but relate to OS.
Does it look similar to any of these issues?
https://youtrack.jetbrains.com/issue/PY-39222
https://youtrack.jetbrains.com/issue/PY-43474
https://youtrack.jetbrains.com/issue/PY-35781
If not, please create another issue providing code and steps for reproducing the problem.