Re: [PyOpenGL-Users] Any OS-X users able to do some testing with bzr head?
Brought to you by:
mcfletch
|
From: Nicolas R. <Nic...@in...> - 2014-01-02 09:19:21
|
Here is my output on OSX 10.9.1 (Mavericks) using:
Python 2.7.6 (default, Nov 23 2013, 22:18:00)
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.2.79)] on darwin
and pygame 1.9.1release
---
..EE..................OpenGL 1.2 support
......E...............
======================================================================
ERROR: test_buffer_api_basic (__main__.Tests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_core.py", line 1030, in test_buffer_api_basic
buf = _buffers.Py_buffer.from_object( object, _buffers.PyBUF_STRIDES|_buffers.PyBUF_FORMAT )
AttributeError: type object 'Py_buffer' has no attribute 'from_object'
======================================================================
ERROR: test_bytearray_support (__main__.Tests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_core.py", line 1055, in test_bytearray_support
glColor3fv( color )
File "/usr/locaL/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/OpenGL/latebind.py", line 45, in __call__
return self._finalCall( *args, **named )
File "/usr/locaL/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/OpenGL/wrapper.py", line 570, in wrapperCall
pyArgs = tuple( calculate_pyArgs( args ))
File "/usr/locaL/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/OpenGL/wrapper.py", line 355, in calculate_pyArgs
yield converter(args[index], self, args)
File "/usr/locaL/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/OpenGL/arrays/arrayhelpers.py", line 111, in asArraySize
handler = typ.getHandler( incoming )
File "/usr/locaL/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/OpenGL/arrays/arraydatatype.py", line 52, in __call__
typ, repr(value)[:50]
TypeError: ("No array-type handler for type <type 'bytearray'> (value: bytearray(b'\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x) registered", <function asArraySize at 0x10ff22398>)
======================================================================
ERROR: test_memoryview_support (__main__.Tests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_core.py", line 1059, in test_memoryview_support
glColor3fv( mem )
File "/usr/locaL/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/OpenGL/latebind.py", line 45, in __call__
return self._finalCall( *args, **named )
File "/usr/locaL/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/OpenGL/wrapper.py", line 570, in wrapperCall
pyArgs = tuple( calculate_pyArgs( args ))
File "/usr/locaL/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/OpenGL/wrapper.py", line 355, in calculate_pyArgs
yield converter(args[index], self, args)
File "/usr/locaL/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/OpenGL/arrays/arrayhelpers.py", line 111, in asArraySize
handler = typ.getHandler( incoming )
File "/usr/locaL/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/OpenGL/arrays/arraydatatype.py", line 52, in __call__
typ, repr(value)[:50]
TypeError: ("No array-type handler for type <type 'memoryview'> (value: <memory at 0x10fface90>) registered", <function asArraySize at 0x10ff22398>)
----------------------------------------------------------------------
Ran 45 tests in 15.505s
FAILED (errors=3)
xenon ~/tmp/pyopengl/tests
On 02 Jan 2014, at 08:59, Mike C. Fletcher <mcf...@vr...> wrote:
> Hi guys,
>
> I've just landed the changes from the (rather long-running)
> xml-generation branch in PyOpenGL head. The biggest billed feature there
> being that the raw hierarchy is now generated directly from the xml
> descriptions that Khronos uses to manage the specs. It also (as part of
> those changes) restructures the type declarations and some of the
> extension handling, and as a result, changes some of the platform
> mechanisms (in only very minor ways, but there are changes). There were
> also some Python 3.x fixes added during testing.
>
> I have no OS-X machine on which to test the changes, so I'm wondering if
> someone who *does* have OS-X could check out bzr-head and run
> tests/test_core.py as a smoke test.
>
> bzr branch lp:pyopengl
> cd pyopengl
> python setup.py develop
> cd OpenGL_accelerate
> python setup.py develop
> cd ../tests
> python test_core.py
>
> You can skip the accelerate module if you don't have a compiler setup handy.
>
> Much appreciated,
> Mike
>
> --
> ________________________________________________
> Mike C. Fletcher
> Designer, VR Plumber, Coder
> http://www.vrplumber.com
> http://blog.vrplumber.com
>
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> _______________________________________________
> PyOpenGL Homepage
> http://pyopengl.sourceforge.net
> _______________________________________________
> PyOpenGL-Users mailing list
> PyO...@li...
> https://lists.sourceforge.net/lists/listinfo/pyopengl-users
|