Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with Server on Mountain Lion 10.8.2 #39

Closed
wolfgang-reutz opened this issue Mar 18, 2013 · 4 comments
Closed

Problem with Server on Mountain Lion 10.8.2 #39

wolfgang-reutz opened this issue Mar 18, 2013 · 4 comments

Comments

@wolfgang-reutz
Copy link

hi,
i have a problem with running breakout.js on Mountain Lion :-(
i tried it in a virtual machine with Windows 7 and the server runs. so my setup is correct and the examples work.

now the problems in os x:

  1. when using the breakout server app, it displays the GUI, but when i try to change the serial port to my arduino the selection flips back to the first entry which is in my case a wireless AP of my iPhone. it's impossible to select an other serial port than the first one in the list. btw. if connected to the first serial port, after running the server the button still states "connect" and not "disconnect" as in the windows version

  2. as the first approach didn't work i tried the node_server. again everything seems to work, i get the correct messages in the terminal, get the messages that client xyz connected or disconnected, but when actually clicking something in the hello world example or pressing the button on the arduino (which worked on windows) i get nothing. nothing happens, no error messages, nada.

i use mac os x 10.8.2, an arduino uno, uploaded advanced firmata, on the windows side everything works. I had to install JRE 7u15 in 64 bit, additionally to the default java on mountain lion to get JAVA applets running in Safari.

hopefully someone can help me.
thanks

@wolfgang-reutz
Copy link
Author

i debuged the node_server approach a bit and the problem is, that i get a message in terminal that the board is connected, but the READY event never fires :-(

but i found a workaround for the breakout server app:
i had 3 ports listed: my two iphones and the arduino, after deleting the iphones from the Bluetooth Settings in the system preferences there was only the arduino port left and the app works as intended. works for me now, but node_server still doesn't work.

@soundanalogous
Copy link
Owner

I'll try to look into this tonight.

@soundanalogous
Copy link
Owner

Breakout Server should be fixed now. Checkout master or download from breakoutjs.com.

Regarding the nodeJS server, you may have to set the path via the command line argument. If you want to open an example with the nodeJS server and you are in the Breakout root directory, you'd launch the server like this:
node node_server/server.js. If you are in the node_server directory, you'd launch the server like this:
node server.js -d ../

@wolfgang-reutz
Copy link
Author

thanks a lot! works now for the breakout server without problems.

the node_server problem is still there and yes, i used the -d parameter to point to the right directory. it kinda works, but as i said the board.READY event gets never fired, don't know why.

but as the breakout server works now, that's fine for me ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants