catkin_create_pkg
Hi,
I installed ROS Kinetic on Ubuntu 16.04 into Docker container. I created catkin workspace according to beginners tutorial. But when I try to create package, I get following exception:
$ catkin_create_pkg ahoj
Traceback (most recent call last):
File "/usr/local/bin/catkin_create_pkg", line 68, in <module>
main()
File "/usr/local/bin/catkin_create_pkg", line 61, in main
newfiles={})
File "/usr/local/lib/python3.5/dist-packages/catkin_pkg/package_templates.py", line 209, in create_package_files
_safe_write_files(newfiles, target_path)
File "/usr/local/lib/python3.5/dist-packages/catkin_pkg/package_templates.py", line 185, in _safe_write_files
fhand.write(content)
TypeError: a bytes-like object is required, not 'str'
Did you meed this situation somebody? It seems like function _safe_write_files
fhand.write
expects different data type than what it gets, but I don't understand why.
Thanks in advance for any idea, Radim