Hi, remote.py is really in a state of flux right now and liable to be broken. In your case, you're probably mixing incompatible versions of libavg and remote.py. Still, with some minor programming skills, you should be able to tweak the python script to do what you want...
Cheers, Uli Patrick Dinnen wrote: > I'm following the instructions here: > https://www.libavg.de/wiki/index.php/Using_libavg_as_a_Tracking_Library > on a Mac running OSX 10.4.11 with a Unibrain Fire-I Board camera. > However I'm running into a problem. > > If I don't set the AVG_REMOTE_HOST and AVG_REMOTE_PORT variables then > I can run remote.py no problem. The window displaying the results > through various filters works fine and the terminals window scrolls > through details of events it's detecting. However once I go ahead and > set those two environment variables to the values suggested in the > instructions remote.py crashes seconds after I start it with the > following output: > > ... > [08-01-28 12:27:36.176] PROFILE: Total frames: 356 > [08-01-28 12:27:36.176] PROFILE: Total time: 6.26 seconds > [08-01-28 12:27:36.176] PROFILE: Framerate achieved: 57.0288 > [08-01-28 12:27:36.176] PROFILE: Frames too late: 9 > [08-01-28 12:27:36.176] PROFILE: Percent of time spent waiting: 96.0224 > [08-01-28 12:27:36.176] PROFILE: Framerate goal was: 60 > Traceback (most recent call last): > File "./remote.py", line 108, in ? > Player.play() > File "./remote.py", line 31, in onTouch > int(Event.majoraxis[0]), int(Event.majoraxis[1]), > AttributeError: 'TouchEvent' object has no attribute 'majoraxis' > [08-01-28 12:27:36.231] EVENTS: Spurious blob suppressed. > [08-01-28 12:27:36.231] EVENTS: Spurious blob suppressed. > ... > > If anyone out there with LibAVG/Python experience has suggestions they > would be much appreciated. > > Thanks, Patrick > > _______________________________________________ > libavg-users mailing list > [email protected] > https://mail.datenhain.de/mailman/listinfo/libavg-users > -- Ulrich von Zadow | +49-172-7872715 Jabber: [EMAIL PROTECTED] Skype: uzadow _______________________________________________ libavg-users mailing list [email protected] https://mail.datenhain.de/mailman/listinfo/libavg-users
