PyCharm crashes typing an import statement.
已回答
Guys, due to the lack of comments in the majority of posts I'm probably wasting my time posting here but here goes:
PC 2017.3.2 (Pro), build #PY-173.4127.16
I created a new file. Let's say I want to import os in the IDE. So, I type i m p o r t space
at that point the IDE exits, no warning, no error, just boom and it's gone.
If I then copy and paste "import os" from another file it works. Surely that's a bug, no?
I can live with the "problem" but can someone reproduce it? I'm using the latest download of PC and everything was working okay before I upgraded. I haven't changed any options that I'm aware of.
Any ideas?
请先登录再写评论。
Another user reported the same problem in November.
We're a little behind as it was holiday last week where the dev team lives. I'll give a nudge for this post.
When you say reported in November, do you mean here in the forum or in a YouTrack ticket?
Hi Mr Mxyzptlk! Do you have any java_error_in_PYCHARM files in your user home directory? Could you please create a ticket in our bug tracker and attach those files and idea.log from Help | Show Log in ...? If it's too big please upload to https://uploads.services.jetbrains.com/ and specify the file name.
Paul: it was a forum post I found. I tried searching through many pages of topics again but I can't find it. I sort of stumbled across the similar problem and I made a mental note of it going back to November but not the link to the topic.I'll have a look at the tickets as well.
Peter.
Pavel: I can't find any file called java_error_in_PYCHARM. I wiped out the idea.log file. I can replicate the problem every time but there's no direct smack in the face error in the log but I'll try and create a ticket and attach it anyway.
As I say, if I copy and paste an existing import statement from another file PC does not exit and I can edit the import; I just can't type the import statement as a new line/statement.
Peter.
Paul: I found it, here's the link:
https://intellij-support.jetbrains.com/hc/en-us/community/posts/205820959-Pycharm-Crashes-When-Importing-Modules?page=1#community_comment_115000661644
> I'll try and create a ticket and attach it anyway.
Thank you. Please also note that for timely response during 8 business hours you could submit a request to Pycharm support: pycharm-support@jetbrains.com.
Anna, I think I did manage to create a ticket and attached my idea.log file as well. Unless I made a mess doing so there shouldn't be a neeed for you to do so but thanks anyway. :-)
I think I solved the import crash problem (leastways mine). I went into the File menu and invalidated/cleared the caches. PyCharm restarted and I can now type an import statement without a problem.