Author Topic: Python live errors in 26.0.2 seems to be off by 1  (Read 356 times)

rowbearto

  • Senior Community Member
  • Posts: 2169
  • Hero Points: 132
Python live errors in 26.0.2 seems to be off by 1
« on: April 28, 2022, 05:50:42 pm »
With 26.0.2, linux x64

When I have python live errors enabled.

Open file A.py
wait a few seconds for live errors
Open file B.py
wait a few seconds for live errors

It displays the errors of A.py when B.py is in the editor. Also in "source file" it is showing B.py, but the errors are from A.py.

rowbearto

  • Senior Community Member
  • Posts: 2169
  • Hero Points: 132
Re: Python live errors in 26.0.2 seems to be off by 1
« Reply #1 on: April 28, 2022, 05:55:47 pm »
This may only be happening when B.py has no errors. Try an A.py and B.py where 1 has errors, the other doesn't and go back and forth between them.

patrick

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1682
  • Hero Points: 142
Re: Python live errors in 26.0.2 seems to be off by 1
« Reply #2 on: April 29, 2022, 06:29:06 pm »
I haven't reproduced it yet, but I'll take a closer look just a little later today.

rowbearto

  • Senior Community Member
  • Posts: 2169
  • Hero Points: 132
Re: Python live errors in 26.0.2 seems to be off by 1
« Reply #3 on: April 29, 2022, 07:01:45 pm »
I had 2 SlickEdit IDEs open, maybe it had something to do with that?

Haven't tried yet with just 1 session.

rowbearto

  • Senior Community Member
  • Posts: 2169
  • Hero Points: 132
Re: Python live errors in 26.0.2 seems to be off by 1
« Reply #4 on: April 29, 2022, 07:11:08 pm »
Also it may take a few seconds for mine to run, I have a wrapper shell script that invokes pylint. I have seen the proper output in rteout but the wrong results in the window. Maybe there is some issue waiting for the output?

patrick

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1682
  • Hero Points: 142
Re: Python live errors in 26.0.2 seems to be off by 1
« Reply #5 on: April 29, 2022, 07:43:46 pm »
Thanks for the update, I think it is related to multi-session.  And it is probably hot-fixable, I'll let you know once I have something to try.

patrick

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1682
  • Hero Points: 142
Re: Python live errors in 26.0.2 seems to be off by 1
« Reply #6 on: May 04, 2022, 03:03:45 pm »
It ended up not being hot-fixable.  If you want to try it, I can build an installer with this fix plus the fixes Clark has delivered.


rowbearto

  • Senior Community Member
  • Posts: 2169
  • Hero Points: 132
Re: Python live errors in 26.0.2 seems to be off by 1
« Reply #7 on: May 04, 2022, 04:20:13 pm »
Thanks Patrick! Yes I would like to try it.

patrick

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1682
  • Hero Points: 142
Re: Python live errors in 26.0.2 seems to be off by 1
« Reply #8 on: May 10, 2022, 03:46:17 pm »
Sent a PM with instructions.