GithubHelp home page GithubHelp logo

py-lepton's People

Stargazers

 avatar  avatar

Watchers

 avatar

py-lepton's Issues

How do i install

What steps will reproduce the problem?
1. I tried python setup.py install
2. i get some output, last line says error:None
3. When i try to run the examples it says lepton module not found 

What version of the product are you using? On what operating system?
I'm currently using lepton 0.8a on python 2.6, pyglet and pygame installed
under win XP



Original issue reported on code.google.com by [email protected] on 11 Jan 2009 at 1:33

how to make work lepton on mac os X 10

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 13 May 2013 at 11:20

Upload to pip

Tested this and it works with python 2.7 on ubuntu + virtualenv - so might as 
well upload it there.

Original issue reported on code.google.com by [email protected] on 13 Nov 2012 at 7:08

Can't install on OS X 10.4 with system python 2.5

What steps will reproduce the problem?
1. python2.5 setup.py build
2.
3.

I get the following error:

building 'lepton.group' extension
creating build/temp.macosx-10.3-fat-2.5
creating build/temp.macosx-10.3-fat-2.5/lepton
gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
-fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd
-fno-common -dynamic -DNDEBUG -g -O3
-I/System/Library/Frameworks/OpenGL.framework/Headers
-I/System/Library/Frameworks/GLUT.framework/Headers
-I/System/Library/Frameworks/Kernel.framework/Headers
-I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c
lepton/group.c -o build/temp.macosx-10.3-fat-2.5/lepton/group.o
In file included from
/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/pyport.h:269
,
                 from
/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/Python.h:57,
                 from lepton/group.c:18:
/System/Library/Frameworks/Kernel.framework/Headers/sys/stat.h:225: error:
field 'st_atimespec' has incomplete type
/System/Library/Frameworks/Kernel.framework/Headers/sys/stat.h:226: error:
field 'st_mtimespec' has incomplete type
/System/Library/Frameworks/Kernel.framework/Headers/sys/stat.h:227: error:
field 'st_ctimespec' has incomplete type
In file included from
/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/pyport.h:269
,
                 from
/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/Python.h:57,
                 from lepton/group.c:18:
/System/Library/Frameworks/Kernel.framework/Headers/sys/stat.h:225: error:
field 'st_atimespec' has incomplete type
/System/Library/Frameworks/Kernel.framework/Headers/sys/stat.h:226: error:
field 'st_mtimespec' has incomplete type
/System/Library/Frameworks/Kernel.framework/Headers/sys/stat.h:227: error:
field 'st_ctimespec' has incomplete type
lipo: can't figure out the architecture type of: /var/tmp//ccG007Qp.out
error: command 'gcc' failed with exit status 1

Original issue reported on code.google.com by [email protected] on 13 Aug 2008 at 9:20

Some examples just freeze without bringing up a window

I've been testing the examples, most work - but for some no window comes up and 
the app freezes.

Ubuntu 12.10 - laptop with nvidia+intel graphics cards.


These ones work:
fire.py
fireworks.py - 
flyby.py
generate.py
letters.py
logo.py
smoke.py
tunnel.py
vortex.py

Don't work (no window comes up):
bouncy.py
magnet.py
splode.py
splode2d.py

Not tested - the pygame ones (I don't have it installed).

Original issue reported on code.google.com by [email protected] on 14 Nov 2012 at 8:18

copy&paste error in lepton/emittermodule.c (?)

What steps will reproduce the problem?

cat lepton/emittermodule.c | grep -C 1 '"deviation"' 

What is the expected output? What do you see instead?
expected:
[...]
        return (PyObject *)ParticleRefObject_New(NULL, &self->ptemplate);   
    } else if (!strcmp(name, "deviation")) {
        return (PyObject *)ParticleRefObject_New(NULL, &self->pdeviation);  
--
        return (PyObject *)ParticleRefObject_New(NULL, &self->ptemplate);   
    } else if (!strcmp(name, "deviation")) {
        return (PyObject *)ParticleRefObject_New(NULL, &self->pdeviation);  

instead: 
[...]
        return (PyObject *)ParticleRefObject_New(NULL, &self->ptemplate);   
    } else if (!strcmp(name, "deviation")) {
        return (PyObject *)ParticleRefObject_New(NULL, &self->ptemplate);   
--
        return (PyObject *)ParticleRefObject_New(NULL, &self->ptemplate);   
    } else if (!strcmp(name, "deviation")) {
        return (PyObject *)ParticleRefObject_New(NULL, &self->ptemplate);   

What version of the product are you using? On what operating system?

latest svn checkout (rev 242)

Please provide any additional information below.

patch attached to this report
I hope I'm not fixing a non-bug here :D


Original issue reported on code.google.com by [email protected] on 7 Oct 2009 at 5:18

Attachments:

successful built on Debian, GL error on eee pc

Dear Casey,
having read about lepton in the Python Magazine I was very eager to try it
out myself.
At first the compilation did not run on my Debian Testing box, I always got
the error that glew.h could not be found until I realized that I had to
rename the folder <gl> provided under <glew> in the installation tarball
into <GL>, then it worked. I successfully built lepton on my terra notebook
(nvidia graphics) and on an eee pc 901. On the notebook all examples run
fine and I am completely enthusiastic about the spectacular effects. You
have really created a great and very entertaining tool, thanks a lot. I
can't wait to show it to my kids. On the eee pc however, so far only the
flyby example runs (very smoothly). When I run other examples, I get the
following traceback:
Traceback (most recent call last):
  File "./fire.py", line 78, in <module>
    pyglet.app.run()
  File "/usr/lib/pymodules/python2.5/pyglet/app/__init__.py", line 264, in run
    EventLoop().run()
  File "/usr/lib/pymodules/python2.5/pyglet/app/xlib.py", line 94, in run
    sleep_time = self.idle()
  File "/usr/lib/pymodules/python2.5/pyglet/app/__init__.py", line 193, in idle
    window.dispatch_event('on_draw')
  File "/usr/lib/pymodules/python2.5/pyglet/window/__init__.py", line 1217,
in dispatch_event
    EventDispatcher.dispatch_event(self, *args)
  File "/usr/lib/pymodules/python2.5/pyglet/event.py", line 340, in
dispatch_event
    if handler(*args):
  File "./fire.py", line 74, in on_draw
    default_system.draw()
  File "/home/user/progs/lepton/lepton/system.py", line 94, in draw
    group.draw()
RuntimeError: GL error 1280

Do you have any idea, what the cause for this could be ? Also, when I start
the examples I always get this warning:
do_wait: drmWaitVBlank returned -1, IRQs don't seem to be working correctly.
Try adjusting the vblank_mode configuration parameter.

But this  does not seem to influence the execution of the scripts, since it
also occurs in the working flyby example.

Many thanks again and maybe you have an idea how I could circumvent the GL
error.
Kind regards,
 Axel

Original issue reported on code.google.com by [email protected] on 19 Aug 2009 at 3:47

_glColorPointer not found (Mac OS 10.5.4, MacBookPro, GeForce 8600M GT, python 2.6.2)

What steps will reproduce the problem?

1. Download and install lepton-1.0b2.tar.gz into python 2.6.2 
(build log available in attached file; build appeared to be successful but
I ran no other tests)

2. svn update caseman-read-only, cd mech, python run_game.py

3. I got this traceback:

Traceback (most recent call last):
  File "run_game.py", line 10, in <module>
    from mechazoid import main
  File
"/Applications/pyglet/web-examples/caseman-read-only/mech/mechazoid/main.py",
line 1, in <module>
    import game
  File
"/Applications/pyglet/web-examples/caseman-read-only/mech/mechazoid/game.py",
line 4, in <module>
    import building
  File
"/Applications/pyglet/web-examples/caseman-read-only/mech/mechazoid/building.py"
,
line 3, in <module>
    import lepton.renderer
ImportError:
dlopen(/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-pack
ages/lepton/renderer.so,
2): Symbol not found: _glColorPointer
  Referenced from:
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/le
pton/renderer.so
  Expected in: dynamic lookup

Exit 1

What version of the product are you using? On what operating system?

lepton-1.0b2
Mac OS 10.5.4
MacBookPro (Intel Core Duo)
GeForce 8600M GT
python 2.6.2

Original issue reported on code.google.com by [email protected] on 2 Nov 2009 at 5:54

Attachments:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.