These are chat archives for spyder-ide/public

10th
Feb 2018
Makarov Andrey
@Winand
Feb 10 2018 14:00
hello. when i start my program in IPython console ProcessPoolExecutor is broken with raise BrokenProcessPool('A child process terminated ' concurrent.futures.process.BrokenProcessPool: A child process terminated abruptly, the process pool is not usable anymore Then i DO NOT close IPython but restart kernel and restart my script in the same console. It works fine.
(Anaconda/Spyder3.2.6 Windows10x64)
The script always works fine in external console
Makarov Andrey
@Winand
Feb 10 2018 14:16
upd: if the class which contains parallelized callable is inside main module then process pool is not broken :-|
Makarov Andrey
@Winand
Feb 10 2018 14:45
I've managed to make an example https://gist.github.com/Winand/2ec95d532dc4af6866f6b6eb5263dc08
Modules pooled and pooled2 are completely the same. Module pooled_worker contains a function which is run parallely.
1) run pooled.py in a dedicated IPython
2) You fail, but you don't close the console
3) run pooled2.py in a new dedicated IPython
4) success
P.S. sorry I've mentioned Windows10x64, but it's Windows7x64
Gonzalo Peña-Castellanos
@goanpeca
Feb 10 2018 19:10

A long time coming but @jnsebgosselin took the challenge and is delivering Spyder brand New Figure viewer. wohoo!!

spyder-ide/spyder#6430

CAM Gerlach
@CAM-Gerlach
Feb 10 2018 19:11
Yeah!!!
Carlos Cordoba
@ccordoba12
Feb 10 2018 19:11
Nice work @jnsebgosselin!
Gonzalo Peña-Castellanos
@goanpeca
Feb 10 2018 19:13
Greetings from pycon Colombia 2018!
Gonzalo Peña-Castellanos
@goanpeca
Feb 10 2018 19:33
pycon-colombia-2018.jpeg
CAM Gerlach
@CAM-Gerlach
Feb 10 2018 19:36
^_^
Jean-Sébastien Gosselin
@jnsebgosselin
Feb 10 2018 19:43
@goanpeca nice!