Re: [PyOpenGL-Users] Any OS-X users able to do some testing with bzr head?
Brought to you by:
mcfletch
|
From: Mike C. F. <mcf...@vr...> - 2014-01-02 20:51:43
|
On 14-01-02 04:19 AM, Nicolas Rougier wrote:
> 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
Hi Nicolas, wondering if you could do a tiny bit of follow up for me
(you will need to pull bzr head again with `bzr pull` in pyopengl, as
there were some bug-fixes from my attempts to recreate these errors):
> ======================================================================
> 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'
This is just *weird*, the code (a class-method named from_object) is
definitely there in the _buffers module in bzr. Could you do the following:
from OpenGL.arrays import _buffers
print dir( _buffers.Py_buffer )
and send me the output?
> ======================================================================
> 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>)
For the other two errors, could you re-run the test-suite, as I've added
code to report the module and name rather than the repr of the type
(it's module+name used to lookup the type).
Thanks,
Mike
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
--
________________________________________________
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
|