473,326 Members | 2,136 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

OpenGLContext problems

Greetings all,

New to graphics programming, and new to Python, but PyOpenGL looked like a
good way to get my feet wet.

Installed Python 2.2.3 on my XP machine, then installed PyOpenGL and
OpenGLContext (with all the dependencies listed on
http://pyopengl.sourceforge.net/docu...allation.html), have been
playing
with the sample scripts in the 'tests' directory and the NeHe Tutorial
Translations,
but every time I try to run any of the scripts, I run into a page of
warnings:

-----
Warning: redefining field-type MFVec4f from <class
'vrml.fieldtypes.MFVec4fEvt'> to <class
'OpenGLContext.vrml.fieldtypes.MFVec4fEvt'>
-----

and the traceback:
-----
Traceback (most recent call last):
File "nehe6.py", line 144, in ?
MainFunction ( TestContext)
File "C:\Python23\Lib\site-packages\OpenGLContext\gluttestingcontext.py",
line
18, in main
render = TestContext()
File "C:\Python23\Lib\site-packages\OpenGLContext\glutcontext.py", line
26, in
__init__
Context.__init__ (self)
File "C:\Python23\Lib\site-packages\OpenGLContext\context.py", line 155,
in __
init__
self.setupFrameRateCounter()
File "C:\Python23\Lib\site-packages\OpenGLContext\context.py", line 245,
in se
tupFrameRateCounter
from OpenGLContext import framecounter
File "C:\Python23\Lib\site-packages\OpenGLContext\framecounter.py", line
4, in
?
class FrameCounter( node.Node ):
File "C:\Python23\Lib\site-packages\OpenGLContext\framecounter.py", line
11, i
n FrameCounter
count = field.newField( 'count', 'SFInt32', 1, 0)
File "C:\Python23\lib\site-packages\OpenGLContext\vrml\field.py", line 47,
in
newField
dataType = baseFieldTypes[dataType]
KeyError: 'SFInt32'
-----

Has anyone run into this before? Am I missing dependencies yet? I'm
loving Python so far, and I'd really like to make this work! Any help
appreciated...

thanks
Jul 18 '05 #1
0 1279

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Jerome Lefebvre | last post by:
Hello, Hope this will interest a few. I been working with a friend on the problems given out during the "International Collegiate Programming Contest" (ICPC) http://icpc.baylor.edu/icpc/ ....
1
by: Steve T | last post by:
I have been searching for a language to help with a product I am developing - last week I discovered PYOpenGL - looks really useful. I found some demos which I studied to create part of what I...
14
by: Jim Hubbard | last post by:
Are you up to speed on the difficulties in using the 1.1 .Net framework? Not if you are unaware of the 1,596 issues listed at KBAlertz (http://www.kbalertz.com/technology_3.aspx). If you are...
1
by: 3f | last post by:
Hello; We have made a web application that people can download from our web site and installed on: Windows XP Windows 2000 Professional Windows 2003 Server Windows 2000 Server
5
by: Corky | last post by:
This works: db2 SELECT DISTINCT PROBLEM_OBJECTS.PROBLEM_ID FROM PROBLEM_OBJECTS INNER JOIN PROBLEMS ON PROBLEM_OBJECTS.PROBLEM_ID = PROBLEMS.PROBLEM_ID WHERE INTEGER(DAYS(CURRENT DATE) -...
2
by: Ellen Graves | last post by:
I am having a lot of problems with DB2 8.3.1 on RH Linux AS2.1. Installing and running stored procedures is problematic. Stored procedures I have used for years on V7 on WinNT are now failing...
10
by: BBFrost | last post by:
We just recently moved one of our major c# apps from VS Net 2002 to VS Net 2003. At first things were looking ok, now problems are starting to appear. So far ... (1) ...
2
by: Brian | last post by:
NOTE ALSO POSTED IN microsoft.public.dotnet.framework.aspnet.buildingcontrols I have solved most of my Server Control Collection property issues. I wrote an HTML page that describes all of the...
0
by: Sergistm | last post by:
Hello World, :D I have a problem that it is making me crazy, I hope you can help me. I'm trying to execute a .exe file with the Procces.Start, and there is no problem when the file is on my...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.