Thread: [PyOpenGL-Users] OpenGLContext-2.0.0b2.win32-py2.3.exe problems
Brought to you by:
mcfletch
From: Daniel H. <da...@bo...> - 2004-07-15 06:11:42
|
Hi all, I'm just getting started with python and am working on a project with python and openGL (on win32 so far). I'm doing a fast sweep of different ways of managing an openGL context and have managed to get a number of different things to work. However, I've had a few troubles when trying to get OpenGLContext to work. I've only tried the recent binary package... and I'm using it with the latest available binary installs of Python, PIL, PyGame, Numarray and PyOpenGL. I also have Numeric 23.1 installed. The symptoms: - had to install PyDispatcher (not listed as a dependency) - can't find a suitable FontTools binary (and I don't have VC++ 6.0) - have installed other listed dependencies (GLUT, wxPython, win32all, MXTextTools, SimpleParse, TTFQuery) - PyOpenGL seems to work fine - wxPython's OpenGL widget seems to work fine But when I try to start any of the OpenGLContext samples I get a crash as soon as the OpenGL window appears. The MS debugger tells me: "Unhandled exception at 0x10017d74 (GL__init___.pyd) in python.exe: 0xC0000005: Access violation reading location 0x00000007." Any hints as to where I'm going wrong? Many thanks, Daniel |
From: Mike C. F. <mcf...@ro...> - 2004-07-15 14:05:39
|
Daniel Heckenberg wrote: ... >However, I've had a few troubles when trying to get OpenGLContext to work. >I've only tried the recent binary package... and I'm using it with the >latest available binary installs of Python, PIL, PyGame, Numarray and >PyOpenGL. I also have Numeric 23.1 installed. > > Everything there sounds fine. >The symptoms: >- had to install PyDispatcher (not listed as a dependency) > > I've just added it, will show up the next time I refresh the web-site. >- can't find a suitable FontTools binary (and I don't have VC++ 6.0) > > I'll look into finding someone to build a FontTools binary. IIRC it's only a tiny little pyd that's written in C to speed up the equivalent Python code. >- PyOpenGL seems to work fine > > I'm assuming you're trying the PyOpenGL demos. They don't really do all that much compared to what OpenGLContext is doing, so OpenGLContext will tend to find errors the demo doesn't (that's one of the major purposes of OpenGLContext, actually). >- wxPython's OpenGL widget seems to work fine > >But when I try to start any of the OpenGLContext samples I get a crash as >soon as the OpenGL window appears. The MS debugger tells me: >"Unhandled exception at 0x10017d74 (GL__init___.pyd) in python.exe: >0xC0000005: Access violation reading location 0x00000007." > >Any hints as to where I'm going wrong? > > Not really, that's a very generic error message. I don't really have time to track it down today, but I'll try installing on my sister's machine to see if I can duplicate the problem... probably be the weekend before I can get some time free to work on it though. If you could try running each of wxcontext.py (will likely fail due to a missing/bad bitmap), glutcontext.py, and pygamecontext.py and report which of those is producing the error it should help me narrow down where the error is. Of course, if the error is actually in PyOpenGL, then they should all fail. The error itself *looks* like a problem with PyOpenGL which OpenGLContext just happens to be triggering. Still shouldn't happen, and they're both my projects, so I'd like to track it down. Have fun, Mike ________________________________________________ Mike C. Fletcher Designer, VR Plumber, Coder http://members.rogers.com/mcfletch/ blog: http://zope.vex.net/~mcfletch/plumbing/ |
From: Daniel H. <da...@bo...> - 2004-07-15 14:58:26
|
Hi Mike, ----- Original Message ----- From: "Mike C. Fletcher" <mcf...@ro...> > If you could try > running each of wxcontext.py (will likely fail due to a missing/bad > bitmap), glutcontext.py, and pygamecontext.py and report which of those > is producing the error it should help me narrow down where the error is. > > Of course, if the error is actually in PyOpenGL, then they should all > fail. The error itself *looks* like a problem with PyOpenGL which > OpenGLContext just happens to be triggering. Still shouldn't happen, > and they're both my projects, so I'd like to track it down. wxcontext.py fails with "invalid image" glutcontext.py causes the crash i experience with the examples pygamecontext.py fails with "Pygame Parachute Traceback: File "C:\PYTHON23\Lib\site-packages\OpenGLContext\renderpass.py", line 691, in getProjection Fatal Python error: (pygame parachute) Segmentation Fault" Thanks for looking into this, Daniel |
From: Mike C. F. <mcf...@ro...> - 2004-07-17 03:30:56
|
Daniel Heckenberg wrote: >Hi Mike, > >----- Original Message ----- >From: "Mike C. Fletcher" <mcf...@ro...> > > >>If you could try >>running each of wxcontext.py (will likely fail due to a missing/bad >>bitmap), glutcontext.py, and pygamecontext.py and report which of those >>is producing the error it should help me narrow down where the error is. >> >>Of course, if the error is actually in PyOpenGL, then they should all >>fail. The error itself *looks* like a problem with PyOpenGL which >>OpenGLContext just happens to be triggering. Still shouldn't happen, >>and they're both my projects, so I'd like to track it down. >> >> I haven't been able to reproduce the error on a Win98 laptop or a Win2K workstation. The binary distribution seems to work fine on both of them. Will keep trying, Mike ________________________________________________ Mike C. Fletcher Designer, VR Plumber, Coder http://members.rogers.com/mcfletch/ blog: http://zope.vex.net/~mcfletch/plumbing/ |