Please help test our 1.2 alpha candidate code

99 views
Skip to first unread message

Richard Jones

unread,
Jun 18, 2012, 8:39:03 AM6/18/12
to pyglet-users
Hi all,

Before we cut a 1.2 alpha release I it'd make sense to run a quick
check over the platforms it's supposed to support. Please run the test
suite for one of the following configurations and respond if you are
able to get at least some success out of it. What we need to know at
this point is whether the whole thing just falls about laughing. That
would prevent an alpha release at this point.

Windows 32-bit
Windows 64-bit
OS X 32-bit
OS X 64-bit
Linux 32-bit
Linux 64-bit

I'm not sure exactly which Python versions are supported - nor even
the state of 64-bit support on platforms other than OS X. Now's the
time to find out! In theory Python 2.4 *might* still be supported with
ctypes installed but honestly if that was dropped I don't think anyone
would miss it. I certainly can't test OS X under 2.4. So, 2.5 should
be attempted if possible (though dropping 2.5 support is on the table
if there's show-stoppers.) Python 3 is not supported under the current
codebase. We can look at adding that support after the alpha is out.

If someone's already run a particular configuration please don't dupe.


Richard

Rui Carmo

unread,
Jun 18, 2012, 9:03:21 AM6/18/12
to pyglet...@googlegroups.com

On Jun 18, 2012, at 13:39 , Richard Jones wrote:

OS X        64-bit

I just hg clone'd the googlecode repo and stock Lion Python 2.7.1 is failing the window tests for me. The windows don't appear consistently (only the initial purple window will pop up, the second test's yellow one may or may not appear) and I'm getting a crash dump on Python itself.

R.

Olivier Dormond

unread,
Jun 18, 2012, 9:13:30 AM6/18/12
to pyglet...@googlegroups.com
Hello,

> Linux        64-bit
Ubuntu 12.04, kernel 3.2.0-25-generic, Python 2.7.3

Python dumps core on RETAINED_INDEXED.

===== pyglet.1.log =====
INFO Beginning test at Mon Jun 18 15:07:26 2012
INFO Capabilities are: GENERIC, X11
INFO sys.platform = linux2
INFO pyglet.version = 1.2dev
INFO Reading test plan from tests/plan.txt
INFO Testing top.IMPORT.
INFO Begin unit tests for top.IMPORT
INFO 27 tests run
INFO Testing app.EVENT_LOOP.
INFO Begin unit tests for app.EVENT_LOOP
INFO 8 tests run
INFO Testing graphics.GRAPHICS_ALLOCATION.
INFO Begin unit tests for graphics.GRAPHICS_ALLOCATION
INFO 23 tests run
INFO Testing graphics.IMMEDIATE.
INFO Begin unit tests for graphics.IMMEDIATE
INFO 10 tests run
INFO Testing graphics.IMMEDIATE_INDEXED.
INFO Begin unit tests for graphics.IMMEDIATE_INDEXED
INFO 10 tests run
INFO Testing graphics.RETAINED.
INFO Begin unit tests for graphics.RETAINED
INFO 10 tests run
INFO Testing graphics.RETAINED_INDEXED.
INFO Begin unit tests for graphics.RETAINED_INDEXED
=====================

What kind of other data might help ?

Cheers,

Olivier

Rui Carmo

unread,
Jun 18, 2012, 9:24:59 AM6/18/12
to pyglet...@googlegroups.com
FYI, I'm doing a quick run through the same Ubuntu version (but 32-bit), and this passed there (Dell box with a Radeon HD 3450 and compositing enabled in my Unity *gasp* session). I'm doing this a folder at a time.

So far (and although I'm not likely to be able to run the full suite today on this box, have other things to attend to momentarily) things appear to work crash-free in Linux 32-bit (graphics and window went by without crashes).

Andreas Schiefer

unread,
Jun 18, 2012, 10:50:25 AM6/18/12
to pyglet...@googlegroups.com
On Mon, Jun 18, 2012 at 2:39 PM, Richard Jones <r1char...@gmail.com> wrote:
> Python 3 is not supported under the current
> codebase. We can look at adding that support after the alpha is out.

For OS X that is, it should work on Linux and Windows with both 32 and
64 bit versions of Python 3.x.


I've not enough time to run the full test suite currently, but running
a few tests with Python 2.7 x64 and Python 3.2 x64 on Windows 7 shows
no show stopping errors.

Bugs found so far (the same in Python 2 and 3):
- The window icon is not set correctly (shows the Python icon)
- many "Feedback array is in error: 0.0, 0.0439453125" errors from the
"graphics" tests - not sure what is wrong there

Andreas Schiefer

unread,
Jun 18, 2012, 11:23:21 AM6/18/12
to pyglet...@googlegroups.com

> - many "Feedback array is in error: 0.0, 0.0439453125" errors from the
> "graphics" tests - not sure what is wrong there

I should read the output more carefully, the tests print a warning that they fail with recent Nvidia drivers - so everything fine here.

Txema Vicente

unread,
Jun 18, 2012, 12:24:15 PM6/18/12
to pyglet...@googlegroups.com

Windows 7 64-bit
python 2.7 32-bit
Box: i7-920 + nVidia GTX470

Sometimes I see ghost windows open and close before tests.

Errors in test 29, 30
Crashed at test 31

------------------------------------------------------------------------------
Running Test: window.WINDOW_SET_EXCLUSIVE_KEYBOARD (31/134)

Test that exclusive keyboard mode can be set.

Expected behaviour:
One window will be opened. Press 'e' to enable exclusive mode
and 'E'
to disable exclusive mode.

In exclusive mode:
- Pressing system keys, the Expose keys, etc., should have no
effect
besides displaying as keyboard events.
- On OS X, the Power switch is not disabled (though this is
possible

if desired, see source).
- On OS X, the menu bar and dock will disappear during keyboard
exclusive mode.
- On Windows, only Alt+Tab is disabled. A user can still
switch awa
y
using Ctrl+Escape, Alt+Escape, the Windows key or
Ctrl+Alt+Del.
- Switching to another application (i.e., with the mouse)
should make
these keys work normally again until this application
regains focus.

Close the window or press ESC to end the test.

Press return to begin test...
C:\pyglet\tests>



INFO Beginning test at Mon Jun 18 17:59:06 2012
INFO Capabilities are: GENERIC, WIN
INFO sys.platform = win32
INFO pyglet.version = 1.2dev
INFO Reading test plan from plan.txt
INFO Testing top.IMPORT.
INFO Begin unit tests for top.IMPORT
INFO 27 tests run
INFO Testing app.EVENT_LOOP.
INFO Begin unit tests for app.EVENT_LOOP
INFO 8 tests run
INFO Testing graphics.GRAPHICS_ALLOCATION.
INFO Begin unit tests for graphics.GRAPHICS_ALLOCATION
INFO 23 tests run
INFO Testing graphics.IMMEDIATE.
INFO Begin unit tests for graphics.IMMEDIATE
ERROR Failure in graphics.IMMEDIATE
ERROR Traceback (most recent call last):
File "..\tests\graphics\IMMEDIATE.py", line 42, in test_v2f
self.generic_test('v2f', v2f_data)
File "..\tests\graphics\IMMEDIATE.py", line 35, in generic_test
self.check(v_data, vertices, n_v)
File "..\tests\graphics\IMMEDIATE.py", line 20, in check
(e, r))
AssertionError: Feedback array is in error: 0.0, 0.0439453125

ERROR Failure in graphics.IMMEDIATE
ERROR Traceback (most recent call last):
File "..\tests\graphics\IMMEDIATE.py", line 48, in test_v2f_c3f
self.generic_test('v2f', v2f_data, 'c3f', c3f_data)
File "..\tests\graphics\IMMEDIATE.py", line 35, in generic_test
self.check(v_data, vertices, n_v)
File "..\tests\graphics\IMMEDIATE.py", line 20, in check
(e, r))
AssertionError: Feedback array is in error: 0.0, 0.0439453125

ERROR Failure in graphics.IMMEDIATE
ERROR Traceback (most recent call last):
File "..\tests\graphics\IMMEDIATE.py", line 51, in test_v2f_c4f
self.generic_test('v2f', v2f_data, 'c4f', c4f_data)
File "..\tests\graphics\IMMEDIATE.py", line 35, in generic_test
self.check(v_data, vertices, n_v)
File "..\tests\graphics\IMMEDIATE.py", line 20, in check
(e, r))
AssertionError: Feedback array is in error: 0.0, 0.0439453125

ERROR Failure in graphics.IMMEDIATE
ERROR Traceback (most recent call last):
File "..\tests\graphics\IMMEDIATE.py", line 60, in test_v2f_t2f
self.generic_test('v2f', v2f_data, None, None, 't2f', t2f_data)
File "..\tests\graphics\IMMEDIATE.py", line 35, in generic_test
self.check(v_data, vertices, n_v)
File "..\tests\graphics\IMMEDIATE.py", line 20, in check
(e, r))
AssertionError: Feedback array is in error: 0.0, 0.0439453125

ERROR Failure in graphics.IMMEDIATE
ERROR Traceback (most recent call last):
File "..\tests\graphics\IMMEDIATE.py", line 45, in test_v3f
self.generic_test('v3f', v3f_data)
File "..\tests\graphics\IMMEDIATE.py", line 35, in generic_test
self.check(v_data, vertices, n_v)
File "..\tests\graphics\IMMEDIATE.py", line 20, in check
(e, r))
AssertionError: Feedback array is in error: 0.0, 0.0439453125

ERROR Failure in graphics.IMMEDIATE
ERROR Traceback (most recent call last):
File "..\tests\graphics\IMMEDIATE.py", line 54, in test_v3f_c3f
self.generic_test('v3f', v3f_data, 'c3f', c3f_data)
File "..\tests\graphics\IMMEDIATE.py", line 35, in generic_test
self.check(v_data, vertices, n_v)
File "..\tests\graphics\IMMEDIATE.py", line 20, in check
(e, r))
AssertionError: Feedback array is in error: 0.0, 0.0439453125

ERROR Failure in graphics.IMMEDIATE
ERROR Traceback (most recent call last):
File "..\tests\graphics\IMMEDIATE.py", line 63, in test_v3f_c3f_t2f
self.generic_test('v3f', v3f_data, 'c3f', c3f_data, 't2f', t2f_data)
File "..\tests\graphics\IMMEDIATE.py", line 35, in generic_test
self.check(v_data, vertices, n_v)
File "..\tests\graphics\IMMEDIATE.py", line 20, in check
(e, r))
AssertionError: Feedback array is in error: 0.0, 0.0439453125

ERROR Failure in graphics.IMMEDIATE
ERROR Traceback (most recent call last):
File "..\tests\graphics\IMMEDIATE.py", line 66, in test_v3f_c3f_t3f
self.generic_test('v3f', v3f_data, 'c3f', c3f_data, 't3f', t3f_data)
File "..\tests\graphics\IMMEDIATE.py", line 35, in generic_test
self.check(v_data, vertices, n_v)
File "..\tests\graphics\IMMEDIATE.py", line 20, in check
(e, r))
AssertionError: Feedback array is in error: 0.0, 0.0439453125

ERROR Failure in graphics.IMMEDIATE
ERROR Traceback (most recent call last):
File "..\tests\graphics\IMMEDIATE.py", line 57, in test_v3f_c4f
self.generic_test('v3f', v3f_data, 'c4f', c4f_data)
File "..\tests\graphics\IMMEDIATE.py", line 35, in generic_test
self.check(v_data, vertices, n_v)
File "..\tests\graphics\IMMEDIATE.py", line 20, in check
(e, r))
AssertionError: Feedback array is in error: 0.0, 0.0439453125

ERROR Failure in graphics.IMMEDIATE
ERROR Traceback (most recent call last):
File "..\tests\graphics\IMMEDIATE.py", line 69, in test_v3f_c4f_t4f
self.generic_test('v3f', v3f_data, 'c4f', c4f_data, 't4f', t4f_data)
File "..\tests\graphics\IMMEDIATE.py", line 35, in generic_test
self.check(v_data, vertices, n_v)
File "..\tests\graphics\IMMEDIATE.py", line 20, in check
(e, r))
AssertionError: Feedback array is in error: 0.0, 0.0439453125

INFO 10 tests run
INFO Testing graphics.IMMEDIATE_INDEXED.
INFO Begin unit tests for graphics.IMMEDIATE_INDEXED
ERROR Failure in graphics.IMMEDIATE_INDEXED
ERROR Traceback (most recent call last):
File "..\tests\graphics\IMMEDIATE_INDEXED.py", line 48, in test_v2f
self.generic_test('v2f', v2f_data)
File "..\tests\graphics\IMMEDIATE_INDEXED.py", line 41, in generic_test
self.check(get_ordered_data(v_data, n_v), vertices, n_v)
File "..\tests\graphics\IMMEDIATE_INDEXED.py", line 25, in check
(e, r))
AssertionError: Feedback array is in error: 0.3088235294117647,
0.88232421875

ERROR Failure in graphics.IMMEDIATE_INDEXED
ERROR Traceback (most recent call last):
File "..\tests\graphics\IMMEDIATE_INDEXED.py", line 54, in test_v2f_c3f
self.generic_test('v2f', v2f_data, 'c3f', c3f_data)
File "..\tests\graphics\IMMEDIATE_INDEXED.py", line 41, in generic_test
self.check(get_ordered_data(v_data, n_v), vertices, n_v)
File "..\tests\graphics\IMMEDIATE_INDEXED.py", line 25, in check
(e, r))
AssertionError: Feedback array is in error: 0.3088235294117647,
0.88232421875

ERROR Failure in graphics.IMMEDIATE_INDEXED
ERROR Traceback (most recent call last):
File "..\tests\graphics\IMMEDIATE_INDEXED.py", line 57, in test_v2f_c4f
self.generic_test('v2f', v2f_data, 'c4f', c4f_data)
File "..\tests\graphics\IMMEDIATE_INDEXED.py", line 41, in generic_test
self.check(get_ordered_data(v_data, n_v), vertices, n_v)
File "..\tests\graphics\IMMEDIATE_INDEXED.py", line 25, in check
(e, r))
AssertionError: Feedback array is in error: 0.3088235294117647,
0.88232421875

ERROR Failure in graphics.IMMEDIATE_INDEXED
ERROR Traceback (most recent call last):
File "..\tests\graphics\IMMEDIATE_INDEXED.py", line 66, in test_v2f_t2f
self.generic_test('v2f', v2f_data, None, None, 't2f', t2f_data)
File "..\tests\graphics\IMMEDIATE_INDEXED.py", line 41, in generic_test
self.check(get_ordered_data(v_data, n_v), vertices, n_v)
File "..\tests\graphics\IMMEDIATE_INDEXED.py", line 25, in check
(e, r))
AssertionError: Feedback array is in error: 0.3088235294117647,
0.88232421875

ERROR Failure in graphics.IMMEDIATE_INDEXED
ERROR Traceback (most recent call last):
File "..\tests\graphics\IMMEDIATE_INDEXED.py", line 51, in test_v3f
self.generic_test('v3f', v3f_data)
File "..\tests\graphics\IMMEDIATE_INDEXED.py", line 41, in generic_test
self.check(get_ordered_data(v_data, n_v), vertices, n_v)
File "..\tests\graphics\IMMEDIATE_INDEXED.py", line 25, in check
(e, r))
AssertionError: Feedback array is in error: 0.3088235294117647,
0.88232421875

ERROR Failure in graphics.IMMEDIATE_INDEXED
ERROR Traceback (most recent call last):
File "..\tests\graphics\IMMEDIATE_INDEXED.py", line 60, in test_v3f_c3f
self.generic_test('v3f', v3f_data, 'c3f', c3f_data)
File "..\tests\graphics\IMMEDIATE_INDEXED.py", line 41, in generic_test
self.check(get_ordered_data(v_data, n_v), vertices, n_v)
File "..\tests\graphics\IMMEDIATE_INDEXED.py", line 25, in check
(e, r))
AssertionError: Feedback array is in error: 0.3088235294117647,
0.88232421875

ERROR Failure in graphics.IMMEDIATE_INDEXED
ERROR Traceback (most recent call last):
File "..\tests\graphics\IMMEDIATE_INDEXED.py", line 69, in
test_v3f_c3f_t2f
self.generic_test('v3f', v3f_data, 'c3f', c3f_data, 't2f', t2f_data)
File "..\tests\graphics\IMMEDIATE_INDEXED.py", line 41, in generic_test
self.check(get_ordered_data(v_data, n_v), vertices, n_v)
File "..\tests\graphics\IMMEDIATE_INDEXED.py", line 25, in check
(e, r))
AssertionError: Feedback array is in error: 0.3088235294117647,
0.88232421875

ERROR Failure in graphics.IMMEDIATE_INDEXED
ERROR Traceback (most recent call last):
File "..\tests\graphics\IMMEDIATE_INDEXED.py", line 72, in
test_v3f_c3f_t3f
self.generic_test('v3f', v3f_data, 'c3f', c3f_data, 't3f', t3f_data)
File "..\tests\graphics\IMMEDIATE_INDEXED.py", line 41, in generic_test
self.check(get_ordered_data(v_data, n_v), vertices, n_v)
File "..\tests\graphics\IMMEDIATE_INDEXED.py", line 25, in check
(e, r))
AssertionError: Feedback array is in error: 0.3088235294117647,
0.88232421875

ERROR Failure in graphics.IMMEDIATE_INDEXED
ERROR Traceback (most recent call last):
File "..\tests\graphics\IMMEDIATE_INDEXED.py", line 63, in test_v3f_c4f
self.generic_test('v3f', v3f_data, 'c4f', c4f_data)
File "..\tests\graphics\IMMEDIATE_INDEXED.py", line 41, in generic_test
self.check(get_ordered_data(v_data, n_v), vertices, n_v)
File "..\tests\graphics\IMMEDIATE_INDEXED.py", line 25, in check
(e, r))
AssertionError: Feedback array is in error: 0.3088235294117647,
0.88232421875

ERROR Failure in graphics.IMMEDIATE_INDEXED
ERROR Traceback (most recent call last):
File "..\tests\graphics\IMMEDIATE_INDEXED.py", line 75, in
test_v3f_c4f_t4f
self.generic_test('v3f', v3f_data, 'c4f', c4f_data, 't4f', t4f_data)
File "..\tests\graphics\IMMEDIATE_INDEXED.py", line 41, in generic_test
self.check(get_ordered_data(v_data, n_v), vertices, n_v)
File "..\tests\graphics\IMMEDIATE_INDEXED.py", line 25, in check
(e, r))
AssertionError: Feedback array is in error: 0.3088235294117647,
0.88232421875

INFO 10 tests run
INFO Testing graphics.RETAINED.
INFO Begin unit tests for graphics.RETAINED
ERROR Failure in graphics.RETAINED
ERROR Traceback (most recent call last):
File "..\tests\graphics\RETAINED.py", line 43, in test_v2f
self.generic_test('v2f', v2f_data)
File "..\tests\graphics\RETAINED.py", line 36, in generic_test
self.check(v_data, vertices, n_v)
File "..\tests\graphics\RETAINED.py", line 20, in check
(e, r))
AssertionError: Feedback array is in error: 0.0, 0.0439453125

ERROR Failure in graphics.RETAINED
ERROR Traceback (most recent call last):
File "..\tests\graphics\RETAINED.py", line 49, in test_v2f_c3f
self.generic_test('v2f', v2f_data, 'c3f', c3f_data)
File "..\tests\graphics\RETAINED.py", line 36, in generic_test
self.check(v_data, vertices, n_v)
File "..\tests\graphics\RETAINED.py", line 20, in check
(e, r))
AssertionError: Feedback array is in error: 0.0, 0.0439453125

ERROR Failure in graphics.RETAINED
ERROR Traceback (most recent call last):
File "..\tests\graphics\RETAINED.py", line 52, in test_v2f_c4f
self.generic_test('v2f', v2f_data, 'c4f', c4f_data)
File "..\tests\graphics\RETAINED.py", line 36, in generic_test
self.check(v_data, vertices, n_v)
File "..\tests\graphics\RETAINED.py", line 20, in check
(e, r))
AssertionError: Feedback array is in error: 0.0, 0.0439453125

ERROR Failure in graphics.RETAINED
ERROR Traceback (most recent call last):
File "..\tests\graphics\RETAINED.py", line 61, in test_v2f_t2f
self.generic_test('v2f', v2f_data, None, None, 't2f', t2f_data)
File "..\tests\graphics\RETAINED.py", line 36, in generic_test
self.check(v_data, vertices, n_v)
File "..\tests\graphics\RETAINED.py", line 20, in check
(e, r))
AssertionError: Feedback array is in error: 0.0, 0.0439453125

ERROR Failure in graphics.RETAINED
ERROR Traceback (most recent call last):
File "..\tests\graphics\RETAINED.py", line 46, in test_v3f
self.generic_test('v3f', v3f_data)
File "..\tests\graphics\RETAINED.py", line 36, in generic_test
self.check(v_data, vertices, n_v)
File "..\tests\graphics\RETAINED.py", line 20, in check
(e, r))
AssertionError: Feedback array is in error: 0.0, 0.0439453125

ERROR Failure in graphics.RETAINED
ERROR Traceback (most recent call last):
File "..\tests\graphics\RETAINED.py", line 55, in test_v3f_c3f
self.generic_test('v3f', v3f_data, 'c3f', c3f_data)
File "..\tests\graphics\RETAINED.py", line 36, in generic_test
self.check(v_data, vertices, n_v)
File "..\tests\graphics\RETAINED.py", line 20, in check
(e, r))
AssertionError: Feedback array is in error: 0.0, 0.0439453125

ERROR Failure in graphics.RETAINED
ERROR Traceback (most recent call last):
File "..\tests\graphics\RETAINED.py", line 64, in test_v3f_c3f_t2f
self.generic_test('v3f', v3f_data, 'c3f', c3f_data, 't2f', t2f_data)
File "..\tests\graphics\RETAINED.py", line 36, in generic_test
self.check(v_data, vertices, n_v)
File "..\tests\graphics\RETAINED.py", line 20, in check
(e, r))
AssertionError: Feedback array is in error: 0.0, 0.0439453125

ERROR Failure in graphics.RETAINED
ERROR Traceback (most recent call last):
File "..\tests\graphics\RETAINED.py", line 67, in test_v3f_c3f_t3f
self.generic_test('v3f', v3f_data, 'c3f', c3f_data, 't3f', t3f_data)
File "..\tests\graphics\RETAINED.py", line 36, in generic_test
self.check(v_data, vertices, n_v)
File "..\tests\graphics\RETAINED.py", line 20, in check
(e, r))
AssertionError: Feedback array is in error: 0.0, 0.0439453125

ERROR Failure in graphics.RETAINED
ERROR Traceback (most recent call last):
File "..\tests\graphics\RETAINED.py", line 58, in test_v3f_c4f
self.generic_test('v3f', v3f_data, 'c4f', c4f_data)
File "..\tests\graphics\RETAINED.py", line 36, in generic_test
self.check(v_data, vertices, n_v)
File "..\tests\graphics\RETAINED.py", line 20, in check
(e, r))
AssertionError: Feedback array is in error: 0.0, 0.0439453125

ERROR Failure in graphics.RETAINED
ERROR Traceback (most recent call last):
File "..\tests\graphics\RETAINED.py", line 70, in test_v3f_c4f_t4f
self.generic_test('v3f', v3f_data, 'c4f', c4f_data, 't4f', t4f_data)
File "..\tests\graphics\RETAINED.py", line 36, in generic_test
self.check(v_data, vertices, n_v)
File "..\tests\graphics\RETAINED.py", line 20, in check
(e, r))
AssertionError: Feedback array is in error: 0.0, 0.0439453125

INFO 10 tests run
INFO Testing graphics.RETAINED_INDEXED.
INFO Begin unit tests for graphics.RETAINED_INDEXED
ERROR Failure in graphics.RETAINED_INDEXED
ERROR Traceback (most recent call last):
File "..\tests\graphics\RETAINED_INDEXED.py", line 49, in test_v2f
self.generic_test('v2f', v2f_data)
File "..\tests\graphics\RETAINED_INDEXED.py", line 42, in generic_test
self.check(get_ordered_data(v_data, n_v), vertices, n_v)
File "..\tests\graphics\RETAINED_INDEXED.py", line 25, in check
(e, r))
AssertionError: Feedback array is in error: 0.3088235294117647,
0.88232421875

ERROR Failure in graphics.RETAINED_INDEXED
ERROR Traceback (most recent call last):
File "..\tests\graphics\RETAINED_INDEXED.py", line 55, in test_v2f_c3f
self.generic_test('v2f', v2f_data, 'c3f', c3f_data)
File "..\tests\graphics\RETAINED_INDEXED.py", line 42, in generic_test
self.check(get_ordered_data(v_data, n_v), vertices, n_v)
File "..\tests\graphics\RETAINED_INDEXED.py", line 25, in check
(e, r))
AssertionError: Feedback array is in error: 0.3088235294117647,
0.88232421875

ERROR Failure in graphics.RETAINED_INDEXED
ERROR Traceback (most recent call last):
File "..\tests\graphics\RETAINED_INDEXED.py", line 58, in test_v2f_c4f
self.generic_test('v2f', v2f_data, 'c4f', c4f_data)
File "..\tests\graphics\RETAINED_INDEXED.py", line 42, in generic_test
self.check(get_ordered_data(v_data, n_v), vertices, n_v)
File "..\tests\graphics\RETAINED_INDEXED.py", line 25, in check
(e, r))
AssertionError: Feedback array is in error: 0.3088235294117647,
0.88232421875

ERROR Failure in graphics.RETAINED_INDEXED
ERROR Traceback (most recent call last):
File "..\tests\graphics\RETAINED_INDEXED.py", line 67, in test_v2f_t2f
self.generic_test('v2f', v2f_data, None, None, 't2f', t2f_data)
File "..\tests\graphics\RETAINED_INDEXED.py", line 42, in generic_test
self.check(get_ordered_data(v_data, n_v), vertices, n_v)
File "..\tests\graphics\RETAINED_INDEXED.py", line 25, in check
(e, r))
AssertionError: Feedback array is in error: 0.3088235294117647,
0.88232421875

ERROR Failure in graphics.RETAINED_INDEXED
ERROR Traceback (most recent call last):
File "..\tests\graphics\RETAINED_INDEXED.py", line 52, in test_v3f
self.generic_test('v3f', v3f_data)
File "..\tests\graphics\RETAINED_INDEXED.py", line 42, in generic_test
self.check(get_ordered_data(v_data, n_v), vertices, n_v)
File "..\tests\graphics\RETAINED_INDEXED.py", line 25, in check
(e, r))
AssertionError: Feedback array is in error: 0.3088235294117647,
0.88232421875

ERROR Failure in graphics.RETAINED_INDEXED
ERROR Traceback (most recent call last):
File "..\tests\graphics\RETAINED_INDEXED.py", line 61, in test_v3f_c3f
self.generic_test('v3f', v3f_data, 'c3f', c3f_data)
File "..\tests\graphics\RETAINED_INDEXED.py", line 42, in generic_test
self.check(get_ordered_data(v_data, n_v), vertices, n_v)
File "..\tests\graphics\RETAINED_INDEXED.py", line 25, in check
(e, r))
AssertionError: Feedback array is in error: 0.3088235294117647,
0.88232421875

ERROR Failure in graphics.RETAINED_INDEXED
ERROR Traceback (most recent call last):
File "..\tests\graphics\RETAINED_INDEXED.py", line 70, in
test_v3f_c3f_t2f
self.generic_test('v3f', v3f_data, 'c3f', c3f_data, 't2f', t2f_data)
File "..\tests\graphics\RETAINED_INDEXED.py", line 42, in generic_test
self.check(get_ordered_data(v_data, n_v), vertices, n_v)
File "..\tests\graphics\RETAINED_INDEXED.py", line 25, in check
(e, r))
AssertionError: Feedback array is in error: 0.3088235294117647,
0.88232421875

ERROR Failure in graphics.RETAINED_INDEXED
ERROR Traceback (most recent call last):
File "..\tests\graphics\RETAINED_INDEXED.py", line 73, in
test_v3f_c3f_t3f
self.generic_test('v3f', v3f_data, 'c3f', c3f_data, 't3f', t3f_data)
File "..\tests\graphics\RETAINED_INDEXED.py", line 42, in generic_test
self.check(get_ordered_data(v_data, n_v), vertices, n_v)
File "..\tests\graphics\RETAINED_INDEXED.py", line 25, in check
(e, r))
AssertionError: Feedback array is in error: 0.3088235294117647,
0.88232421875

ERROR Failure in graphics.RETAINED_INDEXED
ERROR Traceback (most recent call last):
File "..\tests\graphics\RETAINED_INDEXED.py", line 64, in test_v3f_c4f
self.generic_test('v3f', v3f_data, 'c4f', c4f_data)
File "..\tests\graphics\RETAINED_INDEXED.py", line 42, in generic_test
self.check(get_ordered_data(v_data, n_v), vertices, n_v)
File "..\tests\graphics\RETAINED_INDEXED.py", line 25, in check
(e, r))
AssertionError: Feedback array is in error: 0.3088235294117647,
0.88232421875

ERROR Failure in graphics.RETAINED_INDEXED
ERROR Traceback (most recent call last):
File "..\tests\graphics\RETAINED_INDEXED.py", line 76, in
test_v3f_c4f_t4f
self.generic_test('v3f', v3f_data, 'c4f', c4f_data, 't4f', t4f_data)
File "..\tests\graphics\RETAINED_INDEXED.py", line 42, in generic_test
self.check(get_ordered_data(v_data, n_v), vertices, n_v)
File "..\tests\graphics\RETAINED_INDEXED.py", line 25, in check
(e, r))
AssertionError: Feedback array is in error: 0.3088235294117647,
0.88232421875

INFO 10 tests run
INFO Testing graphics.MULTITEXTURE.
INFO Begin unit tests for graphics.MULTITEXTURE
INFO 1 tests run
INFO Testing window.WINDOW_OPEN.
INFO Begin unit tests for window.WINDOW_OPEN
INFO 1 tests run
INFO User marked pass for window.WINDOW_OPEN
INFO Testing window.MULTIPLE_WINDOW_OPEN.
INFO Begin unit tests for window.MULTIPLE_WINDOW_OPEN
INFO 1 tests run
INFO User marked pass for window.MULTIPLE_WINDOW_OPEN
INFO Testing window.CONTEXT_SHARE.
INFO Begin unit tests for window.CONTEXT_SHARE
INFO 3 tests run
INFO Testing window.WINDOW_SET_VSYNC.
INFO Begin unit tests for window.WINDOW_SET_VSYNC
INFO 1 tests run
INFO User marked pass for window.WINDOW_SET_VSYNC
INFO Testing window.WINDOW_MULTISAMPLE.
INFO Begin unit tests for window.WINDOW_MULTISAMPLE
INFO 1 tests run
ERROR User marked fail for window.WINDOW_MULTISAMPLE
ERROR Failed samples=6
INFO Testing window.WINDOW_STYLE_DIALOG.
INFO Begin unit tests for window.WINDOW_STYLE_DIALOG
INFO 1 tests run
INFO User marked pass for window.WINDOW_STYLE_DIALOG
INFO Testing window.WINDOW_STYLE_TOOL.
INFO Begin unit tests for window.WINDOW_STYLE_TOOL
INFO 1 tests run
INFO User marked pass for window.WINDOW_STYLE_TOOL
INFO Testing window.WINDOW_STYLE_BORDERLESS.
INFO Begin unit tests for window.WINDOW_STYLE_BORDERLESS
INFO 1 tests run
ERROR User marked fail for window.WINDOW_STYLE_BORDERLESS
ERROR Window shows but AttributError Win32Window._view_hwnd
INFO Testing window.WINDOW_CAPTION.
INFO Begin unit tests for window.WINDOW_CAPTION
INFO 1 tests run
INFO User marked pass for window.WINDOW_CAPTION
INFO Testing window.WINDOW_SET_ICON.
INFO Begin unit tests for window.WINDOW_SET_ICON
INFO 1 tests run
INFO User marked pass for window.WINDOW_SET_ICON
INFO Testing window.WINDOW_RESIZABLE.
INFO Begin unit tests for window.WINDOW_RESIZABLE
INFO 1 tests run
INFO User marked pass for window.WINDOW_RESIZABLE
INFO Testing window.WINDOW_SET_SIZE.
INFO Begin unit tests for window.WINDOW_SET_SIZE
INFO 1 tests run
INFO User marked pass for window.WINDOW_SET_SIZE
INFO Testing window.WINDOW_FIXED_SET_SIZE.
INFO Begin unit tests for window.WINDOW_FIXED_SET_SIZE
INFO 1 tests run
INFO User marked pass for window.WINDOW_FIXED_SET_SIZE
INFO Testing window.WINDOW_SET_MIN_MAX_SIZE.
INFO Begin unit tests for window.WINDOW_SET_MIN_MAX_SIZE
INFO 1 tests run
INFO User marked pass for window.WINDOW_SET_MIN_MAX_SIZE
INFO Testing window.WINDOW_SET_LOCATION.
INFO Begin unit tests for window.WINDOW_SET_LOCATION
INFO 1 tests run
INFO User marked pass for window.WINDOW_SET_LOCATION
INFO Testing window.WINDOW_ACTIVATE.
INFO Begin unit tests for window.WINDOW_ACTIVATE
INFO 1 tests run
INFO User marked pass for window.WINDOW_ACTIVATE
INFO Testing window.WINDOW_SET_VISIBLE.
INFO Begin unit tests for window.WINDOW_SET_VISIBLE
INFO 1 tests run
INFO User marked pass for window.WINDOW_SET_VISIBLE
INFO Testing window.WINDOW_MINIMIZE_MAXIMIZE.
INFO Begin unit tests for window.WINDOW_MINIMIZE_MAXIMIZE
INFO 1 tests run
INFO User marked pass for window.WINDOW_MINIMIZE_MAXIMIZE
INFO Testing window.WINDOW_SET_EXCLUSIVE_MOUSE.
INFO Begin unit tests for window.WINDOW_SET_EXCLUSIVE_MOUSE
INFO 1 tests run
INFO User marked pass for window.WINDOW_SET_EXCLUSIVE_MOUSE
INFO Testing window.WINDOW_SET_MOUSE_VISIBLE.
INFO Begin unit tests for window.WINDOW_SET_MOUSE_VISIBLE
INFO 1 tests run
INFO User marked pass for window.WINDOW_SET_MOUSE_VISIBLE
INFO Testing window.WINDOW_SET_MOUSE_CURSOR.
INFO Begin unit tests for window.WINDOW_SET_MOUSE_CURSOR
ERROR Error in window.WINDOW_SET_MOUSE_CURSOR
ERROR Traceback (most recent call last):
File "..\tests\window\WINDOW_SET_MOUSE_CURSOR.py", line 30, in
test_set_mouse_cursor
self.w = w = window.Window(self.width, self.height)
File "..\pyglet\window\win32\__init__.py", line 131, in __init__
super(Win32Window, self).__init__(*args, **kwargs)
File "..\pyglet\window\__init__.py", line 559, in __init__
self._create()
File "..\pyglet\window\win32\__init__.py", line 261, in _create
self.context.attach(self.canvas)
File "..\pyglet\gl\win32.py", line 263, in attach
super(Win32ARBContext, self).attach(canvas)
File "..\pyglet\gl\win32.py", line 208, in attach
raise gl.ContextException('Unable to share contexts')
ContextException: Unable to share contexts

INFO 1 tests run
INFO Testing window.WINDOW_SET_MOUSE_SYSTEM_CURSOR.
INFO Begin unit tests for window.WINDOW_SET_MOUSE_SYSTEM_CURSOR
ERROR Error in window.WINDOW_SET_MOUSE_SYSTEM_CURSOR
ERROR Traceback (most recent call last):
File "..\tests\window\WINDOW_SET_MOUSE_SYSTEM_CURSOR.py", line 68, in
test_set_visible
w.dispatch_events()
File "..\pyglet\window\win32\__init__.py", line 597, in dispatch_events
_user32.DispatchMessageW(byref(msg))
WindowsError: exception: access violation writing 0xA6FCE8D4

INFO 1 tests run
INFO Testing window.WINDOW_SET_EXCLUSIVE_KEYBOARD.

Phillip Nguyen

unread,
Jun 18, 2012, 1:52:53 PM6/18/12
to pyglet...@googlegroups.com
I'm still using Snow Leopard and can't test on Lion directly.  Could you post or email me more detailed info?  logs?  Do other non-test suite scripts (such as the stuff in the examples directory) also crash on Lion?

--phillip 

Martin Di Paola

unread,
Jun 18, 2012, 6:27:08 PM6/18/12
to pyglet-users
Hello,

In my case, this is a summary of my tests:

Capabilities are: GENERIC, X11
Platform = linux2 32 bits
Pyglet Version = 1.2dev
SO: Ubuntu 12.04
GDM: Gnome Shell (Gnome 3)

Executing "python test.py top app graphics clock resource"
The results are:

ERROR Failure in app.EVENT_LOOP
ERROR Traceback (most recent call last):
File "../tests/app/EVENT_LOOP.py", line 72, in test_d02_50
self.t_scheduled(.02, 50)
File "../tests/app/EVENT_LOOP.py", line 48, in t_scheduled
pyglet.app.run()
File "../pyglet/app/__init__.py", line 123, in run
event_loop.run()
File "../pyglet/app/base.py", line 135, in run
self._run_estimated()
File "../pyglet/app/base.py", line 164, in _run_estimated
timeout = self.idle()
File "../pyglet/app/base.py", line 273, in idle
redraw_all = self.clock.call_scheduled_functions(dt)
File "../pyglet/clock.py", line 309, in call_scheduled_functions
item.func(ts - item.last_ts, *item.args, **item.kwargs)
File "../tests/app/EVENT_LOOP.py", line 37, in f
self.assertAlmostEqual(dt, interval, places=2)
AssertionError: 0.03116893768310547 != 0.02 within 2 places


Executing "python test.py font text"
The results are:

ERROR Failure in font.WRAP_INVARIANT
ERROR Traceback (most recent call last):
File "../tests/font/base_text.py", line 47, in test_main
self.render()
File "../tests/font/WRAP_INVARIANT.py", line 25, in render
self.label2 = font.Text(fnt, 'SPAM SPAM\nSPAM', 10, 50)
File "../pyglet/font/__init__.py", line 347, in __init__
group=self._group)
File "../pyglet/text/layout.py", line 779, in __init__
assert not multiline or width, 'Must specify width with multiline'
AssertionError: Must specify width with multiline

INFO Begin unit tests for text.PLAIN
ERROR The test is blocked. After a INT signal (Ctrl-C), this is the
traceback

Traceback (most recent call last):
File "test.py", line 545, in <module>
main()
File "test.py", line 539, in main
component.test(options)
File "test.py", line 300, in test
child.test(options)
File "test.py", line 249, in test
suite(result)
File "/usr/lib/python2.7/unittest/suite.py", line 70, in __call__
return self.run(*args, **kwds)
File "/usr/lib/python2.7/unittest/suite.py", line 108, in run
test(result)
File "/usr/lib/python2.7/unittest/suite.py", line 70, in __call__
return self.run(*args, **kwds)
File "/usr/lib/python2.7/unittest/suite.py", line 108, in run
test(result)
File "/usr/lib/python2.7/unittest/case.py", line 391, in __call__
return self.run(*args, **kwds)
File "/usr/lib/python2.7/unittest/case.py", line 327, in run
testMethod()
File "../tests/text/PLAIN.py", line 81, in test
app.run()
File "../pyglet/app/__init__.py", line 123, in run
event_loop.run()
File "../pyglet/app/base.py", line 135, in run
self._run_estimated()
File "../pyglet/app/base.py", line 174, in _run_estimated
if not platform_event_loop.step(estimate) and estimate != 0.0 and
\
File "../pyglet/app/xlib.py", line 116, in step
pending_devices, _, _ = select.select(iwtd, (), (), timeout)
KeyboardInterrupt


Executing "python test.py image"
The results are:
ERROR Error in image.DDS_RGB_DXT1_LOAD

Note: Similar errors in DDS_RGBA_DXT1_LOAD, DDS_RGBA_DXT3_LOAD and
DDS_RGBA_DXT5_LOAD tests.

ERROR Traceback (most recent call last):
File "../tests/image/base_load.py", line 77, in test_load
self.texture = self.image.texture
File "../pyglet/image/__init__.py", line 371, in <lambda>
texture = property(lambda self: self.get_texture(),
File "../pyglet/image/__init__.py", line 1287, in get_texture
texture = image.get_texture()
File "../pyglet/image/__init__.py", line 369, in get_texture
raise ImageException('Cannot retrieve texture for %r' % self)
ImageException: Cannot retrieve texture for <PackedImageData 256x256>


Executing "python test.py window"
The results are:
ERROR User marked fail for window.WINDOW_ACTIVATE
ERROR The window is activated but is not brought in front of other
windows.
ERROR User marked fail for window.WINDOW_SET_EXCLUSIVE_MOUSE
ERROR The test is successful, however, if the window is in exclusive
mode and then switch to another window with Alt-Tab, and again returns
to the original window, the exclusive mode does not work properly. In
particular, if you move the mouse outside the boundaries of the
window, the mouse becomes visible and is no longer registered by
Pyglet. Reactivating the exclusive mode, returns everything to normal.
ERROR User marked fail for window.MULTIPLE_SCREEN
ERROR Only the red screen is showed.
ERROR User marked fail for window.MODE_SWITCH
ERROR The screen resolution is changed but at no time returns to the
original resolution. (Requires restart the X server to restore the
resolution).
ERROR Error in window.WINDOW_FULLSCREEN_SIZE
ERROR Traceback (most recent call last):
File "../tests/window/WINDOW_FULLSCREEN_SIZE.py", line 77, in
test_set_fullscreen
w.dispatch_events()
File "../pyglet/window/xlib/__init__.py", line 830, in
dispatch_events
self.dispatch_platform_event_view(e)
File "../pyglet/window/xlib/__init__.py", line 866, in
dispatch_platform_event_view
event_handler(e)
File "../pyglet/window/xlib/__init__.py", line 1030, in
_event_key_view
self.dispatch_event('on_key_press', symbol, modifiers)
File "../pyglet/window/__init__.py", line 1151, in dispatch_event
if EventDispatcher.dispatch_event(self, *args) != False:
File "../pyglet/event.py", line 355, in dispatch_event
if handler(*args):
File "../tests/window/WINDOW_FULLSCREEN_SIZE.py", line 62, in
on_key_press
self.w.set_fullscreen(fullscreen, width=width, height=height)
File "../pyglet/window/__init__.py", line 660, in set_fullscreen
mode, width, height)
File "../pyglet/window/__init__.py", line 698, in
_set_fullscreen_mode
'No mode matching %dx%d' % (width, height))
NoSuchScreenModeException: No mode matching 1024x768
INFO Testing window.EVENT_KEY.
ERROR After the swich, the window is blocked. The Alt-Tab works, and
other window works too. But the Pyglet window does not change the
resolution anymore and pressing ESC does not close the window. A KILL
signal is required to close it and the X server must be reinitialized
to restore the original resolution.
ERROR User marked fail for window.EVENT_RESIZE
ERROR The window is resized and dimensions shown on the console are
correct. However, the green rectangle is not always surrounds the
boundaries of the window. This happens in all tests that require
resize using the mouse.

Executing "python test.py media"
The results are:

All the test fail with the same error.

ERROR Traceback (most recent call last):
File "../tests/media/PLAYER_QUEUE_PLAY.py", line 24, in test_method
player.dispatch_events()
AttributeError: 'Player' object has no attribute 'dispatch_events'


I think that this is related with the commit:
changeset: 951:7926504281b5
user: Alex.Holkner

and should be easy to fix (i will see if i can fix it).

Bye!

Petr Viktorin

unread,
Jun 19, 2012, 5:15:46 PM6/19/12
to pyglet...@googlegroups.com
Hi,
I've tested on 64-bit Linux, Python 2.7, on crappy integrated
graphics. I got two segfaults; after each one I edited the test plan
to continue with the rest of the suite.


On Mon, Jun 18, 2012 at 2:39 PM, Richard Jones <r1char...@gmail.com> wrote:
> --
> You received this message because you are subscribed to the Google Groups "pyglet-users" group.
> To post to this group, send email to pyglet...@googlegroups.com.
> To unsubscribe from this group, send email to pyglet-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en.
>
al_info
gl_info
pyglet.1.log
pyglet.2.log
pyglet.3.log
pyglet.4.log
Reply all
Reply to author
Forward
0 new messages