Status: Accepted
Owner: [email protected]
Labels: Type-Defect Priority-High Plotting Milestone-Release0.7.2
New issue 2752 by [email protected]: test_args fails if importing pyglet
fails
http://code.google.com/p/sympy/issues/detail?id=2752
$./bin/test sympy/core/tests/test_args.py
===========================================================================================
test
process starts
============================================================================================
executable: /sw/bin/python (2.7.2-final-0)
architecture: 64-bit
cache: yes
ground types: gmpy
random seed: 74363056
sympy/core/tests/test_args.py[307]
Efffffffff.................sssssssssssssssssssssssssssssssssssssssss.ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
..........................................................................................................................................
[FAIL]
____________________________________________________________________________________________________________________________________________________________________________________________________________
________________________________________________________________________
sympy/core/tests/test_args.py:test_all_classes_are_tested
_________________________________________________________________________
File "/users/aaronmeurer/documents/python/sympy/sympy/sympy/core/tests/test_args.py",
line 46, in test_all_classes_are_tested
mod = __import__(submodule, fromlist=names)
File "/Users/aaronmeurer/Documents/python/sympy/sympy/sympy/plotting/color_scheme.py",
line 2, in <module>
from util import interpolate, rinterpolate, create_bounds, update_bounds
File "/Users/aaronmeurer/Documents/python/sympy/sympy/sympy/plotting/util.py",
line 1, in <module>
from pyglet.gl import *
File "/sw/lib/python2.7/site-packages/pyglet/gl/__init__.py", line 510,
in <module>
import pyglet.window
File "/sw/lib/python2.7/site-packages/pyglet/window/__init__.py", line
1669, in <module>
from pyglet.window.carbon import CarbonPlatform, CarbonWindow
File "/sw/lib/python2.7/site-packages/pyglet/window/carbon/__init__.py",
line 69, in <module>
framework='/System/Library/Frameworks/QuickTime.framework')
File "/sw/lib/python2.7/site-packages/pyglet/lib.py", line 90, in
load_library
return self.load_framework(kwargs['framework'])
File "/sw/lib/python2.7/site-packages/pyglet/lib.py", line 226, in
load_framework
lib = ctypes.cdll.LoadLibrary(realpath)
File "/sw/lib/python2.7/ctypes/__init__.py", line 431, in LoadLibrary
return self._dlltype(name)
File "/sw/lib/python2.7/ctypes/__init__.py", line 353, in __init__
self._handle = _dlopen(self._name, mode)
OSError: dlopen(/System/Library/Frameworks/QuickTime.framework/QuickTime,
6): no suitable image found. Did find:
/System/Library/Frameworks/QuickTime.framework/QuickTime: mach-o, but
wrong architecture
/System/Library/Frameworks/QuickTime.framework/QuickTime: mach-o, but
wrong architecture
======================================================= tests finished: 156
passed, 141 skipped, 9 expected to fail, 1 exceptions, in 10.39 seconds
========================================================
This is the same traceback I get if I just try to import pyglet. This
should be fixed.
--
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.