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!
On 18 jun, 09:39, Richard Jones <[email protected]> wrote:
> 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
--
You received this message because you are subscribed to the Google Groups
"pyglet-users" 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/pyglet-users?hl=en.