On 08/19/2012 12:11 PM, osman buyukisik wrote:
> Hello,
> I have just installed the new version (3.0). both regular and developer
> type installs. However, during testing, I am getting failures like :
> FAIL: polyxtalCoupled (examples.phase)
> Doctest: examples.phase.polyxtalCoupled
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>     File "/usr/lib/python2.7/doctest.py", line 2166, in runTest
>       raise self.failureException(self.format_failure(new.getvalue()))
> AssertionError: Failed doctest test for examples.phase.polyxtalCoupled
>     File "/home/osman/SRC/FiPy-3.0/examples/phase/polyxtalCoupled.py",
> line 32, in polyxtalCoupled
>
> ----------------------------------------------------------------------
> File "/home/osman/SRC/FiPy-3.0/examples/phase/polyxtalCoupled.py", line
> 334, in examples.phase.polyxtalCoupled
> Failed example:
>       viewer.plot()
> Exception raised:
>       Traceback (most recent call last):
>         File "/usr/lib/python2.7/doctest.py", line 1254, in __run
>           compileflags, 1) in test.globs
>         File "<doctest examples.phase.polyxtalCoupled[55]>", line 1, in
> <module>
>           viewer.plot()
>       NameError: name 'viewer' is not defined
>
>
>
> I have mayavi2, matplotlib, gmsh, gnuplot , gist installed.  Also I tried
> export FIPY_VIEWER=matplotlib
> still the same result.
> How do I get FiPy recognize my viewers?
>

Also at the end I get

Ran 550 tests in 277.547s

FAILED (failures=4)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Skipped 188 doctest examples because `gmsh` cannot be found on the $PATH
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Well, I gave gmsh installed and use it. It is in both /usr/bin and 
/usr/local/bin  and certainly on the $PATH.

Osman
_______________________________________________
fipy mailing list
[email protected]
http://www.ctcms.nist.gov/fipy
  [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]

Reply via email to