在ubuntu 24.04系统中需要安装pycharm,笔者按照以往的常规方法,直接从pycharm官网下载tar.gz,然后解压,放置到/usr/local目录下
到该目录下的bin目录中,命令行使用./pycharm.sh启动,结果开启IDE画面之后闪崩。
具体报错信息如下:
2024-11-09 10:41:15,239 [ 352] WARN – #c.i.o.v.n.p.FSRecords – Records storage [/root/.cache/JetBrains/PyCharmCE2024.2/caches/records.dat] was in use by process [OwnershipInfo{owner pid: 19160, acquired at: 1731074102454}] which is not exist now (wasn’t closed properly/crashed?) -> re-acquiring forcibly
2024-11-09 10:41:15,278 [ 391] WARN – #c.i.o.v.n.p.PersistentFSLoader – [VFS load problem]: VFS wasn’t safely shut down: records.wasClosedProperly is false
2024-11-09 10:41:15,407 [ 520] WARN – #c.i.o.v.n.p.PersistentFSLoader – [VFS load problem]: NOT_CLOSED_PROPERLY recovered, no problems remain
Warning: Not allowed as a service: java.awt.Window.CustomTitleBarPeer
at com.jetbrains.JBR$WindowDecorations__Holder.(JBR.java:642)
at com.jetbrains.JBR.getWindowDecorations(JBR.java:662)
at com.intellij.platform.ide.bootstrap.StartupUtilstartApplication3.invokeSuspend(startup.kt:171)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:608)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:873)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:763)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:750)
Warning: Service not supported: com.jetbrains.WindowDecorations
at com.jetbrains.JBR$WindowDecorations__Holder.(JBR.java:642)
at com.jetbrains.JBR.getWindowDecorations(JBR.java:662)
at com.intellij.platform.ide.bootstrap.StartupUtilstartApplication3.invokeSuspend(startup.kt:171)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:608)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:873)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:763)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:750)
Warning: Not allowed as a service: com.jetbrains.RoundedCornersManager
at com.jetbrains.JBR$RoundedCornersManager__Holder.(JBR.java:514)
at com.jetbrains.JBR.isRoundedCornersManagerSupported(JBR.java:524)
at com.intellij.ui.WindowRoundedCornersManager.isAvailable(WindowRoundedCornersManager.java:36)
at com.intellij.ui.WindowRoundedCornersManager.configure(WindowRoundedCornersManager.java:24)
at com.intellij.ui.messages.AlertDialog.(AlertMessagesManager.kt:202)
at com.intellij.ui.messages.AlertMessagesManager.showMessageDialog(AlertMessagesManager.kt:67)
at com.intellij.ui.messages.MessagesServiceImpl.showMessageDialog(MessagesServiceImpl.java:54)
at com.jetbrains.rdserver.ui.BackendMessagesService.showMessageDialog(BackendMessagesService.kt:33)
at com.intellij.openapi.ui.MessageDialogBuilder$Message.show(MessageDialogBuilder.kt:179)
at com.intellij.openapi.ui.MessageDialogBuilderMessage.showdefault(MessageDialogBuilder.kt:175)
at com.intellij.ide.trustedProjects.TrustedProjectsDialogconfirmOpeningOrLinkingUntrustedProjectAsyncchoice$1.invokeSuspend(TrustedProjectsDialog.kt:67)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at com.intellij.openapi.application.impl.DispatchedRunnable.run(DispatchedRunnable.kt:44)
at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:229)
at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:22)
at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:211)
at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runWithImplicitRead(AnyThreadWriteThreadingSupport.kt:122)
at com.intellij.openapi.application.impl.ApplicationImpl.runWithImplicitRead(ApplicationImpl.java:1162)
at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:78)
at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:119)
at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:41)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:781)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:728)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:722)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:750)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:696)
at com.intellij.ide.IdeEventQueue._dispatchEventlambda16(IdeEventQueue.kt:590)
at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runWithoutImplicitRead(AnyThreadWriteThreadingSupport.kt:117)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:590)
at com.intellij.ide.IdeEventQueue.access$_dispatchEvent(IdeEventQueue.kt:73)
at com.intellij.ide.IdeEventQueuedispatchEventprocessEventRunnable11$1.invoke(IdeEventQueue.kt:353)
at com.intellij.ide.IdeEventQueuedispatchEventprocessEventRunnable11$1.invoke(IdeEventQueue.kt:351)
at com.intellij.ide.IdeEventQueueKtperformActivityrunnableWithWIL1.invokelambda$0(IdeEventQueue.kt:1035)
at com.intellij.openapi.application.WriteIntentReadAction.lambdarun0(WriteIntentReadAction.java:24)
at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runWriteIntentReadAction(AnyThreadWriteThreadingSupport.kt:84)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteIntentReadAction(ApplicationImpl.java:910)
at com.intellij.openapi.application.WriteIntentReadAction.compute(WriteIntentReadAction.java:55)
at com.intellij.openapi.application.WriteIntentReadAction.run(WriteIntentReadAction.java:23)
at com.intellij.ide.IdeEventQueueKtperformActivityrunnableWithWIL$1.invoke(IdeEventQueue.kt:1035)
at com.intellij.ide.IdeEventQueueKtperformActivityrunnableWithWIL$1.invoke(IdeEventQueue.kt:1035)
at com.intellij.ide.IdeEventQueueKt.performActivitylambda1(IdeEventQueue.kt:1036)
at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:106)
at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:1036)
at com.intellij.ide.IdeEventQueue.dispatchEventlambda10(IdeEventQueue.kt:351)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:397)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)
2024-11-09 10:41:17,919 [ 3032] WARN – #c.i.w.i.i.l.m.ModuleBridgeLoaderService – Loaded from cache, but no serialized modules found. Workspace model cache will be ignored, project structure will be recreated.
2024-11-09 10:41:18,163 [ 3276] WARN – #c.i.s.ComponentManagerImpl – preload=NOT_HEADLESS must be used only for core services (service=com.jetbrains.rdserver.toolWindow.BackendServerToolWindowManager, plugin=com.jetbrains.codeWithMe)
2024-11-09 10:41:18,163 [ 3276] WARN – #c.i.s.ComponentManagerImpl – preload=TRUE must be used only for core services (service=com.intellij.cwm.plugin.users.BackendUserManager, plugin=com.jetbrains.codeWithMe)
2024-11-09 10:41:18,163 [ 3276] WARN – #c.i.s.ComponentManagerImpl – preload=TRUE must be used only for core services (service=com.intellij.cwm.plugin.ports.CwmPortForwardingToolWindowManager, plugin=com.jetbrains.codeWithMe)
2024-11-09 10:41:18,163 [ 3276] WARN – #c.i.s.ComponentManagerImpl – preload=TRUE must be used only for core services (service=com.intellij.cwm.plugin.users.BackendCWMUserFocusHost, plugin=com.jetbrains.codeWithMe)
2024-11-09 10:41:18,163 [ 3276] WARN – #c.i.s.ComponentManagerImpl – preload=TRUE must be used only for core services (service=com.intellij.cwm.plugin.following.FollowMeManagerService, plugin=com.jetbrains.codeWithMe)
2024-11-09 10:41:18,163 [ 3276] WARN – #c.i.s.ComponentManagerImpl – preload=TRUE must be used only for core services (service=com.intellij.cwm.plugin.following.BackendProjectViewSync, plugin=com.jetbrains.codeWithMe)
2024-11-09 10:41:18,163 [ 3276] WARN – #c.i.s.ComponentManagerImpl – preload=TRUE must be used only for core services (service=com.intellij.cwm.plugin.following.BackendFollowMeEditorsHost, plugin=com.jetbrains.codeWithMe)
2024-11-09 10:41:18,163 [ 3276] WARN – #c.i.s.ComponentManagerImpl – preload=TRUE must be used only for core services (service=com.intellij.cwm.plugin.following.BackendFollowMeDebuggerHost, plugin=com.jetbrains.codeWithMe)
2024-11-09 10:41:18,163 [ 3276] WARN – #c.i.s.ComponentManagerImpl – preload=TRUE must be used only for core services (service=com.intellij.cwm.plugin.following.FollowMeLookupSynchronizer, plugin=com.jetbrains.codeWithMe)
2024-11-09 10:41:19,463 [ 4576] WARN – #c.j.p.PythonHelpersLocator – File coveragepy_old.zip does not exist in helpers root
2024-11-09 10:41:19,464 [ 4577] WARN – #c.j.p.PythonHelpersLocator – File coveragepy_new.zip does not exist in helpers root
2024-11-09 10:41:19,464 [ 4577] WARN – #c.j.p.PythonHelpersLocator – File coverage_runner.zip does not exist in helpers root
2024-11-09 10:41:19,465 [ 4578] WARN – #c.j.p.PythonHelpersLocator – File pydev.zip does not exist in helpers root
2024-11-09 10:41:19,465 [ 4578] WARN – #c.j.p.PythonHelpersLocator – File pydev.zip does not exist in helpers root
2024-11-09 10:41:19,466 [ 4579] WARN – #c.j.p.PythonHelpersLocator – File profiler.zip does not exist in helpers root
2024-11-09 10:41:19,466 [ 4579] WARN – #c.j.p.PythonHelpersLocator – File profiler.zip does not exist in helpers root
2024-11-09 10:41:19,467 [ 4580] WARN – #c.j.p.PythonHelpersLocator – File pycharm.zip does not exist in helpers root
2024-11-09 10:41:19,467 [ 4580] WARN – #c.j.p.PythonHelpersLocator – File pycharm.zip does not exist in helpers root
2024-11-09 10:41:19,467 [ 4580] WARN – #c.j.p.PythonHelpersLocator – File pycharm.zip does not exist in helpers root
2024-11-09 10:41:19,468 [ 4581] WARN – #c.j.p.PythonHelpersLocator – File pycharm.zip does not exist in helpers root
2024-11-09 10:41:19,468 [ 4581] WARN – #c.j.p.PythonHelpersLocator – File pycharm.zip does not exist in helpers root
2024-11-09 10:41:19,468 [ 4581] WARN – #c.j.p.PythonHelpersLocator – File pycharm.zip does not exist in helpers root
2024-11-09 10:41:19,469 [ 4582] WARN – #c.j.p.PythonHelpersLocator – File pycharm.zip does not exist in helpers root
2024-11-09 10:41:19,469 [ 4582] WARN – #c.j.p.PythonHelpersLocator – File pycharm.zip does not exist in helpers root
2024-11-09 10:41:19,469 [ 4582] WARN – #c.j.p.PythonHelpersLocator – File pycharm.zip does not exist in helpers root
2024-11-09 10:41:19,469 [ 4582] WARN – #c.j.p.PythonHelpersLocator – File pycharm.zip does not exist in helpers root
2024-11-09 10:41:19,470 [ 4583] WARN – #c.j.p.PythonHelpersLocator – File pycharm.zip does not exist in helpers root
2024-11-09 10:41:19,470 [ 4583] WARN – #c.j.p.PythonHelpersLocator – File pycharm.zip does not exist in helpers root
2024-11-09 10:41:19,470 [ 4583] WARN – #c.j.p.PythonHelpersLocator – File pycharm.zip does not exist in helpers root
2024-11-09 10:41:19,471 [ 4584] WARN – #c.j.p.PythonHelpersLocator – File pycharm.zip does not exist in helpers root
2024-11-09 10:41:19,471 [ 4584] WARN – #c.j.p.PythonHelpersLocator – File pycharm.zip does not exist in helpers root
2024-11-09 10:41:19,471 [ 4584] WARN – #c.j.p.PythonHelpersLocator – File pycharm.zip does not exist in helpers root
2024-11-09 10:41:19,471 [ 4584] WARN – #c.j.p.PythonHelpersLocator – File pycharm.zip does not exist in helpers root
2024-11-09 10:41:19,472 [ 4585] WARN – #c.j.p.PythonHelpersLocator – File pycharm.zip does not exist in helpers root
2024-11-09 10:41:19,486 [ 4599] WARN – #c.i.e.t.TargetBasedSdks – SDK target configuration data is absent
2024-11-09 10:41:19,530 [ 4643] WARN – #o.j.p.t.TextMateService – Cannot find referenced file ./syntaxes/asp-vb-net.tmLanguage.json in bundle /snap/pycharm-community/425/plugins/textmate/lib/bundles/vb
2024-11-09 10:41:19,577 [ 4690] WARN – #c.i.e.t.TargetBasedSdks – SDK target configuration data is absent
2024-11-09 10:41:19,624 [ 4737] WARN – #c.i.e.t.TargetBasedSdks – SDK target configuration data is absent
2024-11-09 10:41:19,702 [ 4815] WARN – #c.i.e.t.TargetBasedSdks – SDK target configuration data is absent
2024-11-09 10:41:19,811 [ 4924] WARN – #o.j.p.t.TextMateService – Cannot find referenced file ./syntaxes/asp-vb-net.tmLanguage.json in bundle /snap/pycharm-community/425/plugins/textmate/lib/bundles/vb
2024-11-09 10:41:19,995 [ 5108] WARN – #o.j.p.t.TextMateService – Cannot find referenced file ./syntaxes/asp-vb-net.tmLanguage.json in bundle /snap/pycharm-community/425/plugins/textmate/lib/bundles/vb
2024-11-09 10:41:20,148 [ 5261] WARN – #o.j.p.t.TextMateService – Cannot find referenced file ./syntaxes/asp-vb-net.tmLanguage.json in bundle /snap/pycharm-community/425/plugins/textmate/lib/bundles/vb
上面的信息比较多,网上搜索没有找到对应的解决办法。
笔者重新按照 snap install pycharm-community –classic 的方式安装,然后命令行使用 pycharm-community 启动。但是仍然不起作用,同样的报错信息退出。
这就比较纠结和困惑了。
随后笔者在pycharm官网看到建议使用educational版本,所以就改用 snap install pycharm-educational –classic 安装,然后pycharm-educational启动,发现可以正常使用了。
Recent Comments
没有评论可显示。