alan-turing-institute / data-safe-haven

https://data-safe-haven.readthedocs.io
BSD 3-Clause "New" or "Revised" License
57 stars 15 forks source link

Cannot launch PyCharm #2148

Open JimMadge opened 1 month ago

JimMadge commented 1 month ago

:white_check_mark: Checklist

:computer: System information

:no_entry_sign: Describe the problem

:steam_locomotive: Workarounds or solutions

craddm commented 4 weeks ago

image

This error message was received on startup, after accepting the EUA

Clicking Reset settings closes PyCharm and allows you to reopen it successfully. However, after closing PyCharm, you'll get the same error message again next time you open it.

craddm commented 2 weeks ago

This error now seems to be intermittent, possibly after a recent update to PyCharm. Testing today, I got this error on approx 1 in every 5 attempts at starting Pycharm. It doesn't seem necessary to click Reset settings

JimMadge commented 2 weeks ago

@craddm Any idea what causes it? Do you want to close this issue or are you working on it?

craddm commented 2 weeks ago

It appears to be something that happens with anything that uses with JetBrains's Intellij platform (e.g. https://youtrack.jetbrains.com/issue/RUBY-33145/Exception-Class-initialization-must-not-depend-on-services.-Consider-using-instance-of-the-service-on-demand-instead) - I'm still trying to find a workaround.

craddm commented 2 days ago

I have not been able to find a reliable way to fix this. I would say that it is intermittent, easy to work round, and is more likely to be fixed upstream than by something that we do. It may be worth leaving this issue open so that anyone encountering the problem knows what is happening.

JimMadge commented 1 day ago

OK, I'll remove it from any milestones so we can keep tracking without a plan to fix it for the time being.