[记录] PyCharm 2023.2.2 无法启动项目,旧版本可用

2023-10-07 17:21:50 +08:00
 albert0yyyy

目前我退回 2022.3.3 ,可以正常使用


2023.2.2 启动报错,

我尝试过关闭代理、删除缓存、删除插件、删除旧配置。当我看到这个 issue 后,意识到可能有不少人有这个问题,切换到旧版本可能比较好。

https://youtrack.jetbrains.com/issue/IDEA-332929


报错如下:


Internal error. Please refer to https://jb.gg/ide/critical-startup-errors

java.lang.IllegalArgumentException: nameId is invalid: fileId=446545, parentId=0, nameId=0
    at com.intellij.openapi.vfs.newvfs.ChildInfoImpl.<init>(ChildInfoImpl.java:54)
    at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSTreeAccessor.doLoadChildren(PersistentFSTreeAccessor.java:115)
    at com.intellij.openapi.vfs.newvfs.persistent.FSRecordsImpl.list(FSRecordsImpl.java:498)
    at com.intellij.openapi.vfs.newvfs.persistent.FSRecordsImpl.update(FSRecordsImpl.java:530)
    at com.intellij.openapi.vfs.newvfs.persistent.FSRecords.update(FSRecords.java:256)
    at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.findChildInfo(PersistentFSImpl.java:509)
    at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.findInPersistence(VirtualDirectoryImpl.java:154)
    at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.doFindChild(VirtualDirectoryImpl.java:137)
    at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.findChild(VirtualDirectoryImpl.java:83)
    at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.refreshAndFindChild(VirtualDirectoryImpl.java:349)
    at com.intellij.openapi.vfs.newvfs.VfsImplUtil.refreshAndFindFileByPath(VfsImplUtil.java:117)
    at com.intellij.openapi.vfs.impl.local.LocalFileSystemBase.refreshAndFindFileByPath(LocalFileSystemBase.java:132)
    at com.intellij.openapi.vfs.LocalFileSystem.refreshAndFindFileByNioFile(LocalFileSystem.java:50)
    at com.intellij.ide.CommandLineProcessor.doOpenFile(CommandLineProcessor.kt:99)
    at com.intellij.ide.CommandLineProcessor.doOpenFileOrProject(CommandLineProcessor.kt:87)
    at com.intellij.ide.CommandLineProcessor$doOpenFileOrProject$1.invokeSuspend(CommandLineProcessor.kt)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
    at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

525 次点击
所在节点    JetBrains
0 条回复

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/979580

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX