[IPython-dev] glipy, OpenGL IPython terminal with numpy support

Nicolas Rougier Nicolas.Rougier at loria.fr
Wed Apr 15 09:13:43 EDT 2009


Sorry, I should have said that currently, examples are supposed to be
run from within glipy:

run -i examples/colorbars.py within terminal.




On Wed, 2009-04-15 at 07:57 -0500, Gökhan SEVER wrote:
> Hi Nicolas,
> 
> You may need to revise the examples in /examples directory because out
> of 4 examples non work in my system
> 
> (Fedora 10 2.6.27.19-170.2.35.fc10.i686.PAE #1 SMP
> 
> Python 2.5.2 (r252:60911, Sep 30 2008, 15:41:38)
> [GCC 4.3.2 20080917 (Red Hat 4.3.2-4)] on linux2
> 
> IPython 0.10.bzr.r1163)
> 
> Here are the error messages that I encounter:
> 
> 
> 
> [gsever at ccn examples]$ python colorbars.py
>   File "colorbars.py", line 25
>     fig = figure(*items, height=25, cmap=colormap.IceAndFire)
>                               ^
> SyntaxError: invalid syntax
> 
> 
> 
> [gsever at ccn examples]$ python cube.py
> Traceback (most recent call last):
>   File "cube.py", line 121, in <module>
>     c = cube()
>   File "cube.py", line 116, in cube
>     terminal.insert(c)
> NameError: global name 'terminal' is not defined
> 
> 
> 
> [gsever at ccn examples]$ python figure.py
>   File "figure.py", line 34
>     fig = figure(*items, height=300, cmap=cmap)
>                               ^
> SyntaxError: invalid syntax
> 
> 
> 
> [gsever at ccn examples]$ python screenshots.py
> Traceback (most recent call last):
>   File "screenshots.py", line 18, in <module>
>     fig = figure(z1)
> NameError: name 'figure' is not defined
> 
> 
> Interestingly, examples were working when I tested glipy in its very first days.
> 
> Thanks for this nice tool.
> 
> Gökhan
> 
> 
> On Wed, Apr 15, 2009 at 3:35 AM, Nicolas Rougier
> <Nicolas.Rougier at loria.fr> wrote:
> >
> >
> > Hello,
> >
> > I've setup a launchpad glipy project:
> > https://launchpad.net/glipy
> >
> > as well as a rudimentary homepage:
> > http://webloria.loria.fr/~rougier/glipy/
> >
> >
> > for those who want to test it. It is still an early beta version and may
> > be plenty of bugs...
> >
> >
> > Nicolas
> >
> > _______________________________________________
> > IPython-dev mailing list
> > IPython-dev at scipy.org
> > http://mail.scipy.org/mailman/listinfo/ipython-dev
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev




More information about the IPython-dev mailing list