adding note to glTexImage2D exception for non-power of 2 textures. Re: [pygame] compiled exe in pygame/pyopengl working locally but not elsewhere

2008-05-05 Thread René Dudfield
hi, It would almost even be worth it adding a note about this FAQ into the exception for glTexImage2D - or add a warning to a log somewhere perhaps? cu, [snip] > > > It gives me the following error: > > > Unhandled exception in thread started by > > > Traceback (most recent call last): > > > Fi

Re: [pygame] compiled exe in pygame/pyopengl working locally but not elsewhere

2008-05-05 Thread Astan Chee
Yes, it did work. I tried resizing the image to 512 and it worked. Thanks again for all your help Astan Chee wrote: I'll try that now. So height and width of 256 or 512 should be alright,right? Also upon further reflection, it seems that in wxglcanvas, it doesnt actually error, but the texture

Re: [pygame] compiled exe in pygame/pyopengl working locally but not elsewhere

2008-05-05 Thread Astan Chee
I'll try that now. So height and width of 256 or 512 should be alright,right? Also upon further reflection, it seems that in wxglcanvas, it doesnt actually error, but the textures arent loaded and a blank black texture is used anyway. I had a hard time seeing this because the texture image itse

Re: [pygame] compiled exe in pygame/pyopengl working locally but not elsewhere

2008-05-05 Thread Brian Fisher
the error you originally sent shows 750 as the width and height arguments to glTexImage2D on the exception- 750 is not a power of 2. Hence you were trying to use non-power of 2 textures. To make it use of power-of-2 you'd have to either put that 750 wide & high image in some bigger texture (i.e. sc

Re: [pygame] compiled exe in pygame/pyopengl working locally but not elsewhere

2008-05-05 Thread Astan Chee
Thanks for the reply. Here is where it gets wierd. I have modified the script to not use a pygame display. Instead it uses a wxglcanvas on a wx frame/notebook. Compiled using the same parameters but still use pygame to load the image. That one worked fine compiled or not in any machine. So im w

Re: [pygame] compiled exe in pygame/pyopengl working locally but not elsewhere

2008-05-05 Thread Brian Fisher
I'm 99.9% sure that error has nothing to do with Py2Exe at all. It seems the system that has the problem must not like something about the way glTexImage2D was called in that case - GL errors like you see there come from the drivers. I would guess that it is that you are using a non power-of-2 tex

Re: win9x testers wanted. Re: [pygame] C file pointers and file loading

2008-05-05 Thread Lenard Lindstrom
I am unsure what sort of bug report this would be. "Library built with MinGW causes R6034 error when loading msvcr90.dll installed by Python 2.6 installer"? I have to confirm this first. I admit the problems I had were with a test program that did not used Python. It may be that a DLL loaded by

Re: win9x testers wanted. Re: [pygame] C file pointers and file loading

2008-05-05 Thread René Dudfield
I think if you submit a bug report it might get a little more attention. On Tue, May 6, 2008 at 1:52 PM, Lenard Lindstrom <[EMAIL PROTECTED]> wrote: > I am waiting for a reply on comp.lang.python as to what manifest is needed > so SDL can use msvcr90.dll. How long until Pygame can be ported to Py

Re: win9x testers wanted. Re: [pygame] C file pointers and file loading

2008-05-05 Thread Lenard Lindstrom
I am waiting for a reply on comp.lang.python as to what manifest is needed so SDL can use msvcr90.dll. How long until Pygame can be ported to Python 2.6 on Windows depends on whether or not such a thing exists. Lenard René Dudfield wrote: Hi, Just a note for those following this thread... t

[pygame] compiled exe in pygame/pyopengl working locally but not elsewhere

2008-05-05 Thread Astan Chee
Hi, I have a python script that uses wx, pygame and pyopengl. I've combined wx and pygame similar to http://wiki.wxpython.org/IntegratingPyGame (in windows) and the pygame has a separate thread. The pygame part of it uses pyopengl for a display window and to load images. When I create a .exe f

Re: win9x testers wanted. Re: [pygame] C file pointers and file loading

2008-05-05 Thread René Dudfield
Hi, Just a note for those following this thread... the python developers have decided to drop support for win9x, winme, winnt, and win2k(except they say it should still work win2k with the latest service pack applied) for python 2.6. Which means that pygame with CPython 2.6 won't be able to suppo

Re: [pygame] Diffefrences between sprite.Group and sprite.RenderUpdates (and Group.draw question)

2008-05-05 Thread DR0ID
Hi well LayeredUpdates is in in pygame1.8 now (as well as LayeredDirty and the DirtySprite) , but unfortunately the docs are missing (if you look in the sprites.py there they are). Any suggestions are welcome. ~DR0ID René Dudfield schrieb: Just a note, the LayeredUpdates from pygame was ar

Re: [pygame] seg fault question with numpy and pygame and py2exe

2008-05-05 Thread Gary Bishop
Do you have the latest py2exe from svn? I had problems until I downloaded and built it myself. Then it worked great. Apparently some changes have been made in the repository that haven't been released. gb andy uehara wrote: Hello all, I have read that there is an issue with Exception in _num