Closed Xaaris closed 4 years ago
The stacktrace says
Please report the log output to the issue tracker.
With which we mean the LaTeX log output which you get when you compile a file. So this should be reproducible on your side with that specific document. If you can reproduce it, please provide the log output.
I wasn't able to find anything in the log output, but maybe you can find something. The error does not occur on every build, but most of them. I'm not sure what triggers it.
Was this from a run which produced the error? Because I ran the complete log file through the log parser and I didn't get any such error. This exception is caused by mismatching parentheses: when the log parser tries to close a file with a closing parenthesis but the file stack is empty, then this exception is thrown. I can't find any mismatching brackets in the log file as well.
Maybe you could check with a build from the master branch to be sure - I think the last fix I did regarding log parsing was included in 0.7, but not 100% sure.
I have a better idea: use the following build, which will include the problematic line in the exception message:
The line content is )\n
. Not sure if that helps
There are only two such lines, and both lines are handled correctly. So that means that somewhere before that something went wrong. But I don't see how it is possible that exactly the same log file gives an error in your case but not when I give it to the log parser.
I did find a mistake, but I don't think it fixes the problem so can you run the following build, reproduce the exception and then upload idea.log
here? (Help > Show log in ...)
It will contain all the files opened and closed, which should provide enough information for me I hope.
Also upload the log output again, just in case it is different.
Here you go:
Thanks for the information, I think I fixed that now. Can you check if there are any more problems?
Thanks! With that version I don't get the above mentioned exception anymore!
I do get the following error, but that might be unrelated.
That's strange, I mean the class LatexToggleSmartQuotesIntention is certainly there. I don't know at the moment why the NoClassDefFoundError could be thrown, and I can't reproduce it either. The class has been there for a while already, so I don't know why it would become a problem. Do you get this with b0.7 or b0.7.1-alpha.1 as well?
(Unless it has something to do with macOS, but I doubt that)
The error appeared when using the alpha version you provided. But I also got some errors when loading the plugin from disk. So something may have gone wrong there. If I encounter it again in a scenario under normal use I'll file a new issue.
Type of JetBrains IDE (IntelliJ, PyCharm, etc.) and version
IntelliJ 2020.2.1
Operating System
macOS
TeXiFy IDEA version
0.7
Description
I saw that TeXiFy had produced the following exception. I'm not sure what I did to produce it. Maybe the stacktrace is enough for you to know what happened? Otherwise I can try to reproduce it.
Stacktrace