arebgun / dynamixel_motor

ROS stack for interfacing with Robotis Dynamixel line of servo motors.
BSD 3-Clause "New" or "Revised" License
70 stars 169 forks source link

UnicodeEncodeError: 'ascii' codec can't encode character #39

Closed 130s closed 9 years ago

130s commented 9 years ago

A user (Win7, VMWare Player. Tried both Hydro on 12.04 and Indigo on 14.04) keeps seeing the following.

$ rosrun dynamixel_driver change_id.py -p /dev/ttyUSB0 1 2 3 4
:
UnicodeEncodeError: 'ascii' codec can't encode character u'\xa0' in position 20: ordinal not in range(128)

We managed to find that rebooting host OS resolves this. But it'd be nicer if we know a solution to this.

k-okada commented 9 years ago

please run with ipython and identify which line did this error occurs