Re: Please test Leo's pylint command in devel

2022-04-09 Thread Viktor Ransmayr
Hello Thomas, Am Sa., 9. Apr. 2022 um 18:03 Uhr schrieb tbp1...@gmail.com < tbp100...@gmail.com>: > Thanks, @lewis, @viktor, this is very helpful. We have identified the > cause: The pylint command is run using subprocess.Popen and writes output > (stdout) to a pipe. When there is a lot of outp

Re: Please test Leo's pylint command in devel

2022-04-09 Thread tbp1...@gmail.com
Thanks, @lewis, @viktor, this is very helpful. We have identified the cause: The pylint command is run using subprocess.Popen and writes output (stdout) to a pipe. When there is a lot of output, the output pipe fills up and the source has to wait until it has room again. So the process never

Re: Please test Leo's pylint command in devel

2022-04-09 Thread Viktor Ransmayr
Hello everyone, lewis schrieb am Samstag, 9. April 2022 um 06:11:29 UTC+2: > I tested with a large file - running pylint on leoGlobals.py gives lots of > output. > Trying to to the same on a Leo 'devel' instance in a Fedora VM does not return any output at all. With kind regards, Viktor -

Re: Please test Leo's pylint command in devel

2022-04-08 Thread lewis
I tested with a large file - running pylint on leoGlobals.py gives lots of output. -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegr

Re: Please test Leo's pylint command in devel

2022-04-08 Thread lewis
Thanks for the tip. I ran pylint on an @clean node with a line *g.es_print(" ")* which caused pylint to give some output. That line shows as a UNL link in the log pane: *pylint: asknames.py* Module asknamesN:\leo\asknames.py:21:0: E0602: Undefined variable 'g' (undefined-variab

Re: Please test Leo's pylint command in devel

2022-04-08 Thread tbp1...@gmail.com
You have to run it on an external file tree - @file or @clean. The message is saying that that the routine couldn't find an external file looking upwards through the tree. On Friday, April 8, 2022 at 9:02:10 PM UTC-4 lewis wrote: > I have pylint 2.13.5 installed with pip. > Right-click over a

Re: Please test Leo's pylint command in devel

2022-04-08 Thread lewis
I have pylint 2.13.5 installed with pip. Right-click over a node and selecting Run Pylint gives message: *pylint: no files found* Alt-x pylint command gives same message. Is there any setup required to use pylint in Leo? *Leo Log WindowLeo 6.6.1-devel, devel branch, build 4bdce3ef48Python 3.

Please test Leo's pylint command in devel

2022-04-08 Thread Edward K. Ream
Thomas and I have been investigating #2586 . Everything works for me, but Thomas only gets output from the pylint command if he sets wait = True in the node: "class BackgroundProcessManager" in leoBackground.py. This is all the more mys