Error in Log Highlighting with PyCharm, log file wont open in editor!

In case anyone else runs into this problem. I had trouble working with log files in PyCharm.

It turns out the log files woudl not open. I traced it down to an improper setting in the Log Highlighting settings. 

In the Settings->Editor->Log Highlighting(Ideolog) settings window an added a new Message pattern and Time format to the Log Formats list didn't work as expected but didn't seem to be a problem either. It turned out to be a problem that took a while to trace down because I had forgotten about it and there is no warning that something is going  wrong, the IDE just hangs after partially paining the screen.

 

I traced it down by looking at   %USERNAME%\.PyCharm2019.1\system\log\idea.log and found these mysterious lines:

    2019-05-30 10:10:58,240 [ 365175] ERROR - llij.ide.plugins.PluginManager - PyCharm 2019.1.2 Build #PY-191.7141.48
    2019-05-30 10:10:58,240 [ 365175] ERROR - llij.ide.plugins.PluginManager - JDK: 11.0.2; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o
    2019-05-30 10:10:58,240 [ 365175] ERROR - llij.ide.plugins.PluginManager - OS: Windows 10
    2019-05-30 10:10:58,241 [ 365176] ERROR - llij.ide.plugins.PluginManager - Plugin to blame: Ideolog version: 191.0.11.0
    2019-05-30 10:10:58,241 [ 365176] ERROR - llij.ide.plugins.PluginManager - Last Action: AutoShowProcessWindow
    2019-05-30 10:10:58,485 [ 365420] ERROR - llij.ide.plugins.PluginManager - Index -1 out of bounds for length 0
    java.lang.IndexOutOfBoundsException: Index -1 out of bounds for length 0

 

0
1 comment

Hi! 

So as I understood you've resolved the issue. For further reference, please note that you can report all the issues you find for Ideolog plugin directly to it's GitHub page: https://github.com/JetBrains/ideolog/issues

0

Please sign in to leave a comment.