Skip to content

ATB error #1

@rougier

Description

@rougier

Citing Todd Marshall (unable to contact him):

I just was trying to use your atb python wrapper for AntTweakBar on Ubuntu 64bit 12.10. I downloaded your

http://www.loria.fr/~rougier/downloads/atb-python.tgz

directly from you and ran "sudo setup.py install". I tried your demo_glut.py and it crashed complaining about glumpy.key not existing. Maybe the newer version of glumpy used to have glumpy.key and has since moved it to glumpy.window.key etc

I had to make two simple changes in handlers_glut.py to get the demo_glut.py to run.

add "window" to achieve the following everywhere

glumpy.key --> glumpy.window.key
glumpy.mouse ---> glumpy.window.mouse

in VI I just did the following substitutions
%s/<glumpy.key>\C/glumpy.window.key/gp
%s/<glumpy.mouse>\C/glumpy.window.mouse/gp

Also, in demo_glut.py had to change

import trackball

to

import atb.trackball as trackball

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions