OOps, I missed this one. There is an error in the error handling code.
I fixed the fallback code which tries to find an alternative config
for old hardware, since it was using an unqualified exception name,
i.e., NoSuchConfigException rather than
pyglet.window.noSuchConfigException. You can try it by installing the
latest version from the SVN.

I'd be very much obliged if you could tell me what kind of graphics
board/driver do you use.

Best regards,

--Claudio

On Oct 14, 9:12 am, altern <[email protected]> wrote:
> i am testing it on linux and i get this error
>
> $ python animation.py
> No suitable context:
> Generating a default context.
> Traceback (most recent call last):
>    File "animation.py", line 1, in <module>
>      from pyprocessing import *
>    File
> "/usr/local/lib/python2.6/dist-packages/pyprocessing/__init__.py", line
> 377, in <module>
>      if canvas.window == None: size(100,100)
>    File
> "/usr/local/lib/python2.6/dist-packages/pyprocessing/__init__.py", line
> 290, in size
>      except NoSuchConfigException:
> NameError: global name 'NoSuchConfigException' is not defined
>
> i tried some pyglet examples and they work fine, but i have problems
> with pyOpenGL...
>
> > On Oct 10, 1:15 am, Claudio Esperança <[email protected]>
> > wrote:
> >> I'd like to announce the first alpha release of the
> >> pyprocessing<http://code.google.com/p/pyprocessing/>project.  This is
> >> a
> >> Python <http://www.python.org/> package that creates an environment for
> >> graphics applications that closely resembles that of the
> >> Processing<http://www.processing.org/>system.
>
> >> The project mission is to implement Processing's friendly graphics 
> >> functions
> >> and interaction model in Python. Not all of Processing is to be ported,
> >> though, since Python itself already provides alternatives for many features
> >> of Processing, such as XML parsing.
>
> >> The *pyprocessing* backend is built upon OpenGL <http://www.opengl.org/> 
> >> and
> >> Pyglet <http://www.pyglet.org/>, which provide the actual graphics
> >> rendering. Since these are multiplatform, so is *pyprocessing*.
>
> >> We hope that, much in the same spirit of the Processing project, *
> >> pyprocessing* will appeal to people who want to easily program and interact
> >> with computer generated imagery. It is also meant to help teaching computer
> >> programming by making it possible to write compact code with rich visual
> >> semantics.
>
> >> I would appreciate any comment on this effort.
>
> >> Cheers,
> >> --Claudio
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to