Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testsuite fails in Debian unstable #23

Open
ghisvail opened this issue Dec 19, 2015 · 16 comments
Open

Testsuite fails in Debian unstable #23

ghisvail opened this issue Dec 19, 2015 · 16 comments

Comments

@ghisvail
Copy link
Contributor

Hey Pierre, I have another batch of test suite failures to report after upgrading the packaging to the latest 0.13.10 tag. This triggered an autoremoval request from Debian, since the package build cannot pass with the test failing. Could you please have a look at it? Thanks.

I: pybuild base:184: cd /tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build; python2.7 -m nose test
pyoperators/fft.py:26: PyOperatorsWarning: The pyFFTW library is not installed.
  warn('The pyFFTW library is not installed.', PyOperatorsWarning)
...............EEE.............................................................................................................................................EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE............................E......SE.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................E...........................................................................................................................................................................EE........................................................................................................S....S....S......SSSSE..............................................................................................................................................................................................................................................................................................................................................................................................................E
======================================================================
ERROR: Failure: ImportError (cannot import name handle_broadcast)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 420, in loadTestsFromName
    addr.filename, addr.module)
  File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_broadcast.py", line 5, in <module>
    from pyoperators.flags import handle_broadcast
ImportError: cannot import name handle_broadcast

======================================================================
ERROR: Failure: ValueError (Attempted relative import in non-package)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 420, in loadTestsFromName
    addr.filename, addr.module)
  File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_broadcastingoperators.py", line 19, in <module>
    from .common import HomothetyOutplaceOperator
ValueError: Attempted relative import in non-package

======================================================================
ERROR: Failure: ValueError (Attempted relative import in non-package)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 420, in loadTestsFromName
    addr.filename, addr.module)
  File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_core.py", line 30, in <module>
    from .common import OPS, ALL_OPS, DTYPES, HomothetyOutplaceOperator
ValueError: Attempted relative import in non-package

======================================================================
ERROR: test_fft.test_convolution_real(array([[ 0.,  0.,  0.,  0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([0, 1, 0, 0, 0, 0, 0]), [1, 1, 0.5])
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([ 0.,  1.]), array([ 0.5]))
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([ 0.,  1.,  0.]), array([ 0.5]))
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([ 0.,  0.,  1.,  0.]), array([ 0.5]))
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([ 0.,  0.,  0.,  1.,  0.,  0.]), array([ 1. ,  1. ,  0.5]))
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([ 0.,  0.,  0.,  1.,  0.,  0.,  0.]), array([ 1. ,  1. ,  0.5]))
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([ 0.,  0.,  0.,  0.,  1.,  0.,  0.,  0.]), array([ 1. ,  1. ,  0.5]))
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[ 0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[ 0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[ 0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[ 0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[ 0.,  0.,  0.,  0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[ 0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[ 0.,  0.,  0.,  0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[ 0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[ 0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[ 0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[ 0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[ 0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[ 0.,  0.,  0.,  0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[ 0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[ 0.,  0.,  0.,  0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[ 0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_real(array([[[ 0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 18, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_complex(array([ 0.,  0.,  0.,  1.,  0.,  0.]), array([ 1.0+0.j,  1.0+0.j,  0.5+0.j]))
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 80, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_complex(array([[ 0.,  0.,  0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 80, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_complex(array([[[ 0.,  0.,  0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 80, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_complex(array([[[[ 0.,  0.,  0.,  0.,  0.,  0.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 80, in func
    convol = ConvolutionOperator(kernel, image.shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_rules_cmp(array([[ 1.,  1.,  1.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 109, in func
    c1 = ConvolutionOperator(k1, shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_rules_cmp(array([[ 0.,  1.,  1.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 109, in func
    c1 = ConvolutionOperator(k1, shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_rules_cmp(array([[ 1.,  1.,  1.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 109, in func
    c1 = ConvolutionOperator(k1, shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_rules_cmp(array([[ 0.+0.j,  1.+0.j,  1.+0.j],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 109, in func
    c1 = ConvolutionOperator(k1, shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_rules_cmp(array([[ 1.+0.j,  1.+0.j,  1.+0.j],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 109, in func
    c1 = ConvolutionOperator(k1, shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_rules_cmp(array([[ 0.,  1.,  1.],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 109, in func
    c1 = ConvolutionOperator(k1, shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_rules_cmp(array([[ 1.+0.j,  1.+0.j,  1.+0.j],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 109, in func
    c1 = ConvolutionOperator(k1, shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: test_fft.test_convolution_rules_cmp(array([[ 0.+0.j,  1.+0.j,  1.+0.j],
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 109, in func
    c1 = ConvolutionOperator(k1, shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: Failure: NameError (global name 'FFTW_DEFAULT_NUM_THREADS' is not defined)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 251, in generate
    for test in g():
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 128, in test_convolution_rules_add
    c1 = ConvolutionOperator(kernel1, shape)
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: Failure: NameError (global name 'FFTW_DEFAULT_NUM_THREADS' is not defined)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 251, in generate
    for test in g():
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_fft.py", line 141, in test_convolution_rules_homothety
    c = ConvolutionOperator(np.ones((3, 3)), (5, 5))
  File "pyoperators/fft.py", line 110, in __init__
    nthreads = nthreads or FFTW_DEFAULT_NUM_THREADS
NameError: global name 'FFTW_DEFAULT_NUM_THREADS' is not defined

======================================================================
ERROR: Failure: ValueError (Attempted relative import in non-package)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 420, in loadTestsFromName
    addr.filename, addr.module)
  File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_identity.py", line 4, in <module>
    from .common import OPS, ndarray2, attr2
ValueError: Attempted relative import in non-package

======================================================================
ERROR: Failure: ValueError (Attempted relative import in non-package)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 420, in loadTestsFromName
    addr.filename, addr.module)
  File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_linear.py", line 17, in <module>
    from .common import IdentityOutplaceOperator, assert_inplace_outplace
ValueError: Attempted relative import in non-package

======================================================================
ERROR: Failure: ValueError (Attempted relative import in non-package)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 420, in loadTestsFromName
    addr.filename, addr.module)
  File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_partition.py", line 12, in <module>
    from .common import Stretch
ValueError: Attempted relative import in non-package

======================================================================
ERROR: Failure: ValueError (Attempted relative import in non-package)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 420, in loadTestsFromName
    addr.filename, addr.module)
  File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_reset.py", line 4, in <module>
    from .common import OPS
ValueError: Attempted relative import in non-package

======================================================================
ERROR: Failure: ValueError (Attempted relative import in non-package)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 420, in loadTestsFromName
    addr.filename, addr.module)
  File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_rules.py", line 19, in <module>
    from .common import OPS, ndarray2, attr2
ValueError: Attempted relative import in non-package

======================================================================
ERROR: Failure: ValueError (Attempted relative import in non-package)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 420, in loadTestsFromName
    addr.filename, addr.module)
  File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_ufuncs.py", line 6, in <module>
    from .common import DTYPES, COMPLEX_DTYPES
ValueError: Attempted relative import in non-package

======================================================================
ERROR: Failure: ValueError (Attempted relative import in non-package)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 420, in loadTestsFromName
    addr.filename, addr.module)
  File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/tmp/buildd/pyoperators-0.13.10/.pybuild/pythonX.Y_2.7/build/test/test_zero.py", line 11, in <module>
    from .common import OPS, ndarray2, attr2
ValueError: Attempted relative import in non-package

----------------------------------------------------------------------
Ran 2210 tests in 3.424s

FAILED (SKIP=8, errors=112)
@ghisvail
Copy link
Contributor Author

Any news on this?

@pchanial
Copy link
Owner

pchanial commented Feb 3, 2016

Hi Ghislain, I'll get to it tomorrow. Thanks for the report!

2016-01-30 16:42 GMT+01:00 Ghislain Antony Vaillant <
notifications@github.com>:

Any news on this?


Reply to this email directly or view it on GitHub
#23 (comment)
.

La propagande est à la démocratie ce que la violence est à la dictature.
Noam Chomsky

@ghisvail
Copy link
Contributor Author

ghisvail commented May 7, 2016

Any news on that?

@ghisvail
Copy link
Contributor Author

I still get the ValueError: Attempted relative import in non-package with 0.13.11.

I believe all relative imports listed above should be replaced by from pyoperators.<module_name>.

@ghisvail
Copy link
Contributor Author

I am putting my last comment back, common belongs to the testsuite folder. If the testsuite is intended as a module, why not putting as part of pyoperators then? Otherwise, how do you run the testsuite?

@ghisvail
Copy link
Contributor Author

ghisvail commented Jun 8, 2016

Otherwise, how do you run the testsuite?

Linked with #24. A missing __init__.py file under test/ from the current PyPI release tarball.

@pchanial
Copy link
Owner

pchanial commented Jun 8, 2016

I've been working on it these last days. Could you please check if 0.13.12 still exhibits these failures?

@ghisvail
Copy link
Contributor Author

ghisvail commented Jun 9, 2016

The testsuite now runs, but there are still a few things:

  • numexpr is still required, not optional. The testsuite cannot run without it, neither does a simple import of the module.
  • the iterative solver tests is fragile. I ran it twice, one passes, the other fails with a tolerance error.
======================================================================
FAIL: test.test_iterative.test_classes_inv(<class 'pyoperators.iterative.cg.PCGAlgorithm'>, DiagonalOperator(array([0.420375900877, ..., 0.366200462168], dtype=float64), broadcast='disabled', shapein=16, shapeout=16), array([ 1,  2,  3,  4,  5,  6,  7,  8,  9, 10, 11, 12, 13, 14, 15, 16]))
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File "/tmp/autopkgtest.RYRul9/adttmp/test/test_iterative.py", line 47, in func
    assert_allclose(x, xe, rtol=1e-6)
  File "/usr/lib/python3/dist-packages/numpy/testing/utils.py", line 1395, in assert_allclose
    verbose=verbose, header=header)
  File "/usr/lib/python3/dist-packages/numpy/testing/utils.py", line 737, in assert_array_compare
    raise AssertionError(msg)
AssertionError: 
Not equal to tolerance rtol=1e-06, atol=0

(mismatch 6.25%)
 x: array([ 1,  2,  3,  4,  5,  6,  7,  8,  9, 10, 11, 12, 13, 14, 15, 16])
 y: array([  1.000002,   2.      ,   3.      ,   4.      ,   5.      ,
         6.      ,   7.      ,   8.      ,   9.      ,  10.      ,
        11.      ,  12.      ,  13.      ,  14.      ,  15.      ,  16.      ])
  • finally, it seems the module is trying to write some sort of configuration somewhere in $HOME. Why is so ? Since package building environment don't allow writes to $HOME, I get a PyOperatorsWarning when the testsuite is run with Python 3, but an OSError with Python 2.
=== python2.7 ===
EEEEEEEEEEEEEEEESEEEEEEEE
======================================================================
ERROR: Failure: OSError ([Errno 13] Permission denied: '/home/ghislain')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 418, in loadTestsFromName
    addr.filename, addr.module)
  File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/tmp/autopkgtest.RYRul9/adttmp/test/test_algorithms.py", line 5, in <module>
    from pyoperators.iterative.core import IterativeAlgorithm
  File "/usr/lib/python2.7/dist-packages/pyoperators/__init__.py", line 13, in <module>
    from .utils import *
  File "/usr/lib/python2.7/dist-packages/pyoperators/utils/__init__.py", line 2, in <module>
    from . import mpi
  File "/usr/lib/python2.7/dist-packages/pyoperators/utils/mpi.py", line 6, in <module>
    from .. import config
  File "/usr/lib/python2.7/dist-packages/pyoperators/config.py", line 27, in <module>
    _os.makedirs(LOCAL_PATH)
  File "/usr/lib/python2.7/os.py", line 150, in makedirs
    makedirs(head, mode)
  File "/usr/lib/python2.7/os.py", line 150, in makedirs
    makedirs(head, mode)
  File "/usr/lib/python2.7/os.py", line 150, in makedirs
    makedirs(head, mode)
  File "/usr/lib/python2.7/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/home/ghislain'
=== python3.5 ===
/usr/lib/python3/dist-packages/pyoperators/config.py:30: PyOperatorsWarning: User path '/home/ghislain/.local/share/pyoperators' cannot be created.
  _PyOperatorsWarning)

@ghisvail
Copy link
Contributor Author

And most importantly, the testsuite fails for pretty much all architectures but amd64. The fact that the testsuite don't even complete on i386 (32-bit Intel) is troublesome. You can find all build logs here. Please consider investigating this.

I can confirm that the tests implemented in test_iterative.py are not reliable. I had to explicitly disable them in nose to obtain reproducible test results in the package builders.

@pchanial
Copy link
Owner

pchanial commented Jun 12, 2016

Most of the build errors should now be fixed in 0.13.13. I don't have a non
64 bits computer to test them (PyOperators targets HPC, though). Thanks for
the reports!
I'm writing in user's HOME to store the FFTW wisdom file. It enables huge
performance gain (the wisdom files remember the fastest FFT strategy for a
given size after they have been tried one after the other)

@pchanial
Copy link
Owner

Err... 0.13.14 should also fix the test failures when numexpr is not present.

@ghisvail
Copy link
Contributor Author

Ok, I'll refresh the packaging and report if there are still issues. Thanks for the prompt fixes.

@ghisvail
Copy link
Contributor Author

Still fails on 32-bit for v0.13.13 on PyPI:

======================================================================
ERROR: Failure: AttributeError ('module' object has no attribute 'float128')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 418, in loadTestsFromName
    addr.filename, addr.module)
  File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/test/test_broadcastingoperators.py", line 25, in <module>
    np.float64, np.float128, np.complex128, np.complex256)
AttributeError: 'module' object has no attribute 'float128'

======================================================================
ERROR: Failure: AttributeError ('module' object has no attribute 'float128')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 251, in generate
    for test in g():
  File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/test/test_linear.py", line 26, in test_degrees
    for dtype in (np.float16, np.float32, np.float64, np.float128):
AttributeError: 'module' object has no attribute 'float128'

======================================================================
ERROR: Failure: AttributeError ('module' object has no attribute 'float128')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 251, in generate
    for test in g():
  File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/test/test_linear.py", line 113, in test_radians
    for dtype in (np.float16, np.float32, np.float64, np.float128):
AttributeError: 'module' object has no attribute 'float128'

======================================================================
ERROR: Failure: ValueError (low is out of bounds for int32)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 251, in generate
    for test in g():
  File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/test/test_mpi.py", line 31, in test_allreduce
    x = np.random.random_integers(i.min, i.max-1, size=n).astype(dtype)
  File "mtrand.pyx", line 1774, in mtrand.RandomState.random_integers (numpy/random/mtrand/mtrand.c:18140)
  File "mtrand.pyx", line 1260, in mtrand.RandomState.randint (numpy/random/mtrand/mtrand.c:14410)
ValueError: low is out of bounds for int32

======================================================================
ERROR: Failure: AttributeError ('module' object has no attribute 'float128')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 251, in generate
    for test in g():
  File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/test/test_ufuncs.py", line 10, in test_abs2
    x = np.array([pi(np.float128) + 1j, pi(np.float128)*1j, 3])
AttributeError: 'module' object has no attribute 'float128'

======================================================================
ERROR: Failure: AttributeError ('module' object has no attribute 'float128')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 418, in loadTestsFromName
    addr.filename, addr.module)
  File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/test/test_utils.py", line 24, in <module>
    np.float64, np.float128, np.complex64, np.complex128, np.complex256)]
AttributeError: 'module' object has no attribute 'float128'

======================================================================
FAIL: test.test_delete.test_collection_reset
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/test/test_delete.py", line 25, in test_collection_reset
    assert memory._gc_nbytes_counter - counter == 8
AssertionError

======================================================================
FAIL: test.test_delete.test_collection
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/test/test_delete.py", line 41, in test_collection
    assert memory._gc_nbytes_counter == 0
AssertionError

======================================================================
FAIL: test.test_nbytes.test_sparse(<class 'scipy.sparse.dok.dok_matrix'>, 2688)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/test/test_nbytes.py", line 31, in func
    assert_equal(op.nbytes, expected)
  File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 379, in assert_equal
    raise AssertionError(msg)
AssertionError: 
Items are not equal:
 ACTUAL: 1792
 DESIRED: 2688

----------------------------------------------------------------------
Ran 4021 tests in 7.670s

FAILED (SKIP=17, errors=6, failures=3)

For the error, looks like neither float128 nor complex256 are available on 32-bit numpy, something a try / catch block or a hasattr call should help you solve.

For the failures, not sure what you are trying to test, so I'll let you investigate how the assertion happens to be false on 32-bit.

@ghisvail
Copy link
Contributor Author

The new logs are available here. Still a large range of architectures failing.

@pchanial
Copy link
Owner

I have fixed a good number of issues related to 32bits platforms, float128 handling and big endian platforms. Could you please rerun the testsuite using 0.13.13.post04? Thanks!

@ghisvail
Copy link
Contributor Author

ghisvail commented Jul 1, 2016

I ran the packaging on 0.13.13.post04 but it fails with a FloatingPointError on 32-bit. The build log is available here. It is the only error reported, so we are probably not far off. Cheers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants