[visionegg] Re: error: OpenGL.ctypes
- From: ilia ivanov <iliqv@xxxxxxxxx>
- To: visionegg@xxxxxxxxxxxxx
- Date: Sat, 14 Feb 2009 13:26:25 -0800 (PST)
Hello Andrew,
Thanks for your fast reply.
I tried to implement your suggestion but I got yet another error:
EPD Py25 (4.1.30101) -- http://www.enthought.com/epd
Python 2.5.2 |EPD Py25 4.1.30101| (r252:60911, Dec 19 2008, 13:49:12) [MSC v.131
0 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import logging
>>> logging.basicConfig()
>>> import VisionEgg
>>> import VisionEgg.Core
INFO:OpenGL.ctypes:Failed on util.find_library( 'glut32' ): list index out of ra
nge
INFO:OpenGL.ctypes:Failed on util.find_library( 'gle32' ): list index out of ran
ge
INFO:OpenGL.ctypes:Failed on util.find_library( 'opengle32' ): list index out of
range
>>>
I uninstalled the PyOpenGL v.3 and installed v.2, then I got something
different, but still an error:
EPD Py25 (4.1.30101) -- http://www.enthought.com/epd
Python 2.5.2 |EPD Py25 4.1.30101| (r252:60911, Dec 19 2008, 13:49:12) [MSC v.131
0 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import VisionEgg
>>> import VisionEgg.Core
>>> import VisionEgg.Textures
>>> import VisionEgg.ParameterTypes as ve_types
>>> import numpy
>>> import math, types, string
>>> import VisionEgg.GL as gl # get all OpenGL stuff in one namespace
>>> import _vegl
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named _vegl
>>>
Is it possible to get all these error because of previous installation of EPD
Py25 distribution? It shouldn't be that difficult to run the demos but
obviously I'm doing something totally wrong.
Cheers,
Iliya
--- On Sat, 2/14/09, Andrew Straw <astraw@xxxxxxxxxxx> wrote:
From: Andrew Straw <astraw@xxxxxxxxxxx>
Subject: [visionegg] Re: error: OpenGL.ctypes
To: visionegg@xxxxxxxxxxxxx
Date: Saturday, February 14, 2009, 9:37 PM
Hi Ilia,
That's a warning from the standard Python library "logging". I
guess
that PyOpenGL (I presume you're using version 3) is sending a message to
be logged, but there is not logging handler installed for it. To use the
logging module's default logging settings, call the following at the
start of your program:
import logging
logging.basicConfig()
Otherwise, you could disable the warning and any logging output by using
the following, but you may miss some relevant information that way:
import logging
logger = logging.getLogger('OpenGL')
logger.setLevel( logging.CRITICAL )
ilia ivanov wrote:
> Hello guys,
>
> Whenever I`m trying to run the .py demos or import from VisionEgg.Core I
> got a nasty error message "No handler could be found for logger
> "OpenGL.ctypes"...
> Im running Windows XP, Python 2.5.4, and all the packages that are
> required for visionegg are installed.
> Any suggestions?
> Thanks.
>
>
--
Dr. Andrew D. Straw
California Institute of Technology
http://www.its.caltech.edu/~astraw/
======================================
The Vision Egg mailing list
Archives: http://www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html
Other related posts: