Re: [PyOpenGL-Users] py2exe stuff
Brought to you by:
mcfletch
From: Mike C. F. <mcf...@vr...> - 2009-03-22 05:32:00
|
. wrote: > Well, I got past the 'win32' ImportError by adding > 'OpenGL.platform.win32' into the includes section of my custom py2exe > setup.py... > > But now I'm getting the following: > > TypeError: ("No array-type handler for type <type 'str'> (value: > '\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\) > registered", <OpenGL.GL.images.ImageInputConverter object at 0x00978CB0>) > > I read somewhere from Mike Fletcher that this has to do with the fact > PyOpenGL wasn't installed with setuptools but this is a py2exe setup here. > > How should I proceed? Thanks! That's weird. There's no need for setuptools any more. The str handler is registered in the __init__ of OpenGL, so it should always be available. Are you sure you're using the c1 release (or bzr head)? Any chance there's an old copy of PyOpenGL in your py2exe build directory, or one on your pythonpath that's getting picked up before the c1 release? Good luck, Mike -- ________________________________________________ Mike C. Fletcher Designer, VR Plumber, Coder http://www.vrplumber.com http://blog.vrplumber.com |