-
Notifications
You must be signed in to change notification settings - Fork 526
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
Rosbridge only one way on OSX #198
Comments
I'll try to get Indigo set up on my MacBook and reproduce this for testing by this weekend - sorry, I won't get to it any earlier. Any others with OS X machines? A couple of questions:
|
Also having this same issue!
I've started to dig in to see where messages (published from ROS) stop moving forward but I've only gotten so far as to determine that |
bson dependency turned out to be the issue. Doing a |
Three Cheers!
Yes of course a brew rosbridge would be way better, Now going a bit deeper into solving problems: The general way is to user test each tutorial, but that's too time consuming There are several categories of responses to the user that should be made,
Thanks for the speedy response, guys! |
< a href="mailto@the-tutorial-maintailer?subject=definitive-tutorial-name?body There are several categories of responses to the user that should be made,
Thanks for the speedy response, guys! |
Thanks for the input!
At least that would be nice, but there doesn't seem to be a rosdep rule for Of course, even after manually installing the dependencies, there still seems to be an issue - you've come to the right place in opening this issue! The Github URLs being prominently featured on the ROS wiki pages (and the need for you to clone it in the first place) hopefully made it easy for you to find us. As for advice on tutorials, ROS Answers seems a better place to ask, because it allows more people than just the maintainers to provide their knowledge. |
@jonfink Our |
Note: MongoDB documentation explicitly warns agains doing |
While I should use |
I had the same issue with my ROS installation using meta-ros. Basically I had to manually install (no catkin on target platform) BSON. Unfortunately I used also the "standard" and not the mongodb version. If someone reads this facing a similar issue without access to pip or ros installers on target systems: Just copy the bson directory from the python-mongodb library to /opt/ros//lib/python2.7/site-packages. Problem solved afterwards. As this seems to be an issue that already half a dozen people faced, and it is tricky to debug (one direction works, so connection is established, no error displayed, just no response received) my proposal/wish would be, to check if the BSON module supports e.g. Binary and if not display at least a warning or even an error stating: "BSON installation does not support all necessary features. Please use the MongoDB BSON implementation." This would have saved me quite some hours (and as I am working only in my off hours on it, maybe even some month), and might also help some others avoiding this pitfall. I would add it myself, unfortunately I am lacking the necessary Python skills :-( |
…node. (RobotWebTools#198) Check whether mongodb oriented bson is installed or not just after init_node, and if appropriate bson is not installed, shutdown node with error message. See: RobotWebTools#198
…node. (RobotWebTools#198) Check whether mongodb oriented bson is installed or not just after init_node, and if appropriate bson is not installed, shutdown node with error message. See: RobotWebTools#198
Created a pull request to check whether appropriate bson module is installed or not. I hope it would improve current situation. |
…node. (RobotWebTools#198) Check whether mongodb oriented bson is installed or not just after init_node, and if appropriate bson is not installed, shutdown node with error message. See: RobotWebTools#198
Thanks for everyone's work on this. Had and fixed the same issue. |
change in #270 will raise exception if a proper bson module as of now. |
…s#198) (RobotWebTools#270) * Raise Exception if inappropriate bson module is installed (Related to RobotWebTools#198)
BSON package works with pymongo pip package as stated in RobotWebTools/rosbridge_suite#198
do this: sudo pip uninstall bsonpython -m pip install pymongo |
* fix: issue in RobotWebTools/rosbridge_suite#198 --------- Co-authored-by: passchaos <passchaos@darkstar.localdomain> Co-authored-by: paul <p@paulhansel.com>
This issue is more fully described by:
http://answers.ros.org/question/221356/rosbridge-only-one-way-on-my-osx/
In a nutshell, I can run the tutorial http://wiki.ros.org/roslibjs/Tutorials/BasicRosFunctionality
with messages successfully leaving my browser, reaching the tutorial server thru rosbridge,
and successfully computing the answer (according to printouts in the terminal window) , but nothing comes back to the browser. (the callback isn't called and doesn't look like any web messages
are coming in either according to Chrome Dev Tools.)
No errors occur that I can see.
I can run the turtlesim demo fine and overall ROS seems to be behaving well other than this problem.
From the above ROS answers URL, you can see that commenter Philipp was able to run this
tutorial successfully on his Ubuntu machine and that he had similar
ROS environment variables and /etc/hosts as me.
Answerer William Woodall was able to reproduce this problem on his OSX Yosemite & Indigo machine
(same as mine) and suggested I open this issue in rosbridge.
Comments in his answer sound like good clues to start with.
NOTE I would be happy if this issue was already fixed in Jade, but I have not tested it in Jade as
installing ROS on OSX is, um, difficult for me, but worth the switch if that's what it takes to resolve
this as its a showstopper for my app.
PS I'm running Python 2.7 and downloaded ROS indigo and Rosbridge about 2 weeks ago.
THANK YOU!
The text was updated successfully, but these errors were encountered: