Closed NagabhushanSN95 closed 4 years ago
I recall I managed to hang PyCharm as well. Which would mean that it would be solved in the latest alpha version. Can you try installing the latest alpha version?
[Edit] Maybe the thing I recalled was actually #1030, although this should be triggered by you typing, not just opening a tex file. It would result in a hanging PyCharm though, so you can at least make sure you don't have texdoc installed.
Thanks.
Hm, then without using a profiler I have no idea where it would be hanging. Does it happen with also a new empty tex file?
Okay. I'll try that and revert back to you.
Hi, sorry for the delay.
I ran the profiler and I've attached the data. Had to rename the extension from nps
to txt
to upload here. Is this fine? (Also please let me know if it has any sensitive data :P that I should remove before uploading. This is the first time I'm doing this.)
TeXiFyProfileData.txt
I also tried with a completely empty tex file. The moment I press ctrl+shift+F10, PyCharm hangs.
@NagabhushanSN95 Thanks! I can see now where it is hanging, but I don't know why yet.
As far as I know there's not really sensitive data involved, especially if you filter on the nl.hannahsten.**
package, but never viewed a dump of an other system before so don't know for sure.
src
(that could cause problems)?Are you sure you are not using a Mac? :smile:
This is the code:
if (SystemInfo.isMac) {
doStuff
}
The dump shows that your PyCharm is hanging on doStuff
, unless I am very much mistaken.
I would say this is somewhat impossible.
You can try to verify this:
I don't know what is happening on your system but it is very weird.
If that still doesn't help, I don't know anything else so you will have to stick with IntelliJ :)
Reinstalling PyCharm fixed the issue in many projects. But in one project, I still face the issue. May be because the project is huge and contains a lot of code (python, matlab) and other resources (txt, csv, mp4 files).
Type of JetBrains IDE (IntelliJ, PyCharm, etc.) and version
PyCharm
TeXiFy IDEA version
0.6.6
What I did (steps to reproduce)
Compile the tex file
Expected behavior
Actual behavior
PyCharm hangs. Need to kill the process and start it again.
(if applicable) The full stacktrace of the exception thrown
Since yesterday night, whenever I open a tex file, CPU usage reaches 80% or so (8 cores). None of the warnings or autocompletion works. If I try to compile the file, PyCharm hangs. I have no idea how this suddenly started happening. I had encountered a similar problem before when I was using an alpha version. I removed the alpha version and installed stable version of TeXiFy and my problem was solved. But now, I'm facing the same problem with stable version of TeXiFy.
Is this a known issue? Anything I can do to fix this? I badly need this to work :)