Hello,
And thanks!
However, I am still experiencing some problems, also with the new script 
you provided me with

$ ./sphere.py
Traceback (most recent call last):
   File "./sphere.py", line 147, in <module>
     exec(fipy.tests.doctestPlus._getScript())
   File "<string>", line 58, in <module>
   File "/usr/lib/pymodules/python2.7/fipy/viewers/__init__.py", line 
126, in Viewer
     raise ImportError, "Failed to import a viewer: %s" % str(errors)
ImportError: Failed to import a viewer: ['matplotlib: The mesh must be a 
Mesh2D instance', 'gist: Can only plot 2D vector data', 'gnuplot: 
Gnuplot can only plot 1D and 2D data', 'mayavi: No module named tvtk.api']

It looks like that no viewer is OK. However, at least Mayavi2 (I remark: 
version 2) is installed on my system.
Any idea of what is going wrong at this point (I am sure it must be 
trivial...)?
Many thanks

Lorenzo


On 11/02/2011 12:18 AM, Jonathan Guyer wrote:
> On Nov 1, 2011, at 6:53 PM, Lorenzo Isella wrote:
>
>> Hello,
>> And thanks for answering.
>> I tried running the example script, but I got this error message
>>
>> ./sphere.py
>> Traceback (most recent call last):
>>    File "./sphere.py", line 147, in<module>
>>      exec(fipy.tests.doctestPlus._getScript())
>>    File "<string>", line 9, in<module>
>> NameError: name 'Gmsh2DIn3DSpace' is not defined
>>
>> Am I making any mistake?
>
> Daniel gave a link to our development trunk, but you undoubtedly have FiPy 
> 2.1.
>
> Please see examples/cahnHilliard/sphere.py in the distribution you downloaded 
> (documented at 
> http://www.ctcms.nist.gov/fipy/examples/cahnHilliard/generated/examples.cahnHilliard.sphere.html
>  or you can get it from 
> http://matforge.org/fipy/browser/branches/version-2_1/examples/cahnHilliard/sphere.py)
>
>
> _______________________________________________
> fipy mailing list
> [email protected]
> http://www.ctcms.nist.gov/fipy
>    [NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy]
_______________________________________________
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