[Insight-users] Once more: WrapITK [Python] on Win x64

Matt McCormick matt.mccormick at kitware.com
Fri Dec 7 09:54:05 EST 2012


Hi Constantine,


> I've been running a nightly ITK dashboard submission cspcx174.leeds
> Win64-VS9-Release-WrapITK.
>

Thanks again for this critical build.  Without it, we would not have made
the progress we have on Visual Studio.


>
> All Python tests have been failing continuously and I can't figure out
> what's wrong with the test environment configuration with this dashboard
> nightly submission. ITK 4.2.1 reports "a number of CMake/WrapITK issues
> were addressed to improve Python wrapping on Windows", so it makes me think
> all Python tests shouldn't be failing and the problem is just with the
> nightly submission configuration.
>

Recently, i.e., since 4.2.1, we have achieved no build failures with Visual
Studio!  Warnings and test failures are up next.

Below is error output from one of the tests. They all have the same errors.
> Would anyone please suggest how to tackle this?
>

Visual Studio has the peculiar behavior that it puts Debug and Release
binaries in the same build tree but in different directories.  The PATH or
PYTHONPATH-type environmental variables that are adjusted during the tests
may not take this into account, yet.  I will take a look.

Thanks,
Matt



>
> Many thanks,
> Constantine
>
> **************************************************************************
>
> test 2246
>       Start 2246: PythonSimplePipelineF4
>
> 2246: Test command: E:\Dashboards\Nightly\ITK-**build\bin\Release\**itkTestDriver.exe
> "--add-before-env" "PYTHONPATH" "E:/Dashboards/Nightly/ITK-**
> build/Wrapping/Generators/**Python/Releas
> e" "--add-before-env" "PYTHONPATH" "E:/Dashboards/Nightly/ITK-**
> build/Wrapping/Generators/**Python" "--add-before-env" "PYTHONPATH"
> "E:/Dashboards/Nightly/ITK-**build/lib/Release" "--add
> -before-env" "PYTHONPATH" "E:/Dashboards/Nightly/ITK-**build/lib"
> "--add-before-libpath" "E:/Dashboards/Nightly/ITK-**build/lib/Release"
> "--add-before-libpath" "E:/Dashboards/Nightly/I
> TK-build/lib" "--add-before-libpath" "E:/Dashboards/Nightly/ITK-**build"
> "C:/Python27/python.exe" "E:/Dashboards/Nightly/ITK/**
> Wrapping/Generators/Python/**Tests/simple_pipeline.py" "F"
> "4" "E:/Dashboards/Nightly/ITK-**build/ExternalData/Wrapping/**images/cthead1.png"
> "simple_pipelineF4.nrrd" "--compare" "simple_pipelineF4.nrrd"
> "E:/Dashboards/Nightly/ITK-**build/Extern
> alData/Wrapping/images/**cthead1.png"
> 2246: Test timeout computed to be: 1500
> 2246: Loading ITKPyBase... done
> 2246: Loading ITKCommon...Traceback (most recent call last):
> 2246:   File "E:/Dashboards/Nightly/ITK/**Wrapping/Generators/Python/**Tests/simple_pipeline.py",
> line 28, in <module>
> 2246:     IType = itk.Image[PType, dim]
> 2246:   File "E:\Dashboards\Nightly\ITK-**build\Wrapping\Generators\**Python\Release\itkLazy.py",
> line 37, in __getattribute__
> 2246:     itkBase.LoadModule(module, namespace)
> 2246:   File "E:\Dashboards\Nightly\ITK-**build\Wrapping\Generators\**Python\Release\itkBase.py",
> line 95, in LoadModule
> 2246:     LoadModule(dep, namespace)
> 2246:   File "E:\Dashboards\Nightly\ITK-**build\Wrapping\Generators\**Python\Release\itkBase.py",
> line 95, in LoadModule
> 2246:     LoadModule(dep, namespace)
> 2246:   File "E:\Dashboards\Nightly\ITK-**build\Wrapping\Generators\**Python\Release\itkBase.py",
> line 95, in LoadModule
> 2246:     LoadModule(dep, namespace)
> 2246:   File "E:\Dashboards\Nightly\ITK-**build\Wrapping\Generators\**Python\Release\itkBase.py",
> line 95, in LoadModule
> 2246:     LoadModule(dep, namespace)
> 2246:   File "E:\Dashboards\Nightly\ITK-**build\Wrapping\Generators\**Python\Release\itkBase.py",
> line 103, in LoadModule
> 2246:     if not swigModuleName in sys.modules: module =
> loader.load(swigModuleName)
> 2246:   File "E:\Dashboards\Nightly\ITK-**build\Wrapping\Generators\**Python\Release\itkBase.py",
> line 214, in load
> 2246:     return imp.load_module(name, fp, pathname, description)
> 2246:   File "E:\Dashboards\Nightly\ITK-**build\lib\ITKCommonPython.py",
> line 30, in <module>
> 2246:     _ITKCommonPython = swig_import_helper()
> 2246:   File "E:\Dashboards\Nightly\ITK-**build\lib\ITKCommonPython.py",
> line 22, in swig_import_helper
> 2246:     import _ITKCommonPython
> 2246: ImportError: DLL load failed: The specified module could not be
> found.
> 2246: itkTestDriver: Process exited with return value: 1
> 64/64 Test #2246: PythonSimplePipelineF4 ..............................**......***Failed
>    0.54 sec
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20121207/a6533a7b/attachment.htm>


More information about the Insight-users mailing list