Fix Pycharm Crashes with These Tips | Troubleshooting Crash.txt Report

  • Thread starter Thread starter shivajikobardan
  • Start date Start date
AI Thread Summary
The discussion revolves around issues with PyCharm crashing on a laptop with 1 TB HDD and 8 GB RAM, despite heavy usage and attempts to run it without other programs. Users express frustration with PyCharm's performance and explore alternatives for running Python code. While Visual Studio Code (VS Code) is suggested as a popular choice among programmers, concerns are raised about its terminal output displaying command codes, which some find annoying. Suggestions include configuring VS Code to show output in the DEBUG CONSOLE instead of the terminal. IntelliJ IDEA is also recommended as a robust alternative, as it supports multiple programming languages. Additionally, the conversation touches on security concerns regarding software dependencies and the importance of version control integration within VS Code. Overall, users are seeking effective programming tools that minimize crashes and enhance productivity while addressing security vulnerabilities.
shivajikobardan
Messages
637
Reaction score
54

this is crash.txt report.

My laptop is 1 TB HDD
8 GB RAM
No ssd
My general laptop usage is heavy.

1) I am using it alone, without using other programs-> pycharm still gets crashed
2) I use discord for streaming in study with me discord=> it still gets crashed.
No matter whatever I do, it keeps getting crashed.

What to do?
Is there good program to run python code?
There is vs code but it shows that terminal code which is annoying to me. Is there a way to remove those cmd codes there and just see the output.

Sublime text doesn't take cares of indentation I hate that. I tried learning python at first from ST and it killed my motivation for learning python. Pycharm is great but it keeps getting crashed. :(
 
Technology news on Phys.org
Have you looked at VS Code? It’s really taken off as the preferred tool for programmers And has largely replaced Pycharm at our site.
 
jedishrfu said:
Have you looked at VS Code? It’s really taken off as the preferred tool for programmers And has largely replaced Pycharm at our site.
yes looked into it. it shows some weird cmd commands along with output. I will show you a bit.
1643616368976.png

I just want the output not this weird stuffs. Is there a way to do it?
 
shivajikobardan said:
No matter whatever I do, it keeps getting crashed.
This is not normal. I used Pycharm a few years back for a short time before shifting to IntelliJ IDEA, and things were working properly then. Have you tried the most obvious — uninstalling and re-installing Pycharm?

In addition, I also found this while searching online:
https://youtrack.jetbrains.com/issue/IDEA-256519
shivajikobardan said:
Is there good program to run python code?
You can try IntelliJ IDEA. Pycharm is based on that, so is Android Studio. I use Android Studio extensively, and am fond of IntelliJ IDEA as well. IntelliJ can run not only Python, but also Java and many other languages.
 
1643625973705.png

fixed
 
shivajikobardan said:
I assume you have moved on to VS Code, but it would be helpful for future users coming to this thread if you could also post a link to where you found that screenshot, rather than only the screenshot.
 
Wrichik Basu said:
I assume you have moved on to VS Code, but it would be helpful for future users coming to this thread if you could also post a link to where you found that screenshot, rather than only the screenshot.
it is from my reddit account.so i don't think it will be appropriate to share that here.
 
Can you post the response as text? That will have a longer half life.

We went to vs code because of the concern of using software from certain state actors who have been known to insert malware in their exported products.
 
jedishrfu said:
We went to vs code
Do you also use VS Code for version control, or do you link to another revision control system?
 
  • #10
berkeman said:
Do you also use VS Code for version control, or do you link to another revision control system?
VS Code doesn't do version control itself, but it does integrate really well with Git (out of the box) and other VCSs (via plugins).
 
Last edited:
  • #11
jedishrfu said:
We went to vs code because of the concern of using software from certain state actors who have been known to insert malware in their exported products.
Bear in mind this and the fact that VS Code itself has npm dependencies (well the open source version does, I don't know if MS replaces these with proprietory code in the official version).

In 2022 there is a choice: live with the (mitigated) threat of dependency chain vulnerabilities or be orders of magnitude less productive.
 
  • Like
Likes jedishrfu
  • #12
1643665324982.png
 
  • Informative
  • Like
Likes jedishrfu and berkeman
  • #13
jedishrfu said:
Can you post the response as text? That will have a longer half life.
If you want to use VSCode instead, there is a workaround to get what you want (I think). Open your Command Palette (Press F1 or any other shortcut you use) and type 'open settings json' and click the option you come up with which opens your settings.json file. Now, add this before the closing brackets.

[CODE title="code"]"launch": {
"version": "0.2.0",
"configurations": [
{
"name": "Python: Current File",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "internalConsole"
}
]
},[/CODE]
Save the file, restart VSCode and try running your python scripts with F5. You should get your results in the DEBUG CONSOLE tab from now on instead of TERMINAL.

jedishrfu said:
We went to vs code because of the concern of using software from certain state actors who have been known to insert malware in their exported products.
Ah I see. vs code seems less crashing tbh.
 
Last edited by a moderator:
  • Like
Likes jedishrfu
  • #14
pbuk said:
Bear in mind this and the fact that VS Code itself has npm dependencies (well the open source version does, I don't know if MS replaces these with proprietory code in the official version).

In 2022 there is a choice: live with the (mitigated) threat of dependency chain vulnerabilities or be orders of magnitude less productive.
Thanks for the Snyk report, I retired before it came out. At the time, we liked VS code for the reasons I gave. We didn’t have direct access to the marketplace but instead had to selectively choose our plugins and install offline as we were airgapped.

Other tools required direct access to their marketplace which made them effectively useless. It’s sad that now we have to contend with attacks on our open source. We fought so hard to get this in place but now it too will vanish As these attacks escalate and private corporations take over promising more secure repositories.
 
Back
Top