Mayavi2 test error

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Mayavi2 test error

Dhastha
I have tested mayavi2 on my Ubuntu 10.10 operating system to find out
if mayavi works well on my system. I got following result. How to
solve errors?


$ mayavi2 -t
----------------------------------------------------------------------
Running TVTK tests.
....................................................................................
----------------------------------------------------------------------
Ran 84 tests in 43.7 seconds

OK
----------------------------------------------------------------------
Running Mayavi tests.
.....................................................................................................................EE...............................................................................
----------------------------------------------------------------------
Ran 198 tests in 97.42 seconds

FAILED: there were 0 failures and 2 errors
File: /usr/lib/python2.6/dist-packages/enthought/mayavi/tests/test_csv_sniff.py

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/enthought/mayavi/tests/test_csv_sniff.py",
line 14, in <module>
    import nose
ImportError: No module named nose

File: /usr/lib/python2.6/dist-packages/enthought/mayavi/tests/test_extract_grid_filter.py

EE
======================================================================
ERROR: test_extract_grid_filter_sample (__main__.TestExtractGridFilter)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/enthought/mayavi/tests/test_extract_grid_filter.py",
line 109, in test_extract_grid_filter_sample
    from nose import SkipTest
ImportError: No module named nose

======================================================================
ERROR: test_voi (__main__.TestExtractGridFilter)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/enthought/mayavi/tests/test_extract_grid_filter.py",
line 146, in test_voi
    from nose import SkipTest
ImportError: No module named nose

----------------------------------------------------------------------
Ran 2 tests in 0.373s

FAILED (errors=2)


Thanks in advance.
--
Cheers,

Dhastha

A Kanchi Linux User

http://kanchilug.wordpress.com

My Works on Linux

http://dowithlinux.wordpress.com
http://dhastha.wordpress.com
_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
Reply | Threaded
Open this post in threaded view
|

Re: Mayavi2 test error

fred-2
Le 23/12/2010 17:14, Dhastha a écrit :
> I have tested mayavi2 on my Ubuntu 10.10 operating system to find out
> if mayavi works well on my system. I got following result. How to
> solve errors?

> ImportError: No module named nose
You need the nose module, no?

--
Fred
_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
Reply | Threaded
Open this post in threaded view
|

Re: Mayavi2 test error

Dhastha
On Thu, Dec 23, 2010 at 9:51 PM, Fred <[hidden email]> wrote:
> Le 23/12/2010 17:14, Dhastha a écrit :
>> I have tested mayavi2 on my Ubuntu 10.10 operating system to find out
>> if mayavi works well on my system. I got following result. How to
>> solve errors?
>
>> ImportError: No module named nose
> You need the nose module, no?
>
I installed python-nose on my system. again i ran mayavi2 -t  i got
following result

$ mayavi2 -t
----------------------------------------------------------------------
Running TVTK tests.
....................................................................................
----------------------------------------------------------------------
Ran 84 tests in 42.28 seconds

OK
----------------------------------------------------------------------
Running Mayavi tests.
.........................................................................................................................................EE..............................................................................F
----------------------------------------------------------------------
Ran 218 tests in 97.02 seconds

FAILED: there were 1 failures and 2 errors
File: /usr/lib/python2.6/dist-packages/enthought/mayavi/tests/test_extract_grid_filter.py

EE
======================================================================
ERROR: test_extract_grid_filter_sample (__main__.TestExtractGridFilter)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/enthought/mayavi/tests/test_extract_grid_filter.py",
line 110, in test_extract_grid_filter_sample
    raise SkipTest("actor.bounds returns incorrect values")
SkipTest: actor.bounds returns incorrect values

======================================================================
ERROR: test_voi (__main__.TestExtractGridFilter)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/enthought/mayavi/tests/test_extract_grid_filter.py",
line 147, in test_voi
    raise SkipTest("actor.bounds returns incorrect values")
SkipTest: actor.bounds returns incorrect values

----------------------------------------------------------------------
Ran 2 tests in 0.395s

FAILED (errors=2)

File: /usr/lib/python2.6/dist-packages/enthought/mayavi/tests/test_mlab_integration.py

.............F
======================================================================
FAIL: Test probe_data
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/enthought/mayavi/tests/test_mlab_integration.py",
line 225, in test_probe_data
    decimal=2)
  File "/usr/lib/python2.6/dist-packages/numpy/testing/utils.py", line
537, in assert_array_almost_equal
    header='Arrays are not almost equal')
  File "/usr/lib/python2.6/dist-packages/numpy/testing/utils.py", line
395, in assert_array_compare
    raise AssertionError(msg)
AssertionError:
Arrays are not almost equal

(mismatch 1.25%)
 x: array([[[ 0.97614933,  0.73212305],
        [ 0.88009458,  1.13002521],
        [ 0.96949435,  1.03729706],...
 y: array([[[ 0.97423881,  0.72950765],
        [ 0.87755997,  1.12799144],
        [ 0.96798899,  1.03552797],...

----------------------------------------------------------------------
Ran 14 tests in 1.987s

FAILED (failures=1)


> --
> Fred
> _______________________________________________
> Enthought-Dev mailing list
> [hidden email]
> https://mail.enthought.com/mailman/listinfo/enthought-dev
>



--
Cheers,

Dhastha

A Kanchi Linux User

http://kanchilug.wordpress.com

My Works on Linux

http://dowithlinux.wordpress.com
http://dhastha.wordpress.com
_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev