sick_ldmrs transport issue in python2.7
Bug #856901 reported by
Brett Grandbois
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
CSIRO ASL ROS |
Fix Released
|
High
|
Brett Grandbois |
Bug Description
Getting strange 'restarting xport due to: socket.recv zero-length, likely a shutdown signal' messages from the driver when running under python2.7, which basically means when running on natty.
Changed in csiro-asl-ros-pkg: | |
assignee: | nobody → Brett Grandbois (brett-grandbois) |
Changed in csiro-asl-ros-pkg: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
It's a change in the threading. Event.wait( ) return code from 2.6-->2.7. Our test_msg handlers use Event.wait to signal the returned test message back from the node but the test assert is checking the return code being False, where as in 2.7 it will now be True on successful event. Changed the code to explicitly check the Event.isSet() as that should work the same in all versions. Tested ok in natty64 and lucid32.