【已解决】启动pycharm报错:Internal error. 【java.lang.RuntimeException: Can't initialize filesystem storage】

电脑周末被工作园区停电后,启动pycharm报错:Internal error. 【java.lang.RuntimeException: Can't initialize filesystem storage】当时pycharm应该还在跑程序来着。

尝试过网上的帖子解决方式都没有成功启动:
1)卸载重新安装
2)重置网络
3)清理plugins
4)修改idea.properties

# idea.config.path=${user.home}/.PyCharm/config
idea.config.path=%{path}/JetBrains/.IntelliJIdea/config

#---------------------------------------------------------------------
# Uncomment this option if you want to customize a path to the caches directory.
#---------------------------------------------------------------------
# idea.system.path=${user.home}/.PyCharm/system
idea.system.path=%{path}/JetBrains/.IntelliJIdea/system

#---------------------------------------------------------------------
# Uncomment this option if you want to customize a path to the user-installed plugins directory.
#---------------------------------------------------------------------
# idea.plugins.path=${idea.config.path}/plugins
idea.plugins.path=%{path}/JetBrains/plugins

#---------------------------------------------------------------------
# Uncomment this option if you want to customize a path to the logs directory.
#---------------------------------------------------------------------
# idea.log.path=${idea.system.path}/log
idea.log.path=%{path}/JetBrains/log


仍旧报错如下,请帮忙看看!感激不尽!


2023-08-21 12:30:22,154 [   2551]   INFO - STDERR - 
2023-08-21 12:30:22,154 [   2551]   INFO - STDERR - Start Failed
2023-08-21 12:30:22,154 [   2551]   INFO - STDERR - Internal error. Please refer to https://jb.gg/ide/critical-startup-errors
2023-08-21 12:30:22,154 [   2551]   INFO - STDERR - 
2023-08-21 12:30:22,154 [   2551]   INFO - STDERR - java.lang.RuntimeException: Can't initialize filesystem storage
2023-08-21 12:30:22,154 [   2551]   INFO - STDERR -     at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSConnector.init(PersistentFSConnector.java:83)
2023-08-21 12:30:22,154 [   2551]   INFO - STDERR -     at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSConnector.connect(PersistentFSConnector.java:49)
2023-08-21 12:30:22,155 [   2552]   INFO - STDERR -     at com.intellij.openapi.vfs.newvfs.persistent.FSRecords.connect(FSRecords.java:167)
2023-08-21 12:30:22,155 [   2552]   INFO - STDERR -     at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.doConnect(PersistentFSImpl.java:128)
2023-08-21 12:30:22,155 [   2552]   INFO - STDERR -     at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.connect(PersistentFSImpl.java:107)
2023-08-21 12:30:22,155 [   2552]   INFO - STDERR -     at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.<init>(PersistentFSImpl.java:99)
2023-08-21 12:30:22,155 [   2552]   INFO - STDERR -     at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
2023-08-21 12:30:22,155 [   2552]   INFO - STDERR -     at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
2023-08-21 12:30:22,155 [   2552]   INFO - STDERR -     at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
2023-08-21 12:30:22,155 [   2552]   INFO - STDERR -     at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
2023-08-21 12:30:22,155 [   2552]   INFO - STDERR -     at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
2023-08-21 12:30:22,155 [   2552]   INFO - STDERR -     at com.intellij.serviceContainer.ConstructorInjectionKt.instantiateUsingPicoContainer(constructorInjection.kt:49)
2023-08-21 12:30:22,156 [   2553]   INFO - STDERR -     at com.intellij.serviceContainer.ComponentManagerImpl.instantiateClassWithConstructorInjection(ComponentManagerImpl.kt:996)
2023-08-21 12:30:22,156 [   2553]   INFO - STDERR -     at com.intellij.serviceContainer.ServiceComponentAdapter.createAndInitialize(ServiceComponentAdapter.kt:43)
2023-08-21 12:30:22,156 [   2553]   INFO - STDERR -     at com.intellij.serviceContainer.ServiceComponentAdapter.doCreateInstance(ServiceComponentAdapter.kt:39)
2023-08-21 12:30:22,156 [   2553]   INFO - STDERR -     at com.intellij.serviceContainer.BaseComponentAdapter.doCreateInstance(BaseComponentAdapter.kt:154)
2023-08-21 12:30:22,156 [   2553]   INFO - STDERR -     at com.intellij.serviceContainer.BaseComponentAdapter.createInstance$lambda$1(BaseComponentAdapter.kt:133)
2023-08-21 12:30:22,156 [   2553]   INFO - STDERR -     at com.intellij.openapi.progress.Cancellation.computeInNonCancelableSection(Cancellation.java:99)
2023-08-21 12:30:22,156 [   2553]   INFO - STDERR -     at com.intellij.serviceContainer.BaseComponentAdapter.createInstance(BaseComponentAdapter.kt:132)
2023-08-21 12:30:22,156 [   2553]   INFO - STDERR -     at com.intellij.serviceContainer.BaseComponentAdapter.access$createInstance(BaseComponentAdapter.kt:19)
2023-08-21 12:30:22,156 [   2553]   INFO - STDERR -     at com.intellij.serviceContainer.BaseComponentAdapter$getInstanceAsync$2.invokeSuspend(BaseComponentAdapter.kt:181)
2023-08-21 12:30:22,157 [   2554]   INFO - STDERR -     at com.intellij.serviceContainer.BaseComponentAdapter$getInstanceAsync$2.invoke(BaseComponentAdapter.kt)
2023-08-21 12:30:22,157 [   2554]   INFO - STDERR -     at com.intellij.serviceContainer.BaseComponentAdapter$getInstanceAsync$2.invoke(BaseComponentAdapter.kt)
2023-08-21 12:30:22,157 [   2554]   INFO - STDERR -     at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89)
2023-08-21 12:30:22,157 [   2554]   INFO - STDERR -     at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:169)
2023-08-21 12:30:22,157 [   2554]   INFO - STDERR -     at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
2023-08-21 12:30:22,157 [   2554]   INFO - STDERR -     at com.intellij.serviceContainer.BaseComponentAdapter.getInstanceAsync(BaseComponentAdapter.kt:176)
2023-08-21 12:30:22,157 [   2554]   INFO - STDERR -     at com.intellij.serviceContainer.ComponentManagerImpl.getServiceAsyncIfDefined(ComponentManagerImpl.kt:645)
2023-08-21 12:30:22,157 [   2554]   INFO - STDERR -     at com.intellij.serviceContainer.ComponentManagerImpl.getServiceAsync(ComponentManagerImpl.kt:636)
2023-08-21 12:30:22,157 [   2554]   INFO - STDERR -     at com.intellij.idea.ApplicationLoader$preloadCriticalServices$1.invokeSuspend(ApplicationLoader.kt:192)
2023-08-21 12:30:22,157 [   2554]   INFO - STDERR -     at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
2023-08-21 12:30:22,157 [   2554]   INFO - STDERR -     at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
2023-08-21 12:30:22,157 [   2554]   INFO - STDERR -     at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
2023-08-21 12:30:22,158 [   2555]   INFO - STDERR -     at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
2023-08-21 12:30:22,158 [   2555]   INFO - STDERR -     at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
2023-08-21 12:30:22,158 [   2555]   INFO - STDERR -     at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
2023-08-21 12:30:22,158 [   2555]   INFO - STDERR - Caused by: java.io.IOException: Can't create storage at: %{path}\JetBrains\.IntelliJIdea\system\caches\attrib.dat
2023-08-21 12:30:22,158 [   2555]   INFO - STDERR -     at com.intellij.util.io.storage.AbstractStorage.tryInit(AbstractStorage.java:137)
2023-08-21 12:30:22,158 [   2555]   INFO - STDERR -     at com.intellij.util.io.storage.AbstractStorage.tryInit(AbstractStorage.java:140)
2023-08-21 12:30:22,159 [   2556]   INFO - STDERR -     at com.intellij.util.io.storage.AbstractStorage.tryInit(AbstractStorage.java:140)
2023-08-21 12:30:22,159 [   2556]   INFO - STDERR -     at com.intellij.util.io.storage.AbstractStorage.tryInit(AbstractStorage.java:140)
2023-08-21 12:30:22,159 [   2556]   INFO - STDERR -     at com.intellij.util.io.storage.AbstractStorage.tryInit(AbstractStorage.java:140)
2023-08-21 12:30:22,159 [   2556]   INFO - STDERR -     at com.intellij.util.io.storage.AbstractStorage.tryInit(AbstractStorage.java:140)
2023-08-21 12:30:22,159 [   2556]   INFO - STDERR -     at com.intellij.util.io.storage.AbstractStorage.<init>(AbstractStorage.java:93)
2023-08-21 12:30:22,159 [   2556]   INFO - STDERR -     at com.intellij.util.io.storage.AbstractStorage.<init>(AbstractStorage.java:85)
2023-08-21 12:30:22,160 [   2557]   INFO - STDERR -     at com.intellij.util.io.storage.Storage.<init>(Storage.java:16)
2023-08-21 12:30:22,160 [   2557]   INFO - STDERR -     at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSConnector$1.<init>(PersistentFSConnector.java:242)
2023-08-21 12:30:22,160 [   2557]   INFO - STDERR -     at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSConnector.createAttributesStorage(PersistentFSConnector.java:239)
2023-08-21 12:30:22,160 [   2557]   INFO - STDERR -     at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSConnector.tryInit(PersistentFSConnector.java:131)
2023-08-21 12:30:22,160 [   2557]   INFO - STDERR -     at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSConnector.init(PersistentFSConnector.java:77)
2023-08-21 12:30:22,160 [   2557]   INFO - STDERR -     ... 35 more
2023-08-21 12:30:22,160 [   2557]   INFO - STDERR - 
2023-08-21 12:30:22,160 [   2557]   INFO - STDERR - 
2023-08-21 12:30:22,160 [   2557]   INFO - STDERR - Your JRE: 17.0.6+1-b653.34 amd64 (JetBrains s.r.o.)
2023-08-21 12:30:22,160 [   2557]   INFO - STDERR - %{path}\PyCharm2022.3.3\jbr

解决手段:评论区有

解决方法

Pycharm没有卸载干净

1、删除c:\Users\username\AppData\Local\JetBrains\IntelliJIdea2023.2,电脑重启,
然后重新安装试下。
参考:

2、或者试下下面的完整删除步骤:


如有问题随时沟通
如有帮助欢迎采纳

根据错误代码,你的pycharm是因为没有正确的关闭而报错,如果没有重要信息,建议重新安装后再用,因为系统文件已经出错了,改是改不好了,或者说希望渺茫,建议重装
重装网址:https://www.jetbrains.com.cn/en-us/pycharm/

pycharm无法初始化文件系统存储
换个版本试试

目前另一种使用方式。
在安装目录下不用.exe可执行文件,使用cmd在终端执行python.bat可以打开窗口。。
暂时先这么用,太耽误工作时间了。

删除这个目录下的缓存文件ideaIU-2019.3.1\bin\Idea\system\caches\

【相关推荐】




如果你已经解决了该问题, 非常希望你能够分享一下解决方案, 写成博客, 将相关链接放在评论区, 以帮助更多的人 ^-^

再重新试试这几种方法吧,按照以下几种操作再来一遍:

  1. 删除IntelliJ IDEA的配置文件夹。默认情况下,它位于以下路径:

    • Windows: C:Users\<用户名>\.IntelliJIdea<版本>
    • macOS: ~/Library/Application Support/IntelliJIdea<版本>
    • Linux: ~/.IntelliJIdea<版本>

    请注意,这将删除所有自定义设置和插件,因此在执行此操作之前,请确保备份您的配置。

  2. 重新启动计算机。

  3. 重新下载并安装IntelliJ IDEA。在安装过程中,确保选择“为我安装”选项,以便仅安装所需的插件和功能。

  4. 使用默认设置启动IntelliJ IDEA。在首次启动时,它将创建一个新的配置文件(idea.properties),其中包含默认设置。

  5. 打开您之前无法启动的项目,检查问题是否已解决。如果仍然遇到问题,报错信息再发一遍。


如果以上回答对您有所帮助,点击一下采纳该答案~谢谢

对于这个问题,您可以尝试以下解决方案:

清除缓存:关闭 PyCharm 后,删除系统中的缓存文件夹。缓存文件夹的位置因操作系统而异,您可以在 PyCharm 的安装目录中找到它。然后重新启动 PyCharm 看是否解决了问题。

检查磁盘空间:确保磁盘上有足够的可用空间,以便 PyCharm 运行正常。

检查文件系统权限:确保您对 PyCharm 所在的文件系统具有读写权限。如果您没有权限,请尝试以管理员身份运行 PyCharm。

更新 Java 运行时环境:尝试更新您的 Java 运行时环境版本。您可以从官方网站下载最新的 Java JRE 并安装它。

如果以上方法都没有解决问题,您可以尝试联系 PyCharm 的技术支持团队,向他们提供详细的错误信息和您的操作系统信息,以便他们能更好地帮助您解决问题。

是不是有盘没空间了啊


如果在尝试cmd执行“netsh winsock reset”命令重新配置网络环境后仍无法解决,考虑可能是由安装的插件冲突导致的(尤其是一些主题插件),从AppData/Roaming/JetBrains路径中的pycharm目录下的plugins文件夹中删除下载的冲突插件即可解决。

Pycharm启动失败另一种可能
可以参考下

清除 PyCharm 的缓存文件,可能会有助于解决问题

卸载重新安装啊。如果你已经试过这个方法,那应该是之前的没有清理干净。缓存什么的。

清理PyCharm的缓存文件:在你的用户目录下找到PyCharm的缓存文件夹,通常位于C:\Users\YourUsername.PyCharmCE2019.3\system