Open GoogleCodeExporter opened 8 years ago
Build In Debian 6.0 AMD64 system,but $python test.py back error. ================================================================= root@debian:/media/mirrors/python-spidermonkey# python test.py EEEEEEEEEEEEEEE ====================================================================== ERROR: test_scope (__main__.context_tests) ---------------------------------------------------------------------- Traceback (most recent call last): File "test.py", line 18, in test_scope cx.eval_script("""\ AttributeError: 'spidermonkey.Context' object has no attribute 'eval_script' ====================================================================== ERROR: test_bind_global (__main__.test_bind_global) ---------------------------------------------------------------------- Traceback (most recent call last): File "test.py", line 191, in setUp self.cx = rt.new_context(self.window) TypeError: Global handler must provide item access. ====================================================================== ERROR: test_assign_new_property (__main__.test_class) ---------------------------------------------------------------------- Traceback (most recent call last): File "test.py", line 114, in setUp self.cx.bind_class(spam) AttributeError: 'spidermonkey.Context' object has no attribute 'bind_class' ====================================================================== ERROR: test_bind_module (__main__.test_class) ---------------------------------------------------------------------- Traceback (most recent call last): File "test.py", line 114, in setUp self.cx.bind_class(spam) AttributeError: 'spidermonkey.Context' object has no attribute 'bind_class' ====================================================================== ERROR: test_call (__main__.test_class) ---------------------------------------------------------------------- Traceback (most recent call last): File "test.py", line 114, in setUp self.cx.bind_class(spam) AttributeError: 'spidermonkey.Context' object has no attribute 'bind_class' ====================================================================== ERROR: test_construct (__main__.test_class) ---------------------------------------------------------------------- Traceback (most recent call last): File "test.py", line 114, in setUp self.cx.bind_class(spam) AttributeError: 'spidermonkey.Context' object has no attribute 'bind_class' ====================================================================== ERROR: test_getsetitem (__main__.test_class) ---------------------------------------------------------------------- Traceback (most recent call last): File "test.py", line 114, in setUp self.cx.bind_class(spam) AttributeError: 'spidermonkey.Context' object has no attribute 'bind_class' ====================================================================== ERROR: test_identity (__main__.test_class) ---------------------------------------------------------------------- Traceback (most recent call last): File "test.py", line 114, in setUp self.cx.bind_class(spam) AttributeError: 'spidermonkey.Context' object has no attribute 'bind_class' ====================================================================== ERROR: test_js_name_js_constructor (__main__.test_class) ---------------------------------------------------------------------- Traceback (most recent call last): File "test.py", line 114, in setUp self.cx.bind_class(spam) AttributeError: 'spidermonkey.Context' object has no attribute 'bind_class' ====================================================================== ERROR: test_no_constructor (__main__.test_class) ---------------------------------------------------------------------- Traceback (most recent call last): File "test.py", line 114, in setUp self.cx.bind_class(spam) AttributeError: 'spidermonkey.Context' object has no attribute 'bind_class' ====================================================================== ERROR: test_private (__main__.test_class) ---------------------------------------------------------------------- Traceback (most recent call last): File "test.py", line 114, in setUp self.cx.bind_class(spam) AttributeError: 'spidermonkey.Context' object has no attribute 'bind_class' ====================================================================== ERROR: test_container_types (__main__.test_conversions_to_Python) ---------------------------------------------------------------------- Traceback (most recent call last): File "test.py", line 39, in test_container_types self.assert_(self.cx.eval_script("[1,2,3];") == [1,2,3]) AttributeError: 'spidermonkey.Context' object has no attribute 'eval_script' ====================================================================== ERROR: test_primitive_types (__main__.test_conversions_to_Python) ---------------------------------------------------------------------- Traceback (most recent call last): File "test.py", line 28, in test_primitive_types self.assert_(self.cx.eval_script("42;") == 42) AttributeError: 'spidermonkey.Context' object has no attribute 'eval_script' ====================================================================== ERROR: test_primitive_types (__main__.test_conversions_two_way) ---------------------------------------------------------------------- Traceback (most recent call last): File "test.py", line 55, in setUp self.cx.bind_callable("echo", echo) AttributeError: 'spidermonkey.Context' object has no attribute 'bind_callable' ====================================================================== ERROR: test_get_global (__main__.test_global) ---------------------------------------------------------------------- Traceback (most recent call last): File "test.py", line 78, in test_get_global self.cx.eval_script("foo = 1; bar = undefined; baz = null; bing = 2;") AttributeError: 'spidermonkey.Context' object has no attribute 'eval_script' ---------------------------------------------------------------------- Ran 15 tests in 0.009s FAILED (errors=15)
Original issue reported on code.google.com by asluozi...@gmail.com on 9 Apr 2011 at 3:41
asluozi...@gmail.com
Same problem on xubuntu 64 bits AttributeError: 'spidermonkey.Context' object has no attribute 'eval_script'
Original comment by the.b...@gmail.com on 23 Dec 2012 at 12:54
the.b...@gmail.com
Original issue reported on code.google.com by
asluozi...@gmail.com
on 9 Apr 2011 at 3:41