Linux中Pycharm闪退

问题

在linux中打开PyCharm一直闪退无法正常使用,发现闪退是因为PyCharm更新后需要打开What’s New in PyCharm标签页,如下图所示
在这里插入图片描述

但还不清楚为什么linux中无法打开,因此解决该问题需要让PyCharm不打开该标签页。

排查

查看PyCharm日志(日志路径:~/.cache/JetBrains/PyCharm2024.2/log/idea.log)发现whats.new.last.shown.version is not defined或者比较版本不一致Comparing versions currentVersion and historyVersion: true.如下所示

#c.i.p.w.WhatsNewShowOnStartCheckService - Got What's New content: com.intellij.platform.whatsNew.WhatsNewVisionContent@597a8612
#c.i.p.w.WhatsNewContentVersionChecker - whats.new.last.shown.version is not defined. Will show What's New.
#c.i.p.w.WhatsNewShowOnStartCheckService - Should show What's New: true
#c.i.i.a.WhatsNewAction - Open What's New page requested.

解决

修改PyCharm配置(路径:~/.config/JetBrains/PyCharm2024.2/options/other.xml)添加whats.new.last.shown.version信息,版本为currentVersion,如下图最后所示,记得给前一行添加,,不然无法生效
在这里插入图片描述

若不知道currentVersion,可先填写任意版本号,再此打开PyCharm等闪退后查看日志获取。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值