| Issue 357: | Error in animation -> KeyError: 'rotation' | |
| 1 person starred this issue and may be notified of changes. | Back to list |
I'm trying Sequenced Animations, described in here: http://pymt.eu/wiki/DevGuide/ComplexAnimations It's exactly the same code, just copy/pasted it. But when I try to run it, I got the following error: feko@note:~/tmp/testes_pymt$ python app1.py [INFO ] PyMT v0.5.1 [INFO ] [Core ] Using accelerate module [INFO ] [Logger ] Record log in /home/feko/.pymt/logs/pymt_11-01-23_30.txt [INFO ] [Graphx ] Using accelerate graphx module [INFO ] [Camera ] using <gstreamer> as camera provider [INFO ] [Text ] using <pygame> as text provider [INFO ] [Video ] using <gstreamer> as video provider [INFO ] [Spelling] using <enchant> as spelling provider [INFO ] [OSC ] using <multiprocessing> for socket ALSA lib pcm.c:7245:(snd_pcm_recover) underrun occured [ERROR ] [Input ] MTDev is not supported by your version of linux [INFO ] [Loader ] using <pygame> as thread loader [INFO ] [Window ] use Pygame as window provider. [INFO ] [Window ] OpenGL version <3.2.0 NVIDIA 195.36.15> Traceback (most recent call last): File "app1.py", line 12, in <module> widget.do(anim_xyrot) File "/usr/local/lib/python2.6/dist-packages/PyMT-0.5.1-py2.6-linux-x86_64.egg/pymt/ui/widgets/widget.py", line 421, in do if not animation.set_widget(self): File "/usr/local/lib/python2.6/dist-packages/PyMT-0.5.1-py2.6-linux-x86_64.egg/pymt/ui/animation.py", line 503, in set_widget new_animobj = AbsoluteAnimationBase(widget=widgetx, key_args=animation.params, animator=self) File "/usr/local/lib/python2.6/dist-packages/PyMT-0.5.1-py2.6-linux-x86_64.egg/pymt/ui/animation.py", line 252, in __init__ cval = self._get_value_from(prop) File "/usr/local/lib/python2.6/dist-packages/PyMT-0.5.1-py2.6-linux-x86_64.egg/pymt/ui/animation.py", line 110, in _get_value_from return self.widget.__dict__[prop] KeyError: 'rotation' feko@note:~/tmp/testes_pymt$
Jan 23, 2011
Project Member
#1
txprog
Status:
Invalid
|