On 06/09/13 16:54, Dmitry Smirnov wrote: > On Fri, 6 Sep 2013 16:29:08 Antoine Martin wrote: >> Server side does not use OpenGL, maybe you are referring to this client >> side message: >> >> ImportError: No Numeric module present: No module named Numeric >> >> >> Note: Debian does not ship python-gnumeric (which is superseded by >> numpy) which makes PyOpenGL spit out a warning when we load it. >> AFAIK, silencing this warning would silence other more useful warnings. > I wonder if logging is unnecessary verbose by default. For example the > following command > > python -c 'import logging; logging.root.setLevel(logging.DEBUG); import > OpenGL; from OpenGL.GL import GL_VERSION, GL_EXTENSIONS;' > > merely print > > No handlers could be found for logger "OpenGL.acceleratesupport" > > and somehow don't complain about "No module named Numeric"... > That's a different message caused by the fact that the logging system is not configured before use. You need a call to "logging.basicConfig() or similar before importing OpenGL: python -c 'import logging; logging.basicConfig(); logging.root.setLevel(logging.DEBUG); import OpenGL; from OpenGL.GL import GL_VERSION, GL_EXTENSIONS;'
Antoine -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org