[visionegg] Re: error: OpenGL.ctypes

  • From: Andrew Straw <astraw@xxxxxxxxxxx>
  • To: visionegg@xxxxxxxxxxxxx
  • Date: Sat, 14 Feb 2009 11:37:39 -0800

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: //www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html

Other related posts: