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

  • Thread starter Thread starter shivajikobardan
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around troubleshooting issues with PyCharm crashing on a user's laptop, exploring alternative programming environments, and addressing concerns regarding software security and version control integration. Participants share their experiences and preferences regarding various coding tools and environments.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Exploratory

Main Points Raised

  • A user reports persistent crashes with PyCharm despite minimal usage of other programs and seeks alternatives.
  • Some participants suggest using VS Code as a preferred tool, noting its popularity among programmers.
  • One participant expresses frustration with VS Code displaying command line outputs alongside results and seeks a solution to hide these outputs.
  • Another participant recalls a positive experience with IntelliJ IDEA and suggests it as an alternative, highlighting its versatility in supporting multiple programming languages.
  • Concerns are raised about the security of software from certain state actors, influencing the choice of development tools.
  • Participants discuss the integration of version control systems with VS Code, noting its compatibility with Git and other systems through plugins.
  • There is mention of dependency chain vulnerabilities associated with VS Code, prompting a discussion on the trade-offs between productivity and security risks.
  • A workaround is proposed for configuring VS Code to suppress terminal output and display results in the DEBUG CONSOLE instead.

Areas of Agreement / Disagreement

Participants express varying opinions on the effectiveness and reliability of different programming environments. While some advocate for VS Code, others share concerns about its security implications and dependency issues. The discussion remains unresolved regarding the best solution for the original user's crashing issue.

Contextual Notes

Participants reference specific configurations and settings for VS Code, indicating a reliance on user-defined setups to achieve desired functionality. There are also mentions of external resources and reports that inform the discussion, but no consensus is reached on the best practices for using these tools securely.

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   Reactions: jedishrfu
  • #12
1643665324982.png
 
  • Informative
  • Like
Likes   Reactions: 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   Reactions: 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.
 

Similar threads

Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
924
  • · Replies 30 ·
2
Replies
30
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
10
Views
4K
  • · Replies 62 ·
3
Replies
62
Views
8K