Thread: [PyOpenGL-Users] no GLASS.BMP, OpenGLContext/tests/boxobject.py
Brought to you by:
mcfletch
From: Craig H . A. <cr...@ho...> - 2001-11-21 10:20:24
|
no GLASS.BMP, OpenGLContext/tests/boxobject.py I'm new to Python,PyOpenGL and OpenGLContext. Here is my first try at an OpenGLContext test. Where is GLASS.BMP? python /usr/lib/python2.1/site-packages/OpenGLContext/tests/boxobject.py Traceback (most recent call last): File "/usr/lib/python2.1/site-packages/OpenGLContext/tests/boxobject.py", line 28, in ? MainFunction ( TestContext) File "/usr/lib/python2.1/site-packages/OpenGLContext/gluttestingcontext.py", line 13, in main render = TestContext() File "/usr/lib/python2.1/site-packages/OpenGLContext/glutcontext.py", line 26, in __init__ Context.__init__ (self) File "/usr/lib/python2.1/site-packages/OpenGLContext/context.py", line 47, in __init__ self.OnInit() File "/usr/lib/python2.1/site-packages/OpenGLContext/tests/boxobject.py", line 22, in OnInit texture = imagetexture.load( "GLASS.BMP" ), File "/usr/lib/python2.1/site-packages/OpenGLContext/scenegraph/imagetexture.py", line 18, in load image = open( filename ) File "/usr/lib/python2.1/site-packages/PIL/Image.py", line 932, in open fp = __builtin__.open(fp, "rb") IOError: [Errno 2] No such file or directory: 'GLASS.BMP' -- Craig H. Anderson |
From: Craig H . A. <cr...@ho...> - 2001-11-21 10:44:23
|
I found the missing bmp. unzip -l OpenGLContext-1.0a2.zip 12342 07-01-01 03:56 OpenGLContext-1.0a2/tests/Wall.bmp 3634 08-23-01 22:56 OpenGLContext-1.0a2/tests/axis.pickle 66614 09-25-99 18:19 OpenGLContext-1.0a2/tests/crate.bmp 49220 07-02-01 02:53 OpenGLContext-1.0a2/tests/glass.bmp But I found only 2 bmp files had been installed. /usr/lib/python2.1/site-packages/OpenGL/Demo/NeHe/NeHe.bmp /usr/lib/python2.1/site-packages/OpenGL/Demo/NeHe/Wall.bmp On 2001.11.21 03:20:18 -0700 Craig H . Anderson wrote: > > > no GLASS.BMP, OpenGLContext/tests/boxobject.py > > I'm new to Python,PyOpenGL and OpenGLContext. > Here is my first try at an OpenGLContext test. > Where is GLASS.BMP? > -- Craig H. Anderson |
From: Jan E. <ch...@in...> - 2001-11-21 11:18:38
|
On Wed, 21 Nov 2001, Craig H . Anderson wrote: > >I found the missing bmp. > >unzip -l OpenGLContext-1.0a2.zip > 12342 07-01-01 03:56 OpenGLContext-1.0a2/tests/Wall.bmp > 3634 08-23-01 22:56 OpenGLContext-1.0a2/tests/axis.pickle > 66614 09-25-99 18:19 OpenGLContext-1.0a2/tests/crate.bmp > 49220 07-02-01 02:53 OpenGLContext-1.0a2/tests/glass.bmp > >But I found only 2 bmp files had been installed. I had some files in a directory directly under /usr, something like /usr/OpenGLContext or similar. I moved them to where the other files were. -- In the Beginning there was nothing, which exploded. -- Terry Pratchett, Lords and Ladies |
From: Mike C. F. <mcf...@ho...> - 2001-11-21 11:28:11
|
Hi Craig, Not sure why the files are showing up by not getting copied. I thought I'd got all the case-sensitivity thing fixed (I work on Win2K for development), but I guess not. If you just want to try things out, copy the bitmap files to the tests directory. Should be named GLASS.BMP, Wall.bmp and crate.bmp in the OpenGLContext/tests directory. Turns out that CVS with WinCVS tries to fix case-sensitivity mismatch, but their fixes mess up my attempts to change case for these files. Sigh. Will have to figure this out some day soon, maybe just go back to explicitly writing out the list of files to copy. Sorry about the poor out-of-box experience, Mike -----Original Message----- From: pyo...@li... [mailto:pyo...@li...]On Behalf Of Craig H . Anderson Sent: Wednesday, November 21, 2001 05:44 To: pyo...@li... Subject: Re: [PyOpenGL-Users] no GLASS.BMP, OpenGLContext/tests/boxobject.py I found the missing bmp. unzip -l OpenGLContext-1.0a2.zip 12342 07-01-01 03:56 OpenGLContext-1.0a2/tests/Wall.bmp 3634 08-23-01 22:56 OpenGLContext-1.0a2/tests/axis.pickle 66614 09-25-99 18:19 OpenGLContext-1.0a2/tests/crate.bmp 49220 07-02-01 02:53 OpenGLContext-1.0a2/tests/glass.bmp But I found only 2 bmp files had been installed. /usr/lib/python2.1/site-packages/OpenGL/Demo/NeHe/NeHe.bmp /usr/lib/python2.1/site-packages/OpenGL/Demo/NeHe/Wall.bmp On 2001.11.21 03:20:18 -0700 Craig H . Anderson wrote: > > > no GLASS.BMP, OpenGLContext/tests/boxobject.py > > I'm new to Python,PyOpenGL and OpenGLContext. > Here is my first try at an OpenGLContext test. > Where is GLASS.BMP? > -- Craig H. Anderson _______________________________________________ PyOpenGL Homepage http://pyopengl.sourceforge.net _______________________________________________ PyOpenGL-Users mailing list PyO...@li... https://lists.sourceforge.net/lists/listinfo/pyopengl-users |