[ase-users] Error in test after Installation.

Jens Jørgen Mortensen jensj at fysik.dtu.dk
Fri Oct 21 09:30:37 CEST 2016


On 10/20/2016 11:59 AM, Mohammed Ghadiyali via ase-users wrote:
>
> Dear ALL,
>
>
> I have installed ASE via dnf and it has been installed sucessfully. 
> But after running the recommended test I have got following error:
>
>
> ======================================================================
> ERROR: doctests.py
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/ase/test/__init__.py", line 
> 53, in testfile
>     {'display': self.display})
>   File "/usr/lib/python2.7/site-packages/ase/test/doctests.py", line 
> 25, in <module>
>     print(mod, doctest.testmod(mod, raise_on_error=True))
>   File "/usr/lib64/python2.7/doctest.py", line 1911, in testmod
>     runner.run(test)
>   File "/usr/lib64/python2.7/doctest.py", line 1799, in run
>     r = DocTestRunner.run(self, test, compileflags, out, False)
>   File "/usr/lib64/python2.7/doctest.py", line 1454, in run
>     return self.__run(test, compileflags, out)
>   File "/usr/lib64/python2.7/doctest.py", line 1368, in __run
>     exc_info)
>   File "/usr/lib64/python2.7/doctest.py", line 1805, in 
> report_unexpected_exception
>     raise UnexpectedException(test, example, exc_info)
> UnexpectedException: <DocTest ase.build.tools.stack from 
> /usr/lib/python2.7/site-packages/ase/build/tools.py:192 (12 examples)>
>
> ----------------------------------------------------------------------
> Ran 138 tests in 45.183s
>
> FAILED (errors=1)
>
>
> Is there any issue in the installation and if yes thank what would be 
> the possible solution.

What version of ASE is this?  Can you try this:

     $ python -m doctest --verbose 
/usr/lib/python2.7/site-packages/ase/build/tools.py

Jens Jørgen

>
> Regards.
> Ghadiyali Mohammed Kader.
>
>
>
> _______________________________________________
> ase-users mailing list
> ase-users at listserv.fysik.dtu.dk
> https://listserv.fysik.dtu.dk/mailman/listinfo/ase-users



More information about the ase-users mailing list