On Windows, the following code fails often with itk-vtkglue-0.2 used with itk-5.0b3 or itk-5.0rc1 :
import itk
itk.ImageToVTKImageFilter.New()
…
RuntimeError: C:\P\IPP\standalone-build\ITK-source\Modules\Core\Common\src\itkMultiThreaderBase.cxx:408:
itk::ERROR: MultiThreaderBase::GetGlobalDefaultThreader returned Unknown!
It works fine with itk-5.0b1. Please note that the error may be random.
Setting environment variable ITK_GLOBAL_DEFAULT_THREADER does not help.
Is it a known issue ? Anything to suggest ?
Julien, I have encountered that error but I haven’t had time to find the origin of the problem. However, an important patch was merged in ITK master on Friday that may solve this issue by changing how global variables are synchronized across Python modules. Note though that the ITK Python packages have not been updated on ITKPythonPackage page. @matt.mccormick Do you know if there is a problem in the nightly builds?