Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] PyCharm启动失败 #1087

Open
gzy1144 opened this issue Dec 2, 2023 · 13 comments
Open

[Bug] PyCharm启动失败 #1087

gzy1144 opened this issue Dec 2, 2023 · 13 comments
Labels
type: bug Something isn't working

Comments

@gzy1144
Copy link

gzy1144 commented Dec 2, 2023

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

java.lang.RuntimeException: Cannot invoke (class=aq, method=appFrameCreated, topic=AppLifecycleListener)
at com.intellij.util.messages.impl.MessageBusImplKt.invokeListener(MessageBusImpl.kt:676)
at com.intellij.util.messages.impl.MessageBusImplKt.deliverMessage(MessageBusImpl.kt:422)
at com.intellij.util.messages.impl.MessageBusImplKt.pumpWaiting(MessageBusImpl.kt:401)
at com.intellij.util.messages.impl.MessageBusImplKt.access$pumpWaiting(MessageBusImpl.kt:1)
at com.intellij.util.messages.impl.MessagePublisher.invoke(MessageBusImpl.kt:460)
at jdk.proxy2/jdk.proxy2.$Proxy51.appFrameCreated(Unknown Source)
at com.intellij.idea.IdeStarter.openProjectIfNeeded$suspendImpl(IdeStarter.kt:89)
at com.intellij.idea.IdeStarter.openProjectIfNeeded(IdeStarter.kt)
at com.intellij.idea.IdeStarter$start$2.invokeSuspend(IdeStarter.kt:69)
at com.intellij.idea.IdeStarter$start$2.invoke(IdeStarter.kt)
at com.intellij.idea.IdeStarter$start$2.invoke(IdeStarter.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:78)
at kotlinx.coroutines.CoroutineScopeKt.coroutineScope(CoroutineScope.kt:264)
at com.intellij.idea.IdeStarter.start$suspendImpl(IdeStarter.kt:66)
at com.intellij.idea.IdeStarter.start(IdeStarter.kt)
at com.intellij.ide.bootstrap.ApplicationLoader.initApplicationImpl(ApplicationLoader.kt:90)
at com.intellij.ide.bootstrap.ApplicationLoader$initApplicationImpl$1.invokeSuspend(ApplicationLoader.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)
Caused by: java.lang.NoClassDefFoundError: com/intellij/ide/util/PropertiesComponentImpl
at fuck_you.ap.a(Unknown Source)
at fuck_you.aq.appFrameCreated(Unknown Source)
at com.intellij.util.messages.impl.MessageBusImplKt.invokeMethod(MessageBusImpl.kt:699)
at com.intellij.util.messages.impl.MessageBusImplKt.invokeListener(MessageBusImpl.kt:663)
... 22 more
Caused by: java.lang.ClassNotFoundException: com.intellij.ide.util.PropertiesComponentImpl
at com.intellij.util.lang.UrlClassLoader.findClass(UrlClassLoader.java:224)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:592)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
... 26 more


Your JRE: 17.0.9+7-b1000.46 amd64 (JetBrains s.r.o.)
D:\jet-idea-pycharm\PyCharm Professional\jbr

@gzy1144 gzy1144 added the type: bug Something isn't working label Dec 2, 2023
@tangcent
Copy link
Owner

tangcent commented Dec 2, 2023

Hi @gzy1144, easy-yapi does not support PyCharm, nor does it support parsing Python code to generate API documentation.

@gzy1144
Copy link
Author

gzy1144 commented Dec 2, 2023

Hi @gzy1144, easy-yapi does not support PyCharm, nor does it support parsing Python code to generate API documentation.

那我应该怎么做呢

@gzy1144
Copy link
Author

gzy1144 commented Dec 2, 2023

Hi @gzy1144, easy-yapi does not support PyCharm, nor does it support parsing Python code to generate API documentation.

So what should I do?

@tangcent
Copy link
Owner

tangcent commented Dec 3, 2023

If PyCharm cannot start due to the installation of easy-yapi, you can go to PyCharm's installation directory, find the plugins folder, and delete the easy-yapi plugin from there. After doing so, you should be able to start PyCharm.

@gzy1144
Copy link
Author

gzy1144 commented Dec 3, 2023

If PyCharm cannot start due to the installation of easy-yapi, you can go to PyCharm's installation directory, find the plugins folder, and delete the easy-yapi plugin from there. After doing so, you should be able to start PyCharm.

QQ图片20231203090539
There doesn't seem to be that plugin in there

@tangcent
Copy link
Owner

tangcent commented Dec 3, 2023

Interesting. It appears that PyCharm uses a separate directory for user-installed plugins.
On my device, these plugins are located at '~/Library/Application Support/JetBrains/PyCharm2023.2/plugins'.
In Windows, the corresponding path may be 'C:\Users<YourUsername>\AppData\Roaming\JetBrains\PyCharm\plugins'.

@gzy1144
Copy link
Author

gzy1144 commented Dec 3, 2023

Interesting. It appears that PyCharm uses a separate directory for user-installed plugins. On my device, these plugins are located at '~/Library/Application Support/JetBrains/PyCharm2023.2/plugins'. In Windows, the corresponding path may be 'C:\Users\AppData\Roaming\JetBrains\PyCharm\plugins'.

image
There is still none

@tangcent
Copy link
Owner

tangcent commented Dec 3, 2023

I tried installing the plugin on Windows, and I find it here:
image

@gzy1144
Copy link
Author

gzy1144 commented Dec 3, 2023

I tried installing the plugin on Windows, and I find it here: image
image
Is it possible that there are other reasons why pycharm cannot be started?

@gzy1144
Copy link
Author

gzy1144 commented Dec 3, 2023

I reported this error when the tool was launched on the right

@tangcent
Copy link
Owner

tangcent commented Dec 3, 2023

  1. I'm unsure if easy-yapi is the only plugin you've installed recently. If you've added others, they could be causing compatibility issues, so consider disabling them to see if it solves the issue.
  2. Issues can sometimes arise from configuration files or caches. Consider resetting your PyCharm settings or clearing caches.

Alternatively, installing a different version of PyCharm could help determine if the issue lies within PyCharm itself.
If no other solutions work, reinstalling PyCharm could resolve the issue, although this may result in the loss of some configurations.

@gzy1144
Copy link
Author

gzy1144 commented Dec 3, 2023

  1. I'm unsure if easy-yapi is the only plugin you've installed recently. If you've added others, they could be causing compatibility issues, so consider disabling them to see if it solves the issue.
  2. Issues can sometimes arise from configuration files or caches. Consider resetting your PyCharm settings or clearing caches.

Alternatively, installing a different version of PyCharm could help determine if the issue lies within PyCharm itself. If no other solutions work, reinstalling PyCharm could resolve the issue, although this may result in the loss of some configurations.

image
I deleted the old version of the original, and then downloaded the latest version and it was ready to start

@gzy1144
Copy link
Author

gzy1144 commented Dec 3, 2023

Thank you for your reply

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants