I can't debug after updating PyCharm 2021.2
Dear:
I run debugger now, error outputing as following :
D:\P_Projects\venv\Scripts\python.exe "D:\Program Files\JetBrains\PyCharm Community Edition 2020.3.1\plugins\python-ce\helpers\pydev\pydevd.py" --multiproc --client 127.0.0.1 --port 54748 --file D:/P_Projects/Exc/purify.py
Traceback (most recent call last):
File "D:\Program Files\JetBrains\PyCharm Community Edition 2020.3.1\plugins\python-ce\helpers\pydev\pydevd.py", line 2173, in <module>
main()
File "D:\Program Files\JetBrains\PyCharm Community Edition 2020.3.1\plugins\python-ce\helpers\pydev\pydevd.py", line 2055, in main
dispatcher.connect(host, port)
File "D:\Program Files\JetBrains\PyCharm Community Edition 2020.3.1\plugins\python-ce\helpers\pydev\pydevd.py", line 1827, in connect
self.reader = DispatchReader(self)
File "D:\Program Files\JetBrains\PyCharm Community Edition 2020.3.1\plugins\python-ce\helpers\pydev\pydevd.py", line 1840, in __init__
ReaderThread.__init__(self, self.dispatcher.client)
File "D:\Program Files\JetBrains\PyCharm Community Edition 2020.3.1\plugins\python-ce\helpers\pydev\_pydevd_bundle\pydevd_comm.py", line 268, in __init__
from _pydevd_bundle.pydevd_process_net_command import process_net_command
File "D:\Program Files\JetBrains\PyCharm Community Edition 2020.3.1\plugins\python-ce\helpers\pydev\_pydevd_bundle\pydevd_process_net_command.py", line 10, in <module>
from _pydevd_bundle.pydevd_comm import (CMD_RUN, CMD_VERSION, CMD_LIST_THREADS, CMD_THREAD_KILL,
ImportError: cannot import name 'CMD_TABLE_EXEC' from '_pydevd_bundle.pydevd_comm' (D:\Program Files\JetBrains\PyCharm Community Edition 2020.3.1\plugins\python-ce\helpers\pydev\_pydevd_bundle\pydevd_comm.py)
Process finished with exit code 1
All happening after I updated my version to latest version 2021.2.
PyCharm version is as following:
PyCharm 2021.2 (Community Edition)
Build #PC-212.4746.96, built on July 27, 2021
Runtime version: 11.0.11+9-b1504.13 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 1965M
Cores: 8
Registry: debugger.watches.in.variables=false, documentation.show.toolbar=true
Non-Bundled Plugins: String Manipulation (8.15.203.000.3), net.seesharpsoft.intellij.plugins.csv (2.17.1)
Anyone could help me?
thanks
请先登录再写评论。
Hi, is it possible to provide code sample to reproduce the issue?
Dear Resler
Very simple code, such as following。 If I run directly, It is ok。
from itertools import count
my_vowels = ['a', 'e', 'i', 'o', 'u', 'A', 'E', 'I', 'O', 'U']
current_counter = count()
string = "This is just a sentence."
for i in string:
if i in my_vowels:
print(f"Current vowel: {i}")
print(f"Number of vowels found so far: {next(current_counter)}")
BTW:
It is to show for Even Log:17:05 Connection to Python debugger failed: Socket operation on nonsocket: configureBlocking
Thank you,
Could you please provide screenshot of the error, and Logs from **Help | Collect Logs and Diagnostic Data** after reproducing the issue ?
You can use uploading service at https://uploads.jetbrains.com/ , and provide upload ID in your reply.
Your upload is successful!
Upload ID: 2021_08_05_F9TPHyTpuQ4FACjC (file: pyissue.png)
Share the id with JetBrains support.
Start another upload
Thank you,
Could you please test the following:
1. Does it help to remove and re-add the project interpreter?
2. Does it help to remove Japanese characters from the file name?
3. Does the issue reproduce if you create a new project with `print('hello world')` and run the debugger on that?
Hi, I got the same issue with :
I got this error :