Status: Accepted
Owner: plaes800
Labels: Type-Defect Priority-Medium

New issue 1414 by plaes800: Some tests fail on headless machine
http://code.google.com/p/sympy/issues/detail?id=1414

Just ran tests for sympy on headless machine (sort of buildbot :) )

sympy/plotting/tests/test_plotting.py[10] .EEEEEEEEE
[FAIL]

These tests should be somehow skipped on headless machines.


______________ sympy/plotting/tests/test_plotting.py:test_plot_2d
______________
   File "/home/plaes/code/sympy/sympy/plotting/tests/test_plotting.py", line
19, in test_plot_2d
     p=Plot(x, [x, -5, 5, 4], visible=False)
   File "/home/plaes/code/sympy/sympy/plotting/__init__.py", line 10, in
Plot
     import plot
   File "/home/plaes/code/sympy/sympy/plotting/plot.py", line 9, in <module>
     from pyglet.gl import *
   File
"/home/plaes/code/sympy/sympy/thirdparty/pyglet/pyglet/gl/__init__.py",
line 99, in <module>
     from pyglet.gl.lib import GLException
   File "/home/plaes/code/sympy/sympy/thirdparty/pyglet/pyglet/gl/lib.py",
line 128, in <module>
     from pyglet.gl.lib_glx import link_GL, link_GLU, link_GLX
   File
"/home/plaes/code/sympy/sympy/thirdparty/pyglet/pyglet/gl/lib_glx.py", line
48, in <module>
     gl_lib = pyglet.lib.load_library('GL')
   File "/home/plaes/code/sympy/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 "/home/plaes/code/sympy/sympy/plotting/tests/test_plotting.py", line
24, in test_plot_2d_discontinuous
     p=Plot(1/x, [x, -1, 1, 2], visible=False)
   File "/home/plaes/code/sympy/sympy/plotting/__init__.py", line 10, in
Plot
     import plot
   File "/home/plaes/code/sympy/sympy/plotting/plot.py", line 9, in <module>
     from pyglet.gl import *
   File
"/home/plaes/code/sympy/sympy/thirdparty/pyglet/pyglet/gl/__init__.py",
line 99, in <module>
     from pyglet.gl.lib import GLException
   File "/home/plaes/code/sympy/sympy/thirdparty/pyglet/pyglet/gl/lib.py",
line 128, in <module>
     from pyglet.gl.lib_glx import link_GL, link_GLU, link_GLX
   File
"/home/plaes/code/sympy/sympy/thirdparty/pyglet/pyglet/gl/lib_glx.py", line
48, in <module>
     gl_lib = pyglet.lib.load_library('GL')
   File "/home/plaes/code/sympy/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 "/home/plaes/code/sympy/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 "/home/plaes/code/sympy/sympy/plotting/__init__.py", line 10, in
Plot
     import plot
   File "/home/plaes/code/sympy/sympy/plotting/plot.py", line 9, in <module>
     from pyglet.gl import *
   File
"/home/plaes/code/sympy/sympy/thirdparty/pyglet/pyglet/gl/__init__.py",
line 99, in <module>
     from pyglet.gl.lib import GLException
   File "/home/plaes/code/sympy/sympy/thirdparty/pyglet/pyglet/gl/lib.py",
line 128, in <module>
     from pyglet.gl.lib_glx import link_GL, link_GLU, link_GLX
   File
"/home/plaes/code/sympy/sympy/thirdparty/pyglet/pyglet/gl/lib_glx.py", line
48, in <module>
     gl_lib = pyglet.lib.load_library('GL')
   File "/home/plaes/code/sympy/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 "/home/plaes/code/sympy/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 "/home/plaes/code/sympy/sympy/plotting/__init__.py", line 10, in
Plot
     import plot
   File "/home/plaes/code/sympy/sympy/plotting/plot.py", line 9, in <module>
     from pyglet.gl import *
   File
"/home/plaes/code/sympy/sympy/thirdparty/pyglet/pyglet/gl/__init__.py",
line 99, in <module>
     from pyglet.gl.lib import GLException
   File "/home/plaes/code/sympy/sympy/thirdparty/pyglet/pyglet/gl/lib.py",
line 128, in <module>
     from pyglet.gl.lib_glx import link_GL, link_GLU, link_GLX
   File
"/home/plaes/code/sympy/sympy/thirdparty/pyglet/pyglet/gl/lib_glx.py", line
48, in <module>
     gl_lib = pyglet.lib.load_library('GL')
   File "/home/plaes/code/sympy/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 "/home/plaes/code/sympy/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 "/home/plaes/code/sympy/sympy/plotting/__init__.py", line 10, in
Plot
     import plot
   File "/home/plaes/code/sympy/sympy/plotting/plot.py", line 9, in <module>
     from pyglet.gl import *
   File
"/home/plaes/code/sympy/sympy/thirdparty/pyglet/pyglet/gl/__init__.py",
line 99, in <module>
     from pyglet.gl.lib import GLException
   File "/home/plaes/code/sympy/sympy/thirdparty/pyglet/pyglet/gl/lib.py",
line 128, in <module>
     from pyglet.gl.lib_glx import link_GL, link_GLU, link_GLX
   File
"/home/plaes/code/sympy/sympy/thirdparty/pyglet/pyglet/gl/lib_glx.py", line
48, in <module>
     gl_lib = pyglet.lib.load_library('GL')
   File "/home/plaes/code/sympy/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 "/home/plaes/code/sympy/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 "/home/plaes/code/sympy/sympy/plotting/__init__.py", line 10, in
Plot
     import plot
   File "/home/plaes/code/sympy/sympy/plotting/plot.py", line 9, in <module>
     from pyglet.gl import *
   File
"/home/plaes/code/sympy/sympy/thirdparty/pyglet/pyglet/gl/__init__.py",
line 99, in <module>
     from pyglet.gl.lib import GLException
   File "/home/plaes/code/sympy/sympy/thirdparty/pyglet/pyglet/gl/lib.py",
line 128, in <module>
     from pyglet.gl.lib_glx import link_GL, link_GLU, link_GLX
   File
"/home/plaes/code/sympy/sympy/thirdparty/pyglet/pyglet/gl/lib_glx.py", line
48, in <module>
     gl_lib = pyglet.lib.load_library('GL')
   File "/home/plaes/code/sympy/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 "/home/plaes/code/sympy/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 "/home/plaes/code/sympy/sympy/plotting/__init__.py", line 10, in
Plot
     import plot
   File "/home/plaes/code/sympy/sympy/plotting/plot.py", line 9, in <module>
     from pyglet.gl import *
   File
"/home/plaes/code/sympy/sympy/thirdparty/pyglet/pyglet/gl/__init__.py",
line 99, in <module>
     from pyglet.gl.lib import GLException
   File "/home/plaes/code/sympy/sympy/thirdparty/pyglet/pyglet/gl/lib.py",
line 128, in <module>
     from pyglet.gl.lib_glx import link_GL, link_GLU, link_GLX
   File
"/home/plaes/code/sympy/sympy/thirdparty/pyglet/pyglet/gl/lib_glx.py", line
48, in <module>
     gl_lib = pyglet.lib.load_library('GL')
   File "/home/plaes/code/sympy/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 "/home/plaes/code/sympy/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 "/home/plaes/code/sympy/sympy/plotting/__init__.py", line 10, in
Plot
     import plot
   File "/home/plaes/code/sympy/sympy/plotting/plot.py", line 9, in <module>
     from pyglet.gl import *
   File
"/home/plaes/code/sympy/sympy/thirdparty/pyglet/pyglet/gl/__init__.py",
line 99, in <module>
     from pyglet.gl.lib import GLException
   File "/home/plaes/code/sympy/sympy/thirdparty/pyglet/pyglet/gl/lib.py",
line 128, in <module>
     from pyglet.gl.lib_glx import link_GL, link_GLU, link_GLX
   File
"/home/plaes/code/sympy/sympy/thirdparty/pyglet/pyglet/gl/lib_glx.py", line
48, in <module>
     gl_lib = pyglet.lib.load_library('GL')
   File "/home/plaes/code/sympy/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 "/home/plaes/code/sympy/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 "/home/plaes/code/sympy/sympy/plotting/__init__.py", line 10, in
Plot
     import plot
   File "/home/plaes/code/sympy/sympy/plotting/plot.py", line 9, in <module>
     from pyglet.gl import *
   File
"/home/plaes/code/sympy/sympy/thirdparty/pyglet/pyglet/gl/__init__.py",
line 99, in <module>
     from pyglet.gl.lib import GLException
   File "/home/plaes/code/sympy/sympy/thirdparty/pyglet/pyglet/gl/lib.py",
line 128, in <module>
     from pyglet.gl.lib_glx import link_GL, link_GLU, link_GLX
   File
"/home/plaes/code/sympy/sympy/thirdparty/pyglet/pyglet/gl/lib_glx.py", line
48, in <module>
     gl_lib = pyglet.lib.load_library('GL')
   File "/home/plaes/code/sympy/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: 1402 passed, 31 xfailed, 2 xpassed, 9 exceptions in 169.03
seconds
DO *NOT* COMMIT!



--
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to