windows-plotman icon indicating copy to clipboard operation
windows-plotman copied to clipboard

"curses function returned NULL" in interactive

Open kevklam opened this issue 4 years ago • 1 comments

This appears to happen when the terminal window is too small. If I start it up and leave it running, eventually when many plots are running in parallel, the dynamic window size calculation tries to create a window too big and runs into this error. Can be worked around by just resizing the terminal to very large before running, but this could cause issues for people not expecting it.

py plotman.py interactive Traceback (most recent call last): File "C:\Users\klam\Desktop\PlotMan\plotman.py", line 126, in interactive.run_interactive() File "C:\Users\klam\Desktop\PlotMan\interactive.py", line 284, in run_interactive curses.wrapper(curses_main) File "C:\Users\klam\AppData\Local\Programs\Python\Python39\lib\curses_init_.py", line 94, in wrapper return func(stdscr, *args, **kwds) File "C:\Users\klam\Desktop\PlotMan\interactive.py", line 230, in curses_main dstwin = curses.newwin( _curses.error: curses function returned NULL

kevklam avatar May 14 '21 10:05 kevklam

i have forked it, and add "tmpdir_stagger_phase_limit"。 https://gitee.com/xana/windows-plotman/ suggest use python plotman.py plot to run open a new cmd use python plotman.py status to see the status

aicodex avatar May 17 '21 09:05 aicodex