Unexpected output on remote host

Answered

I run the following program on debug mode :

from multiprocessing.pool import Pool


def foo(i):
pass


with Pool(processes=32) as pool:
list(pool.imap(foo, range(10000)))

If I run it with my local interpreter, I have not problem :

/usr/bin/python3.7 /snap/pycharm-professional/183/plugins/python/helpers/pydev/pydevd.py --cmd-line --multiproc --qt-support=auto --client 127.0.0.1 --port 39171 --file /home/rodolphe/debug.py
pydev debugger: process 26975 is connecting
Connected to pydev debugger (build 193.6494.30)
import sys; print('Python %s on %s' % (sys.version, sys.platform))
Python 3.7.5 (default, Nov 20 2019, 09:21:52)

But if I run it on my remote interpreter, I have the following (and I would like to avoid printing out the "Expected: %s to exist. Nonetype: None") :

ssh://rodolphe@my_remote_host.com:2108/usr/bin/python3.7 -u /home/rodolphe/.pycharm_helpers/pydev/pydevd.py --cmd-line --multiproc --qt-support=auto --client 0.0.0.0 --port 41006 --file /home/rodolphe/debug.py
pydev debugger: process 5775 is connecting
Connected to pydev debugger (build 193.6494.30)
Expected: %s to exist.
NoneType: None
Expected: %s to exist.
NoneType: None
Expected: %s to exist.
NoneType: None
Expected: %s to exist.
NoneType: None
Expected: %s to exist.
NoneType: None
Expected: %s to exist.
NoneType: None
import sys; print('Python %s on %s' % (sys.version, sys.platform))
Python 3.7.6 (default, Dec 19 2019, 23:50:13)
8 comments
Comment actions Permalink

Same issue here after updating to 2019.3.3 (downloaded and installed yesterday).

It was failing my code (that was working before) with:

undefined symbol: AttachDebuggerTracing

I've removed the .pycharm_helpers  folder in the remote server and now what I get is the:

Expected: %s to exist.
NoneType: None
0
Comment actions Permalink

I have exactly the same issue.

0
Comment actions Permalink

Same problem here. I suspect there is something to do with mapping

0
Comment actions Permalink

I've updated to latest version of Pycharm and still happening. Is anyone going to fix this???

0
Comment actions Permalink

The fix for https://youtrack.jetbrains.com/issue/PY-39307 will be included in the next release (2020.1)

0
Comment actions Permalink

Sorry, I understood it was fixed already in the current version. Do you have any estimate on the release date of 2020.1 release? I rather use an stable version and not a EAP version.

Thanks!

0
Comment actions Permalink

The planned 2020.1 release date is 2020-04-08

0

Please sign in to leave a comment.