Idea fails when running python script
We I start a python script idea fails:
2022-09-28 15:01:24,276 [15624553] INFO - #c.i.e.r.ExecutionUtil - Error running 'xxx.py':<br>Failed to map jar://C:/m2r/lr/org/projectlombok/lombok/1.18.22/lombok-1.18.22.jar!/ (filesystem com.intellij.openapi.vfs.impl.jar.JarFileSystemImpl@44597915) into nio Path
java.lang.UnsupportedOperationException: Failed to map jar://C:/m2r/lr/org/projectlombok/lombok/1.18.22/lombok-1.18.22.jar!/ (filesystem com.intellij.openapi.vfs.impl.jar.JarFileSystemImpl@44597915) into nio Path
at com.intellij.openapi.vfs.VirtualFile.toNioPath(VirtualFile.java:164)
at com.jetbrains.python.run.TargetedPythonPaths.addLibrariesFromModule(TargetedPythonPaths.kt:181)
at com.jetbrains.python.run.TargetedPythonPaths.collectPythonPath(TargetedPythonPaths.kt:118)
at com.jetbrains.python.run.TargetedPythonPaths.collectPythonPath(TargetedPythonPaths.kt:82)
at com.jetbrains.python.run.TargetedPythonPaths.collectPythonPath(TargetedPythonPaths.kt:65)
at com.jetbrains.python.console.PydevConsoleRunnerFactory$Companion.createSetupScriptFunction(PydevConsoleRunnerFactory.kt:156)
at com.jetbrains.python.console.PydevConsoleRunnerFactory$Companion.access$createSetupScriptFunction(PydevConsoleRunnerFactory.kt:93)
at com.jetbrains.python.console.PydevConsoleRunnerFactory.createConsoleParameters(PydevConsoleRunnerFactory.kt:54)
at com.jetbrains.FrameworkAwarePythonConsoleRunnerFactory.createConsoleParameters(FrameworkAwarePythonConsoleRunnerFactory.java:91)
at com.jetbrains.python.console.PydevConsoleRunnerFactory.createConsoleRunnerWithFile(PydevConsoleRunnerFactory.kt:77)
at com.jetbrains.python.actions.PyExecuteInConsole.startNewConsoleInstance(PyExecuteInConsole.kt:185)
at com.jetbrains.python.actions.PyExecuteInConsole.executeCodeInConsole(PyExecuteInConsole.kt:91)
at com.jetbrains.python.actions.PyExecuteInConsole.executeCodeInConsole(PyExecuteInConsole.kt:46)
at com.jetbrains.python.run.PythonScriptCommandLineState.execute(PythonScriptCommandLineState.java:125)
at com.jetbrains.python.run.PythonCommandLineState.execute(PythonCommandLineState.java:175)
at com.jetbrains.python.run.PythonRunner.lambda$execute$2(PythonRunner.java:67)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.util.concurrent.Executors$PrivilegedThread
请先登录再写评论。
Anyone figure out how to fix this yet?
https://youtrack.jetbrains.com/issue/PY-56176