UnicodeDecodeError: 'ascii' codec can't decode byte 0xdf in position 25: ordinal not in range(128)

asked 2018-02-18 05:45:43 -0500

BhanuKiran.Chaluvadi gravatar image

updated 2018-02-19 02:37:44 -0500

Hi,

I am using ROS Kinetic on Linux 16.06

Am trying to build my own package and got this error and got no clue on getting around it. Read an online post ( link text) but not sure on how applying it.

ERROR

Errors     << test:symlink /home/bc/catkin_ws/logs/test/build.symlink.006.log
File "/usr/lib/python2.7/dist-packages/catkin_tools/execution/stages.py", line 174, in function_proxy
return function(logger, event_queue, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/catkin_tools/jobs/catkin.py", line 291, in link_devel_products
source_hash = md5(open(os.path.realpath(source_file)).read().encode('utf-8')).hexdigest()
UnicodeDecodeError: 'ascii' codec can't decode byte 0xdf in position 25: ordinal not in range(128)

Stage `symlink` failed with arguments:

package.xml

<?xml version="1.0"?>
<package format="2">
  <name>test</name>
  <version>1.0.0</version>
  <description>The test package</description>
  <maintainer email="bc@todo.todo">bc</maintainer>
  <license>BSD</license>

  <buildtool_depend>catkin</buildtool_depend>
  <build_depend>message_generation</build_depend>
  <exec_depend>message_runtime</exec_depend>

  <depend>tf</depend>
  <depend>roscpp</depend>
  <depend>std_msgs</depend>
  <depend>sensor_msgs</depend>
  <depend>geometry_msgs</depend>
  <depend>laser_geometry</depend>
  <depend>message_filters</depend>

  <!-- The export tag contains other, unspecified, tags -->
  <export>
    <!-- Other tools can request additional information be placed here -->

  </export>
</package>
edit retag flag offensive close merge delete

Comments

Do you have any special characters in your package.xml? Perhaps your name, or name of the institution?

gvdhoorn gravatar imagegvdhoorn ( 2018-02-19 01:56:35 -0500 )edit

I don't observe any such thing. I just updated the question with package.xml

BhanuKiran.Chaluvadi gravatar imageBhanuKiran.Chaluvadi ( 2018-02-19 02:38:49 -0500 )edit

Hi, I have the same problem as yours. Have you figure it out how to solve it?

Xiii gravatar imageXiii ( 2018-06-23 11:09:36 -0500 )edit