Status: Accepted Owner: ondrej.certik Labels: Type-Defect Priority-Medium Milestone-Release0.6.5
New issue 1535 by ondrej.certik: tests fail if GL is not available http://code.google.com/p/sympy/issues/detail?id=1535 ________________________________________________________________________________ ______________ sympy/plotting/tests/test_plotting.py:test_plot_2d ______________ File "/usr/lib/pymodules/python2.5/sympy/plotting/tests/test_plotting.py", line 19, in test_plot_2d p=Plot(x, [x, -5, 5, 4], visible=False) File "/usr/lib/pymodules/python2.5/sympy/plotting/__init__.py", line 10, in Plot import plot File "/usr/lib/pymodules/python2.5/sympy/plotting/plot.py", line 9, in <module> from pyglet.gl import * File "/usr/lib/pymodules/python2.5/sympy/thirdparty/pyglet/pyglet/gl/__init__.py", line 99, in <module> from pyglet.gl.lib import GLException File "/usr/lib/pymodules/python2.5/sympy/thirdparty/pyglet/pyglet/gl/lib.py", line 128, in <module> from pyglet.gl.lib_glx import link_GL, link_GLU, link_GLX File "/usr/lib/pymodules/python2.5/sympy/thirdparty/pyglet/pyglet/gl/lib_glx.py", line 48, in <module> gl_lib = pyglet.lib.load_library('GL') File "/usr/lib/pymodules/python2.5/sympy/thirdparty/pyglet/pyglet/lib.py", line 48, in load_library raise ImportError('Library "%s" not found.' % names[0]) ImportError: Library "GL" not found. ________________________________________________________________________________ _______ sympy/plotting/tests/test_plotting.py:test_plot_2d_discontinuous _______ File "/usr/lib/pymodules/python2.5/sympy/plotting/tests/test_plotting.py", line 24, in test_plot_2d_discontinuous p=Plot(1/x, [x, -1, 1, 2], visible=False) File "/usr/lib/pymodules/python2.5/sympy/plotting/__init__.py", line 10, in Plot import plot File "/usr/lib/pymodules/python2.5/sympy/plotting/plot.py", line 9, in <module> from pyglet.gl import * File "/usr/lib/pymodules/python2.5/sympy/thirdparty/pyglet/pyglet/gl/__init__.py", line 99, in <module> from pyglet.gl.lib import GLException File "/usr/lib/pymodules/python2.5/sympy/thirdparty/pyglet/pyglet/gl/lib.py", line 128, in <module> from pyglet.gl.lib_glx import link_GL, link_GLU, link_GLX File "/usr/lib/pymodules/python2.5/sympy/thirdparty/pyglet/pyglet/gl/lib_glx.py", line 48, in <module> gl_lib = pyglet.lib.load_library('GL') File "/usr/lib/pymodules/python2.5/sympy/thirdparty/pyglet/pyglet/lib.py", line 48, in load_library raise ImportError('Library "%s" not found.' % names[0]) ImportError: Library "GL" not found. ________________________________________________________________________________ ______________ sympy/plotting/tests/test_plotting.py:test_plot_3d ______________ File "/usr/lib/pymodules/python2.5/sympy/plotting/tests/test_plotting.py", line 29, in test_plot_3d p=Plot(x*y, [x, -5, 5, 5], [y, -5, 5, 5], visible=False) File "/usr/lib/pymodules/python2.5/sympy/plotting/__init__.py", line 10, in Plot import plot File "/usr/lib/pymodules/python2.5/sympy/plotting/plot.py", line 9, in <module> from pyglet.gl import * File "/usr/lib/pymodules/python2.5/sympy/thirdparty/pyglet/pyglet/gl/__init__.py", line 99, in <module> from pyglet.gl.lib import GLException File "/usr/lib/pymodules/python2.5/sympy/thirdparty/pyglet/pyglet/gl/lib.py", line 128, in <module> from pyglet.gl.lib_glx import link_GL, link_GLU, link_GLX File "/usr/lib/pymodules/python2.5/sympy/thirdparty/pyglet/pyglet/gl/lib_glx.py", line 48, in <module> gl_lib = pyglet.lib.load_library('GL') File "/usr/lib/pymodules/python2.5/sympy/thirdparty/pyglet/pyglet/lib.py", line 48, in load_library raise ImportError('Library "%s" not found.' % names[0]) ImportError: Library "GL" not found. ________________________________________________________________________________ _______ sympy/plotting/tests/test_plotting.py:test_plot_3d_discontinuous _______ File "/usr/lib/pymodules/python2.5/sympy/plotting/tests/test_plotting.py", line 34, in test_plot_3d_discontinuous p=Plot(1/x, [x, -3, 3, 6], [y, -1, 1, 1], visible=False) File "/usr/lib/pymodules/python2.5/sympy/plotting/__init__.py", line 10, in Plot import plot File "/usr/lib/pymodules/python2.5/sympy/plotting/plot.py", line 9, in <module> from pyglet.gl import * File "/usr/lib/pymodules/python2.5/sympy/thirdparty/pyglet/pyglet/gl/__init__.py", line 99, in <module> from pyglet.gl.lib import GLException File "/usr/lib/pymodules/python2.5/sympy/thirdparty/pyglet/pyglet/gl/lib.py", line 128, in <module> from pyglet.gl.lib_glx import link_GL, link_GLU, link_GLX File "/usr/lib/pymodules/python2.5/sympy/thirdparty/pyglet/pyglet/gl/lib_glx.py", line 48, in <module> gl_lib = pyglet.lib.load_library('GL') File "/usr/lib/pymodules/python2.5/sympy/thirdparty/pyglet/pyglet/lib.py", line 48, in load_library raise ImportError('Library "%s" not found.' % names[0]) ImportError: Library "GL" not found. ________________________________________________________________________________ ___________ sympy/plotting/tests/test_plotting.py:test_plot_2d_polar ___________ File "/usr/lib/pymodules/python2.5/sympy/plotting/tests/test_plotting.py", line 39, in test_plot_2d_polar p=Plot(1/x, [x,-1,1,4], 'mode=polar', visible=False) File "/usr/lib/pymodules/python2.5/sympy/plotting/__init__.py", line 10, in Plot import plot File "/usr/lib/pymodules/python2.5/sympy/plotting/plot.py", line 9, in <module> from pyglet.gl import * File "/usr/lib/pymodules/python2.5/sympy/thirdparty/pyglet/pyglet/gl/__init__.py", line 99, in <module> from pyglet.gl.lib import GLException File "/usr/lib/pymodules/python2.5/sympy/thirdparty/pyglet/pyglet/gl/lib.py", line 128, in <module> from pyglet.gl.lib_glx import link_GL, link_GLU, link_GLX File "/usr/lib/pymodules/python2.5/sympy/thirdparty/pyglet/pyglet/gl/lib_glx.py", line 48, in <module> gl_lib = pyglet.lib.load_library('GL') File "/usr/lib/pymodules/python2.5/sympy/thirdparty/pyglet/pyglet/lib.py", line 48, in load_library raise ImportError('Library "%s" not found.' % names[0]) ImportError: Library "GL" not found. ________________________________________________________________________________ _________ sympy/plotting/tests/test_plotting.py:test_plot_3d_cylinder __________ File "/usr/lib/pymodules/python2.5/sympy/plotting/tests/test_plotting.py", line 44, in test_plot_3d_cylinder p=Plot(1/y, [x,0,6.282,4], [y,-1,1,4], 'mode=polar;style=solid', visible=False) File "/usr/lib/pymodules/python2.5/sympy/plotting/__init__.py", line 10, in Plot import plot File "/usr/lib/pymodules/python2.5/sympy/plotting/plot.py", line 9, in <module> from pyglet.gl import * File "/usr/lib/pymodules/python2.5/sympy/thirdparty/pyglet/pyglet/gl/__init__.py", line 99, in <module> from pyglet.gl.lib import GLException File "/usr/lib/pymodules/python2.5/sympy/thirdparty/pyglet/pyglet/gl/lib.py", line 128, in <module> from pyglet.gl.lib_glx import link_GL, link_GLU, link_GLX File "/usr/lib/pymodules/python2.5/sympy/thirdparty/pyglet/pyglet/gl/lib_glx.py", line 48, in <module> gl_lib = pyglet.lib.load_library('GL') File "/usr/lib/pymodules/python2.5/sympy/thirdparty/pyglet/pyglet/lib.py", line 48, in load_library raise ImportError('Library "%s" not found.' % names[0]) ImportError: Library "GL" not found. ________________________________________________________________________________ _________ sympy/plotting/tests/test_plotting.py:test_plot_3d_spherical _________ File "/usr/lib/pymodules/python2.5/sympy/plotting/tests/test_plotting.py", line 49, in test_plot_3d_spherical p=Plot(1, [x,0,6.282,4], [y,0,3.141,4], 'mode=spherical;style=wireframe', visible=False) File "/usr/lib/pymodules/python2.5/sympy/plotting/__init__.py", line 10, in Plot import plot File "/usr/lib/pymodules/python2.5/sympy/plotting/plot.py", line 9, in <module> from pyglet.gl import * File "/usr/lib/pymodules/python2.5/sympy/thirdparty/pyglet/pyglet/gl/__init__.py", line 99, in <module> from pyglet.gl.lib import GLException File "/usr/lib/pymodules/python2.5/sympy/thirdparty/pyglet/pyglet/gl/lib.py", line 128, in <module> from pyglet.gl.lib_glx import link_GL, link_GLU, link_GLX File "/usr/lib/pymodules/python2.5/sympy/thirdparty/pyglet/pyglet/gl/lib_glx.py", line 48, in <module> gl_lib = pyglet.lib.load_library('GL') File "/usr/lib/pymodules/python2.5/sympy/thirdparty/pyglet/pyglet/lib.py", line 48, in load_library raise ImportError('Library "%s" not found.' % names[0]) ImportError: Library "GL" not found. ________________________________________________________________________________ ________ sympy/plotting/tests/test_plotting.py:test_plot_2d_parametric _________ File "/usr/lib/pymodules/python2.5/sympy/plotting/tests/test_plotting.py", line 54, in test_plot_2d_parametric p=Plot(sin(x), cos(x), [x, 0, 6.282, 4], visible=False) File "/usr/lib/pymodules/python2.5/sympy/plotting/__init__.py", line 10, in Plot import plot File "/usr/lib/pymodules/python2.5/sympy/plotting/plot.py", line 9, in <module> from pyglet.gl import * File "/usr/lib/pymodules/python2.5/sympy/thirdparty/pyglet/pyglet/gl/__init__.py", line 99, in <module> from pyglet.gl.lib import GLException File "/usr/lib/pymodules/python2.5/sympy/thirdparty/pyglet/pyglet/gl/lib.py", line 128, in <module> from pyglet.gl.lib_glx import link_GL, link_GLU, link_GLX File "/usr/lib/pymodules/python2.5/sympy/thirdparty/pyglet/pyglet/gl/lib_glx.py", line 48, in <module> gl_lib = pyglet.lib.load_library('GL') File "/usr/lib/pymodules/python2.5/sympy/thirdparty/pyglet/pyglet/lib.py", line 48, in load_library raise ImportError('Library "%s" not found.' % names[0]) ImportError: Library "GL" not found. ________________________________________________________________________________ ________ sympy/plotting/tests/test_plotting.py:test_plot_3d_parametric _________ File "/usr/lib/pymodules/python2.5/sympy/plotting/tests/test_plotting.py", line 59, in test_plot_3d_parametric p=Plot(sin(x), cos(x), x/5.0, [x, 0, 6.282, 4], visible=False) File "/usr/lib/pymodules/python2.5/sympy/plotting/__init__.py", line 10, in Plot import plot File "/usr/lib/pymodules/python2.5/sympy/plotting/plot.py", line 9, in <module> from pyglet.gl import * File "/usr/lib/pymodules/python2.5/sympy/thirdparty/pyglet/pyglet/gl/__init__.py", line 99, in <module> from pyglet.gl.lib import GLException File "/usr/lib/pymodules/python2.5/sympy/thirdparty/pyglet/pyglet/gl/lib.py", line 128, in <module> from pyglet.gl.lib_glx import link_GL, link_GLU, link_GLX File "/usr/lib/pymodules/python2.5/sympy/thirdparty/pyglet/pyglet/gl/lib_glx.py", line 48, in <module> gl_lib = pyglet.lib.load_library('GL') File "/usr/lib/pymodules/python2.5/sympy/thirdparty/pyglet/pyglet/lib.py", line 48, in load_library raise ImportError('Library "%s" not found.' % names[0]) ImportError: Library "GL" not found. tests finished: 1533 passed, 31 xfailed, 2 xpassed, 9 exceptions in 143.70 seconds DO *NOT* COMMIT! False -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
