Hi Carsten,

I'm not sure why that error is occurring, but the following Dockerfile
works for me.

https://github.com/wd15/extremefill2D-dockerize/blob/master/Dockerfile

It might help you debug. The FiPy version is "3.1.3.dev138+gecbe868".
Maybe try that and see if it helps.

Cheers,

Daniel

On Tue, May 16, 2017 at 5:14 PM, Carsten Langrock <langr...@stanford.edu> wrote:
> Following installation guide using conda under macOS 10.12.5, I am not able
> to run the fipy.test() function without it throwing an exception. The output
> is listed below. Any hint on how to solve this would be appreciated.
>
> Python 2.7.13 | packaged by conda-forge | (default, May  2 2017, 13:29:36)
> [GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import fipy
>>>> fipy.test()
> running egg_info
> creating
> /var/folders/68/q7ztlcxx3nldk6drfnp4l5_h0000gn/T/tmp6x5SYr/FiPy.egg-info
> writing
> /var/folders/68/q7ztlcxx3nldk6drfnp4l5_h0000gn/T/tmp6x5SYr/FiPy.egg-info/PKG-INFO
> writing top-level names to
> /var/folders/68/q7ztlcxx3nldk6drfnp4l5_h0000gn/T/tmp6x5SYr/FiPy.egg-info/top_level.txt
> writing dependency_links to
> /var/folders/68/q7ztlcxx3nldk6drfnp4l5_h0000gn/T/tmp6x5SYr/FiPy.egg-info/dependency_links.txt
> writing manifest file
> '/var/folders/68/q7ztlcxx3nldk6drfnp4l5_h0000gn/T/tmp6x5SYr/FiPy.egg-info/SOURCES.txt'
> reading manifest file
> '/var/folders/68/q7ztlcxx3nldk6drfnp4l5_h0000gn/T/tmp6x5SYr/FiPy.egg-info/SOURCES.txt'
> writing manifest file
> '/var/folders/68/q7ztlcxx3nldk6drfnp4l5_h0000gn/T/tmp6x5SYr/FiPy.egg-info/SOURCES.txt'
> running test
> running build_ext
> fipy version 3.1.3
> numpy version 1.10.4
> pysparse version 1.3-dev
> scipy version 0.17.1
> matplotlib version 2.0.0
> gist is not installed
> mpi4py version 2.0.0
> Trilinos version: 11.10.2
> PyTrilinos version: 4.10d
> mayavi version 4.5.0
> gmsh version 2.15.0
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File
> "/Users/langrock/anaconda/envs/MYFIPYENV/lib/python2.7/site-packages/fipy/__init__.py",
> line 164, in test
>     cmdclass={'test': _TestClass(_test)})
>   File
> "/Users/langrock/anaconda/envs/MYFIPYENV/lib/python2.7/distutils/core.py",
> line 151, in setup
>     dist.run_commands()
>   File
> "/Users/langrock/anaconda/envs/MYFIPYENV/lib/python2.7/distutils/dist.py",
> line 953, in run_commands
>     self.run_command(cmd)
>   File
> "/Users/langrock/anaconda/envs/MYFIPYENV/lib/python2.7/distutils/dist.py",
> line 972, in run_command
>     cmd_obj.run()
>   File
> "/Users/langrock/anaconda/envs/MYFIPYENV/lib/python2.7/site-packages/setuptools/command/test.py",
> line 211, in run
>     self.run_tests()
>   File
> "/Users/langrock/anaconda/envs/MYFIPYENV/lib/python2.7/site-packages/fipy/tests/testClass.py",
> line 236, in run_tests
>     testLoader = loader_class()
>   File
> "/Users/langrock/anaconda/envs/MYFIPYENV/lib/python2.7/unittest/main.py",
> line 94, in __init__
>     self.parseArgs(argv)
>   File
> "/Users/langrock/anaconda/envs/MYFIPYENV/lib/python2.7/unittest/main.py",
> line 149, in parseArgs
>     self.createTests()
>   File
> "/Users/langrock/anaconda/envs/MYFIPYENV/lib/python2.7/unittest/main.py",
> line 158, in createTests
>     self.module)
>   File
> "/Users/langrock/anaconda/envs/MYFIPYENV/lib/python2.7/unittest/loader.py",
> line 130, in loadTestsFromNames
>     suites = [self.loadTestsFromName(name, module) for name in names]
>   File
> "/Users/langrock/anaconda/envs/MYFIPYENV/lib/python2.7/unittest/loader.py",
> line 100, in loadTestsFromName
>     parent, obj = obj, getattr(obj, part)
> AttributeError: 'module' object has no attribute 'testFiPy'
>
> _______________________________________________
> fipy mailing list
> fipy@nist.gov
> http://www.ctcms.nist.gov/fipy
>   [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]
>



-- 
Daniel Wheeler
_______________________________________________
fipy mailing list
fipy@nist.gov
http://www.ctcms.nist.gov/fipy
  [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]

Reply via email to