-
alex
Hello,
I use a Ibook 12" on os x with Pd-0.39.2-extended-RC1-macosx104-powerpc disrtibution.
I try to make a patch to use the output datas from the great app called "motion".
You can find it here : http://blogs.23.nu/c0re/stories/7894/
It show the x, y, z values of the apple motion sensor on the ibooks or macbooks.So, i tried to use the "shell" object included in the Pd-0.39.2-extended-RC1-macosx104-powerpc disrtibution with this patch :
#N canvas 214 92 345 511 10;
#X obj 30 165 shell;
#X msg 13 6 1;
#X msg 49 5 0;
#X obj 32 46 metro 1000;
#X obj 31 200 unpack 0 0 0;
#X floatatom 20 237 5 0 0 0 - - -;
#X floatatom 70 237 5 0 0 0 - - -;
#X floatatom 114 237 5 0 0 0 - - -;
#X msg 31 101 ~/Desktop/motion/motion ibook;
#X connect 0 0 4 0;
#X connect 1 0 3 0;
#X connect 2 0 3 0;
#X connect 3 0 8 0;
#X connect 4 0 5 0;
#X connect 4 1 6 0;
#X connect 4 2 7 0;
#X connect 8 0 0 0;As you can see, i have the "motion" app on my desktop.
HERE comes the problem : when i start the patch, this error message appear :
"old process still running". The patch do the job : i have my x, y, z ! great !
BUT suddenly my os x session get out and i am in front of the login window !After this crash, i try same thing but i check the activity doing a "top" on terminal.app. i saw each time, the "crashdump" processus doing something and crash the session.
I saw a start for an answer here : http://lists.puredata.info/pipermail/pd-list/2005-11/032614.html
It seems to be a bug from the "shell" object so is there any alternative to using it or can it be fixed ?Thanks in advance !!