NanoPlot icon indicating copy to clipboard operation
NanoPlot copied to clipboard

NanoPlot Crash

Open Chatchamew opened this issue 4 months ago • 1 comments

The crash is as follows:

ERROR root:NanoPlot.py:main()- max_workers must be greater than 0 Traceback (most recent call last): File "/home/parasitology/anaconda3/lib/python3.10/site-packages/nanoplot/NanoPlot.py", line 58, in main datadf = get_input( File "/home/parasitology/anaconda3/lib/python3.10/site-packages/nanoget/nanoget.py", line 100, in get_input with cfutures.ProcessPoolExecutor(max_workers=filethreads) as executor: File "/home/parasitology/anaconda3/lib/python3.10/concurrent/futures/process.py", line 611, in init raise ValueError("max_workers must be greater than 0") ValueError: max_workers must be greater than 0

If you read this then NanoPlot 1.46.1 has crashed :-( Please try updating NanoPlot and see if that helps...

If not, please report this issue at https://github.com/wdecoster/NanoPlot/issues If you could include the log file that would be really helpful. Thanks!

Traceback (most recent call last): File "/home/parasitology/anaconda3/bin/NanoPlot", line 8, in sys.exit(main()) File "/home/parasitology/anaconda3/lib/python3.10/site-packages/nanoplot/NanoPlot.py", line 58, in main datadf = get_input( File "/home/parasitology/anaconda3/lib/python3.10/site-packages/nanoget/nanoget.py", line 100, in get_input with cfutures.ProcessPoolExecutor(max_workers=filethreads) as executor: File "/home/parasitology/anaconda3/lib/python3.10/concurrent/futures/process.py", line 611, in init raise ValueError("max_workers must be greater than 0") ValueError: max_workers must be greater than 0

I have tried updating, and it still crashed. Any advice would be very appreciated. Thank you in advance.

Chatchamew avatar Sep 14 '25 15:09 Chatchamew

Hi!

Could you let me know your nanoget version? Please try python -c "import nanoget ; print(nanoget.version)" in your terminal, in the environment where you used NanoPlot. That should return 1.19.3, and if it doesn't please try upgrading nanoget as well.

Best, Wouter

wdecoster avatar Sep 15 '25 07:09 wdecoster