Status: Valid
Owner: ----
CC: [email protected]
Labels: Type-Defect Priority-Medium
New issue 3299 by [email protected]: test_plot hangs
http://code.google.com/p/sympy/issues/detail?id=3299
test_plot hangs when I run bin/tests. 17 matplotlib windows are brought up
with various plots, but then the process hangs. When I interrupt the
process with Ctrl-C, I get some traceback, shown below. I am using:
sympy.__version__ = '0.7.1-git' (commit
SHA:f8b8c6d866f05e85fe43730ee59c46de6a223d2b)
numpy.version.full_version: '1.7.0.dev-651ef74'
scipy.version.full_version: '0.12.0.dev-935f80e'
matplotlib.__version__: '1.2.x'
luke@LenovoW510 ~/repos/sympy $ bin/test test_plot
/home/luke/usr/lib64/python2.7/site-packages/numpy/random/__init__.py:99:
RuntimeWarning: numpy.dtype size changed, may indicate binary
incompatibility
from mtrand import *
================================================================= test
process starts
==================================================================
executable: /usr/bin/python2.7 (2.7.3-final-0)
architecture: 64-bit
cache: yes
ground types: python
random seed: 41655026
sympy/plotting/tests/test_plot.py[1]
/home/luke/usr/lib64/python2.7/site-packages/numpy/core/numeric.py:334:
ComplexWarning: Casting complex values to real discards the imaginary part
maskna=maskna, ownmaskna=ownmaskna)
^C interrupted by user
===================================================== tests finished: 0
passed, in 410.61 seconds
======================================================
Traceback (most recent call last):
File "bin/test", line 64, in <module>
options.seed, "slow": options.slow, "timeout": options.timeout})
File "/home/luke/repos/sympy/sympy/utilities/runtests.py", line 324, in
test
return t.test(sort=sort, timeout=timeout, slow=slow)
File "/home/luke/repos/sympy/sympy/utilities/runtests.py", line 649, in
test
self.test_file(f, sort, timeout, slow)
File "/home/luke/repos/sympy/sympy/utilities/runtests.py", line 728, in
test_file
f()
File "/home/luke/repos/sympy/sympy/plotting/tests/test_plot.py", line
196, in test_matplotlib
plot_and_save('test')
File "/home/luke/repos/sympy/sympy/plotting/tests/test_plot.py", line
151, in plot_and_save
plot(sin(x)+I*cos(x)).save(tmp_file())
File "/home/luke/repos/sympy/sympy/plotting/plot.py", line 388, in plot
p.show()
File "/home/luke/repos/sympy/sympy/plotting/plot.py", line 177, in show
self._backend.show()
File "/home/luke/repos/sympy/sympy/plotting/plot.py", line 972, in show
plt.show()
File "/home/luke/usr/lib64/python2.7/site-packages/matplotlib/pyplot.py",
line 142, in show
_show(*args, **kw)
File "/home/luke/usr/lib64/python2.7/site-packages/matplotlib/backend_bases.py",
line 108, in __call__
self.mainloop()
File "/home/luke/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_gtk.py",
line 83, in mainloop
gtk.main()
KeyboardInterrupt
luke@LenovoW510 ~/repos/sympy $
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en.