_RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
E
======================================================================
ERROR: Run a simple sample test
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/acil-user/Projects/CIP-build/CIPPython-install/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/acil-user/Projects/CIP-build/CIP-build/cip_python/common/tests/test_example_pythonCLI.py", line 8, in test_example_pythonCLI
output = ex.execute(input_file, output_file)
File "/Users/acil-user/Projects/CIP-build/CIP-build/cip_python/common/example_pythonCLI.py", line 27, in execute
sitk.WriteImage(output, output_file_name)
File "/Users/acil-user/Projects/CIP-build/CIPPython-install/lib/python2.7/site-packages/SimpleITK/SimpleITK.py", line 8010, in WriteImage
return _SimpleITK.WriteImage(*args)
RuntimeError: Exception thrown in SimpleITK WriteImage: /Users/blowekamp/miniconda2/conda-bld/simpleitk_1502121873853/work/build/ITK/Modules/IO/NRRD/src/itkNrrdImageIO.cxx:1120:
itk::ERROR: NrrdImageIO(0x7f9526cfabd0): Write: Error writing /Users/acil-user/Projects/CIP-build/CIP-build/cip_python/tests_output/crop_ct.smooth.nrrd:
[nrrd] nrrdSave: couldn't fopen("/Users/acil-user/Projects/CIP-build/CIP-build/cip_python/tests_output/crop_ct.smooth.nrrd","wb"): No such file or directory
----------------------------------------------------------------------
Ran 1 test in 5.811s
FAILED (errors=1)