You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the problem is with this expression inside msg.proto.em: comment = "//" + re.sub(r"\\n", "\n//", annotation.value["text"]). However, I do not know why this ever worked, maybe re changed or an issue about different python versions. On my environment, if I change this line to comment = "//" + re.sub(r"\n", "\n//", annotation.value["text"]), then generation works OK.
The text was updated successfully, but these errors were encountered:
ROS2 Galactic.
Simple Example of the Bug.
Consider the file UUID.msg, identical with ros2/unique_identifier_msgs/msg/UUID.msg:
Consider the file UUID.idl, generated by ROS2:
Consider the file UUID.proto, this is the file generated by rosidl_typesupport_protobuf/rosidl_adapter_proto/bin/rosidl_adapter_proto:
This is wrong and protoc will not compile it.
Lines 9-12 should instead be this:
I think the problem is with this expression inside msg.proto.em:
comment = "//" + re.sub(r"\\n", "\n//", annotation.value["text"])
. However, I do not know why this ever worked, maybere
changed or an issue about different python versions. On my environment, if I change this line tocomment = "//" + re.sub(r"\n", "\n//", annotation.value["text"])
, then generation works OK.The text was updated successfully, but these errors were encountered: