Python Debugger Extensions: cannot install but no error? Follow
Hi,
I use "PyCharm 2022.1 (Professional Edition)" on a Debian 11.3 (Bullseye). When I click on debug I get the notification saying:
Python Debugger Extensions Available
Cython extension speeds up Python debugging
Install | How does it work
Until recently (maybe when I updated Debian?) I had used the Cython extension without problems.
Now I click on Install, I don't see any error but the next time that I click on debug it shows the notification again.
If I go to Help - > Show Log I see:
2022-04-18 13:51:14,672 [ 520868] INFO - #c.j.p.s.f.PySciEnvironmentProvider - Plots on port: 63342
2022-04-18 13:51:19,164 [ 525360] INFO - #c.j.p.d.PyCythonExtensionWarning - Compile Cython Extensions /usr/bin/python3.9 /home/carles/bin/pycharm-2019.2.3/plugins/python/helpers/pydev/setup_cython.py build_ext --build-lib /home/carles/.cache/JetBrains/PyCharm2022.1/cythonExtensions --build-temp /home/carles/.cache/JetBrains/PyCharm2022.1/cythonExtensions/build
2022-04-18 13:51:23,434 [ 529630] INFO - #c.i.c.ComponentStoreImpl - Saving Project(name=the_project, containerState=COMPONENT_CREATED, componentStore=/home/carles/git/the_project)RunManager took 31 ms
2022-04-18 13:51:26,409 [ 532605] INFO - #c.i.c.ComponentStoreImpl - Saving Project(name=the_project, containerState=COMPONENT_CREATED, componentStore=/home/carles/git/the_project)RunManager took 13 ms
2022-04-18 13:53:47,690 [ 673886] INFO - #c.i.i.b.BookmarkManager - no state loaded for old bookmarks
2022-04-18 13:54:51,417 [ 737613] WARN - #c.j.p.d.p.MultiProcessDebugger - Socket is closed
java.net.SocketException: Socket is closed
at java.base/java.net.ServerSocket.setSoTimeout(ServerSocket.java:672)
at com.jetbrains.python.debugger.pydev.transport.ServerModeDebuggerTransport.waitForConnect(ServerModeDebuggerTransport.java:36)
at com.jetbrains.python.debugger.pydev.RemoteDebugger.waitForConnect(RemoteDebugger.java:118)
at com.jetbrains.python.debugger.pydev.MultiProcessDebugger$DebuggerProcessAcceptor.run(MultiProcessDebugger.java:529)
at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:295)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
at java.base/java.lang.Thread.run(Thread.java:829)
2022-04-18 13:54:51,511 [ 737707] INFO - #c.j.p.s.f.PySciEnvironmentProvider - Plots on port: 63342
2022-04-18 13:55:01,624 [ 747820] INFO - #c.i.c.ComponentStoreImpl - Saving appNotificationConfiguration took 139 ms
2022-04-18 13:55:01,716 [ 747912] INFO - #c.i.c.ComponentStoreImpl - Saving Project(name=the_project, containerState=COMPONENT_CREATED, componentStore=/home/carles/git/the_project)RunManager took 22 ms
2022-04-18 13:55:03,135 [ 749331] INFO - #c.i.c.ComponentStoreImpl - Saving appNodeJsLocalInterpreterManager took 17 ms, RemoteServers took 13 ms
2022-04-18 13:55:03,172 [ 749368] INFO - #c.i.c.ComponentStoreImpl - Saving Module: 'the_project'PackageRequirementsSettings took 13 ms, TestRunnerService took 18 ms
2022-04-18 13:55:03,248 [ 749444] INFO - #c.i.c.ComponentStoreImpl - Saving Project(name=the_project, containerState=COMPONENT_CREATED, componentStore=/home/carles/git/the_project)RunManager took 47 ms, WebServers took 11 ms
2022-04-18 13:55:11,367 [ 757563] INFO - #c.j.p.s.f.PySciEnvironmentProvider - Plots on port: 63342
2022-04-18 13:55:14,192 [ 760388] INFO - #c.i.c.ComponentStoreImpl - Saving Project(name=the_project, containerState=COMPONENT_CREATED, componentStore=/home/carles/git/the_project)RunManager took 11 ms
2022-04-18 13:56:05,003 [ 811199] INFO - #c.j.p.s.f.PySciEnvironmentProvider - Plots on port: 63342
2022-04-18 13:56:06,311 [ 812507] INFO - #c.i.c.ComponentStoreImpl - Saving Project(name=the_project, containerState=COMPONENT_CREATED, componentStore=/home/carles/git/the_project)RunManager took 11 ms
If I execute the command displayed in the logs:
carles@pinux:~$ /usr/bin/python3.9 /home/carles/bin/pycharm-2019.2.3/plugins/python/helpers/pydev/setup_cython.py build_ext --build-lib /home/carles/.cache/JetBrains/PyCharm2022.1/cythonExtensions --build-temp /home/carles/.cache/JetBrains/PyCharm2022.1/cythonExtensions/build
running build_ext
running build_ext
running build_ext
carles@pinux:~$
Any idea on what's failing, why the popup is showed again and again? I prefer to make sure that the extensions are installed rather than disable them via PYDEVD_USE_CYTHON=NO
Thank you very much,
Please sign in to leave a comment.