al1986 wrote:
> I still seem to be getting the same error, unfortunately. I'm a bit of
> a newbie - hope I'm doing this right. I tried doing easy_install -U
> pyglet, but that didn't get rid of the error. So I re-downloaded and
> re-installed pyglet. Either way, I still get the "No conforming visual
> exists" message.
>   
You'll need to get the latest source via SVN.  Instructions are here:

http://code.google.com/p/pyglet/source

If you're not comfortable with SVN, you can alternatively apply the 
attached patch to your existing pyglet installation:

cd /usr/lib/python2.5/site-packages
patch pyglet/window/xlib/__init__.py ~/r1388.py

Cheers
Alex.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Index: pyglet/window/xlib/__init__.py
===================================================================
--- pyglet/window/xlib/__init__.py      (revision 1387)
+++ pyglet/window/xlib/__init__.py      (working copy)
@@ -221,7 +221,10 @@
 
             return result
         else:
-            return [config_class(self, attrib_list)]
+            try:
+                return [config_class(self, attrib_list)]
+            except ContextException:
+                return []
 
     def __repr__(self):
         return 'XlibScreen(screen=%d, x=%d, y=%d, ' \

Reply via email to