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

Eva-owyl docker build error #117

Closed
karthikbmk opened this issue May 26, 2017 · 1 comment
Closed

Eva-owyl docker build error #117

karthikbmk opened this issue May 26, 2017 · 1 comment

Comments

@karthikbmk
Copy link
Member

Hello,
I am trying to to build eva-owyl, and I am getting below error. Can some please help ? Thank you in advance..

Step 31/34 : RUN bash -l -c "/opt/ros/indigo/bin/catkin_make"
---> Running in b5a35e51e67d
CMake Error at CMakeLists.txt:20 (message):
Search for 'catkin' in workspace failed (catkin_find_pkg catkin
/catkin_ws/src): Traceback (most recent call last):

File "/usr/local/bin/catkin_find_pkg", line 33, in <module>
  main()
File "/usr/local/bin/catkin_find_pkg", line 21, in main
  packages = find_packages(args.base_path)
File "/usr/local/lib/python3.4/dist-packages/catkin_pkg/packages.py", line 83, in find_packages
  packages = find_packages_allowing_duplicates(basepath, exclude_paths=exclude_paths, exclude_subspaces=exclude_subspaces)
File "/usr/local/lib/python3.4/dist-packages/catkin_pkg/packages.py", line 109, in find_packages_allowing_duplicates
  packages[path] = parse_package(os.path.join(basepath, path))
File "/usr/local/lib/python3.4/dist-packages/catkin_pkg/package.py", line 356, in parse_package
  return parse_package_string(f.read(), filename)
File "/usr/lib/python3.4/encodings/ascii.py", line 26, in decode
  return codecs.ascii_decode(input, self.errors)[0]

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

-- Configuring incomplete, errors occurred!
See also "/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/catkin_ws/build/CMakeFiles/CMakeError.log".
Base path: /catkin_ws
Source space: /catkin_ws/src
Build space: /catkin_ws/build
Devel space: /catkin_ws/devel
Install space: /catkin_ws/install

Running command: "make cmake_check_build_system" in "/catkin_ws/build"

make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
The command '/bin/sh -c bash -l -c "/opt/ros/indigo/bin/catkin_make"' returned a non-zero code: 1

@karthikbmk
Copy link
Member Author

It worked after I did following :
In /usr/local/lib/python3.4/dist-packages/catkin_pkg/package.py, in parse_package(path) , set the encoding as 'utf8'.

with open(filename, 'r',encoding='utf8') as f:

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

1 participant