Repeated Bus Error while loading osceleton

28 views
Skip to first unread message

Casey Scalf

unread,
Feb 21, 2011, 6:36:09 PM2/21/11
to tryplex toolkit for Quartz Composer
Hello,

I am very anxious to try out these packages but I am very stuck on
loading osceleton into the terminal. I get the "Bus error" and nothing
happens.

I have tried reinstalling everything twice (including xcode) and that
did not change anything.

I put all of the installation files into folders with no spaces or
weird characters

I am on Snow Leopard 10.6.6

When I load the 01 skeleton in Quartz Composer it loads and I see the
connections and the skeleton is static in the viewer.

I can get sendosc to work no problem, just I can't get around this bus
error is osceleton.

If I need to provide any more info I will

Any help would be appreciated

Mischa Schaub

unread,
Feb 22, 2011, 1:11:06 AM2/22/11
to tryplex...@googlegroups.com, Casey Scalf
Hi Casey
Did you plug in the kinect and does it have power from the outlet? If I use osceleton without the kinect, I get a bus error as well.

Kind regards
Mischa

2011/2/22 Casey Scalf <caseysc...@gmail.com>



--
HyperWerk Institute for Postindustrial Design
Totentanz 17  /  CH-4051 Basel  / +41 61 2699 227  
www.hyperwerk.ch

Mischa Schaub

unread,
Feb 22, 2011, 1:35:43 AM2/22/11
to tryplex...@googlegroups.com
Hi Casey
I had other troubles installing the toolkit on my laptop and did install in the end in utter desperation the full system from scratch, not only Xcode, and it works now flawlessly. Seems a bit a radical answer, but at least it solves the problem :-)
Mischa


2011/2/22 Casey Scalf <caseysc...@gmail.com>
Yes, the Kinect has power. I can see this from the led on the front as
well as the cord light. I, just tried connecting it and unconnecting
it in a few different patterns but nothing


Casey Scalf

unread,
Feb 22, 2011, 1:43:27 AM2/22/11
to tryplex toolkit for Quartz Composer
Unfortunately I have installed Snow Leopard and then Xcode, then dev
tools, then everything else on top of that, again. But I still get the
same bus error. Which is too bad. Is there som commonly mistaken path
for which I have house my files (i.e. library/graphics/quartz vs usr/
blah/library/graphics/quartz etc...)? I am sure it is possible but I
cannot see my mistake.

Is there any other information which would be useful?

Casey Scalf

unread,
Feb 22, 2011, 1:24:45 AM2/22/11
to tryplex toolkit for Quartz Composer

Mischa Schaub

unread,
Feb 22, 2011, 2:08:38 AM2/22/11
to tryplex...@googlegroups.com, Casey Scalf
Did you reinstall Snow Leopard from Scratch or over an old installation? It only worked for me on my difficult laptop after the full fresh install - I had tried installing over an existing system before but this did not solve my problem.

But now I have it running on 3 different machines without a problem, so I can tell you, it works exactly as described in the installation guide, no silly little secrets there, if you are radical enough.

Mischa




2011/2/22 Casey Scalf <caseysc...@gmail.com>
Unfortunately I have installed Snow Leopard and then Xcode, then dev

Sebastian Kox (gMail)

unread,
Feb 22, 2011, 4:26:38 AM2/22/11
to tryplex...@googlegroups.com
You could also try to de- and re-install the libUSB drivers

Described in the second header here:
http://code.google.com/p/tryplex/wiki/Installation#Common_errors_people_encountered

Casey Scalf

unread,
Feb 22, 2011, 4:28:32 AM2/22/11
to tryplex toolkit for Quartz Composer
I will give a full fresh from scratch install a try. How can I go
about a fresh install of Snow Leopard? I'll probably want to back up
my things but how do I erase and then install? I realize it may be
basic but I have never done this on a mac

Thank you very much for the help

Sebastian Kox (gMail)

unread,
Feb 22, 2011, 4:43:40 AM2/22/11
to tryplex...@googlegroups.com
Back up all your stuff (it'll definitely be gone if you don't), and follow this manual
http://macs.about.com/od/snowleopardmacosx106/qt/cleaninstall_sl.htm

Casey Scalf

unread,
Feb 23, 2011, 8:08:35 AM2/23/11
to tryplex toolkit for Quartz Composer
Thank you very much for the backup tip and link. I successfully erased
and cleaned my hard drive and reinstalled Snow Leopard. I first
checked for software updates and installed them. I then installed
xcode from apple.com and the xcode dev tools on the Snow Leopard cd.

Next I followed the installation guide. I installed macports with no
hassle. I then installed libtool and libusb with no errors (unless
these are hidden from view as I did not encounter any obvious
warnings). I made sure that everything was the right release edition.

When it came to downloading and installing OpenNI, NITE, and avin2/
sensor Kinect I was able to get through but was wondering on the:

--------Important note: Put the following installation files (openNI,
NITE and avin2/sensorkinect) in a folder that doesn't contain spaces
or weird characters, else it'll generate errors during installation---

Everything I downloaded for this process I put into a one word, no
spaces or weird characters, folder on the desktop. When the files
unzipped I changed the names of the folders from:
Nite-1.3.0.18 => NITE
OpenNI-Bin-MacOSX-v1.0.0.25 => OpenNI
avin2-SensorKinect-0124bd2 => avin2sensorkinect

I did this to make sure no install errors would come from the folder
names.

When I installed NITE and OpenNI it went fine (once again I saw no
error messages in terminal... but there were a lot of lines). When I
installed avin2/sensor kinect it also went fine; no obvious errors.

The next step of (Download and unpack the processing applet, OSCeleton
11/1/2010 osx build and QC example QCosceleton.zip) I was unsure of.
I downloaded the OSCeleton QC toolkit v0.1 from the downloads page.
Here is where I am unsure of:
- When it says "unpack the processing applet" does that mean move
a file somewhere else? If so, which one and where to? And what exactly
is the 'processing applet' (processing applet == osceleton.app??)?
- When I explore the OSCeleton QC toolkit v0.1 I come across a
folder named QC, underneath are folders 'macro patches' and 'sample
files'. Within macro patches there are the quartz files and a
suggestive folder. The folder suggests that in order to install I
should drag the files there. Upon doing so I get this message:

------------------The alias “To install drag and drop all files here”
can’t be opened because the original item can’t be
found.--------------
The button options below are delete alias, fix alias, and cancel. I am
not sure what to do here (before I cleaned my hd and reinstalled
SnowLep the files went through to their destination just fine.)

- In the step for the guide (download/unpack/process/applet) is
it referring to any other package I should get specifically that is
related to oscelton from the tryplex site other than the 'OSCeleton QC
toolkit v0.1zip?
- I downloaded qcOsc.plugin successfully and placed it in /
Library/Graphics/Quartz Composer Plug-Ins without trouble. However, is
there some sort of discrepancy when it comes to the right folder? For
instance, the next line in the guide states install kineme structure
tools. I did this but noticed that on kineme's site they wanted me to
put the StructureTools.plugin in

/Users/[you]/Library/Graphics/Quartz Composer Patches/

Clearly not the same location as qcOsc (i.e. in user not library and
in patches not plugins). There was of course no such folder in the
user Library, so I made one that followed the spelling and
capitalization to the T. If this different placement is just how it
is and I will come to learn it later then so be it, just thought it
might add to something.

On top of this whole thing I made sure to run QC in 32-bit and


The darn problem is that I get this bus error.... still. I even
uninstalled libusb-devel and reinstalled it. Disconnected the kinect.
Closed all programs even terminal, restarted the computer, installed
the whole guide from the very beginning; anything I could think of and
I still got that pesky error.

After doing everything above I am still not able to connect. If there
is any more information I could provide on any particular step, any
logs or other messages: anything, and I will do my best to provide. I
am so excited to really get this thing working and learn about it but
I can't seem to trump this error.

To summarize: I believe a problem may be in one of these steps (for
they appeared to me just a little unsure)

> Wrong folder destination for OpenNI/NITE/avin2kinect
> I did not perform the download/unpack/process applet step correctly
> I am improperly placing qcOsc.plugin and/or StructureTools.plugin
> The 'alias' problem with the 'macro patches' folder

Once again, thank you for the help so far everyone, if you could
please just look this over and direct me towards a solution or
alternate action I would much appreciate it.

Mischa Schaub

unread,
Feb 23, 2011, 12:00:30 PM2/23/11
to tryplex...@googlegroups.com
Oh dear, poor you!

Could you download the free application kinectviewer from the appleshop and test if you see a picture, just to make sure that your hardware works? With the kinectviewer you need install nothing else, should just run out of the box - the tryplex toolkit got some way to go :-)
Kind regards
Mischa

2011/2/23 Casey Scalf <caseysc...@gmail.com>

Casey Scalf

unread,
Feb 23, 2011, 6:36:56 PM2/23/11
to tryplex toolkit for Quartz Composer
I like the idea of something simple to get it working. I searched for
said kinect viewer but I was "not able to complete request" when I
clicked the link to the app store, nor was I able to find any kinect
related software. Did it get taken down? I certainly see the non-
official posts about it.

I have been able to get the kineme kinecttools to load and display on
the screen and it plays through the xbox so I am pretty confident
there is not a hardware issue. I just got the most recent macports so
I'll see if that makes a difference.

Thanks for the suggestion

Sebastian Kox (gMail)

unread,
Feb 24, 2011, 6:11:48 AM2/24/11
to tryplex...@googlegroups.com
Hi Casey,


> Thank you very much for the backup tip and link. I successfully erased

> and .....


> --------Important note: Put the following installation files (openNI,
> NITE and avin2/sensorkinect) in a folder that doesn't contain spaces
> or weird characters, else it'll generate errors during installation---
>
> Everything I downloaded for this process I put into a one word, no
> spaces or weird characters, folder on the desktop. When the files
> unzipped I changed the names of the folders from:
> Nite-1.3.0.18 => NITE
> OpenNI-Bin-MacOSX-v1.0.0.25 => OpenNI
> avin2-SensorKinect-0124bd2 => avin2sensorkinect
>
> I did this to make sure no install errors would come from the folder
> names.


You don't have to change the names of the Nite/openNi/avin2 folders, I've kept them intact without any problems. It's only the name of the folder that they are sitting in that could cause problems.


> When I installed NITE and OpenNI it went fine (once again I saw no
> error messages in terminal... but there were a lot of lines). When I
> installed avin2/sensor kinect it also went fine; no obvious errors.
>
> The next step of (Download and unpack the processing applet, OSCeleton
> 11/1/2010 osx build and QC example QCosceleton.zip) I was unsure of.
> I downloaded the OSCeleton QC toolkit v0.1 from the downloads page.
> Here is where I am unsure of:
> - When it says "unpack the processing applet" does that mean move
> a file somewhere else? If so, which one and where to? And what exactly
> is the 'processing applet' (processing applet == osceleton.app??)?

It's indeed a bit unclear there in the manual. The tryplex toolkit already contains these files, no extra downloading/unpacking needed.
In the OSCeleton and sendOSC folder of the toolkit there are two apps.
osceleton is the one you'll run from the terminal, and sendosc (the processing app) is started in the finder.


> - When I explore the OSCeleton QC toolkit v0.1 I come across a
> folder named QC, underneath are folders 'macro patches' and 'sample
> files'. Within macro patches there are the quartz files and a
> suggestive folder. The folder suggests that in order to install I
> should drag the files there. Upon doing so I get this message:
>
> ------------------The alias “To install drag and drop all files here”
> can’t be opened because the original item can’t be
> found.--------------
> The button options below are delete alias, fix alias, and cancel. I am
> not sure what to do here (before I cleaned my hd and reinstalled
> SnowLep the files went through to their destination just fine.)


Ah, because of the clean install this folder probably doesn't exist yet.
navigate to this folder in the finder from your hard-drive:
Library/Graphics/

and now make a new folder with this name Quartz Composer Patches
and put the macro files there.


> - In the step for the guide (download/unpack/process/applet) is
> it referring to any other package I should get specifically that is
> related to oscelton from the tryplex site other than the 'OSCeleton QC
> toolkit v0.1zip?
> - I downloaded qcOsc.plugin successfully and placed it in /
> Library/Graphics/Quartz Composer Plug-Ins without trouble. However, is
> there some sort of discrepancy when it comes to the right folder? For
> instance, the next line in the guide states install kineme structure
> tools. I did this but noticed that on kineme's site they wanted me to
> put the StructureTools.plugin in
>
> /Users/[you]/Library/Graphics/Quartz Composer Patches/
>
> Clearly not the same location as qcOsc (i.e. in user not library and
> in patches not plugins). There was of course no such folder in the
> user Library, so I made one that followed the spelling and
> capitalization to the T. If this different placement is just how it
> is and I will come to learn it later then so be it, just thought it
> might add to something.

Some 3th party plugin's like to sit in the Patches folder, and some in the Plug-ins folder. Don't know why, but if placed in the wrong folder they won't work.
Changing the name of the plug-in's doesn't make a change, just leave them intact.

> On top of this whole thing I made sure to run QC in 32-bit and
>
>
> The darn problem is that I get this bus error.... still. I even
> uninstalled libusb-devel and reinstalled it. Disconnected the kinect.
> Closed all programs even terminal, restarted the computer, installed
> the whole guide from the very beginning; anything I could think of and
> I still got that pesky error.
>
> After doing everything above I am still not able to connect. If there
> is any more information I could provide on any particular step, any
> logs or other messages: anything, and I will do my best to provide. I
> am so excited to really get this thing working and learn about it but
> I can't seem to trump this error.
>
> To summarize: I believe a problem may be in one of these steps (for
> they appeared to me just a little unsure)
>
>> Wrong folder destination for OpenNI/NITE/avin2kinect
>> I did not perform the download/unpack/process applet step correctly
>> I am improperly placing qcOsc.plugin and/or StructureTools.plugin
>> The 'alias' problem with the 'macro patches' folder
>
> Once again, thank you for the help so far everyone, if you could
> please just look this over and direct me towards a solution or
> alternate action I would much appreciate it.

To narrow it a bit down, the bus error is related to either the libUSB, avin2kinect, openNI, NITE or the hardware. Everything QC related doesn't really use the kinect or the drivers, it only receives OSC information from OSCeleton/sendosc.

The steps you could try now;

- Try to run the openNI examples
- navigate to the OpenNI-Bin-MacOSX-v1.0.0.25/Samples/Bin folder
- open a new terminal window, type cd (with a space after) and drag&drop the Release folder inside the Samples folder. Press enter
- drag and drop the Sample-NiSimpleViewer file from the Release folder and press enter
- let me know what happens

If there's still an error:
- rename the avin2kinect, openNI, NITE folders to their original names, or re-download them and install again.
- I'm also wondering if you got this error:

If during the install of libtool it gives this error:
Error: db46 requires the Java for Mac OS X development headers.
Error: Download the Java Developer Package from:
Error: Target org.macports.configure returned: missing Java headers
Error: Failed to install db46

Then Install this package first:
https://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=20719
The latest OSX doesn't include the Java for Mac OS X development headers annymore standard.

- Try to disconnect all other USB devices except the kinect


I know that the installation can be very nerve wrecking, I spend quite some late night hours trying to figure it out myself.


Thanks a lot for your feedback, this helps us making the install guide much clearer and better!

Casey Scalf

unread,
Feb 25, 2011, 8:32:21 AM2/25/11
to tryplex toolkit for Quartz Composer
Well I tried these and made some progress but still get a bus error
(darn)

Sebastian - to answer your question, when I try the Sample-
NiSimpleViewer this is what the termianl says

-----

Samples/Bin/Debug/Sample-NiSimpleViewer
One or more of the following nodes could not be enumerated:

Device: PrimeSense/SensorV2/5.0.0.25: The device is not connected!

-----

I can very much see that the device is connected and have tried
unplugging from the laptop and from the wall with the same result.

Casey Scalf

unread,
Feb 25, 2011, 8:41:47 AM2/25/11
to tryplex toolkit for Quartz Composer
Also, when downloading the avin2-sensorkinect do you download the zip
or tar.gz? Maybe the difference is nominal but I wasn't sure

Casey Scalf

unread,
Feb 25, 2011, 8:46:56 AM2/25/11
to tryplex toolkit for Quartz Composer
Also, I noticed that the readme for the avin2-sensorkinect on github
has a different procedure for installation than tryplex does. Namely
there is a step for building sensor. I am not sure if this is also
implied that I do this or if it should be skipped. However I see no
difference when I tried it both ways.

Casey Scalf

unread,
Feb 25, 2011, 8:56:51 AM2/25/11
to tryplex toolkit for Quartz Composer
Okay. After another session of cleansing and starting from the top I
was able to get osceleton to display this in the finder:

-----

QC\ toolkit\ v0.1/OSCeleton\ and\ sendOSC/osceleton.app
dyld: Library not loaded: /opt/local/lib/libusb-1.0.0.dylib
Referenced from: /usr/lib/libOpenNI.dylib
Reason: no suitable image found. Did find:
/opt/local/lib/libusb-1.0.0.dylib: mach-o, but wrong architecture
Trace/BPT trap

-----

I was able to find both libusb-1.0.0.dylib & libopenni.dylib on my
computer

=> should I move one/both of these files?

Thank you

Sebastian Kox (gMail)

unread,
Mar 1, 2011, 3:56:46 AM3/1/11
to tryplex...@googlegroups.com
Hi Casey,

Any luck yet?
Still strange that you don't get it working. For the 0.2 version of the tryplex toolkit I'm going to perform (and document) a clean install myself. Maybe something has changed/updated in the packages we use that I'm not aware of. I'll put it all on vimeo as a video tutorial.
What kind of system are you on?

Until then I'm completely out of option's what could be happening. Let me know if anything works out!

You shouldn't move any files after installation.
This and your previous error when trying the NI samples show that's there is something wrong in the driver end, either libusb or the avin package.

Shouldn't make a difference.

> Also, when downloading the avin2-sensorkinect do you download the zip
> or tar.gz? Maybe the difference is nominal but I wasn't sure

Both are the same.

Casey Scalf

unread,
Mar 1, 2011, 3:52:03 PM3/1/11
to tryplex toolkit for Quartz Composer
I am running snow leopard on an 09 tinbody mac. I'll try it again when
I get home from school. Thank you very much for your support as well!

Casey Scalf

unread,
Mar 2, 2011, 7:57:14 PM3/2/11
to tryplex toolkit for Quartz Composer
Just want to say I finally got it to work!!

I believe it was the correct PrimeSense Key, for I could only figure
nothing else in the guide had changed.

Thank you very much Tryplex! You guys provided great support and a
great toolkit.

Now I can show everyone over here how to do it!
Reply all
Reply to author
Forward
0 new messages