gazebosim / gz-msgs

Messages for Gazebo robot simulation.
https://gazebosim.org
Apache License 2.0
23 stars 47 forks source link

Custom gz-msgs example raises "File already exists in database" warnings #460

Open romulogcerqueira opened 2 months ago

romulogcerqueira commented 2 months ago

Environment

Description

When compiling the generating_custom_msgs example and setting the GZ_DESCRIPTOR_PATH environment variable to point to the path of the generated .gz_desc file, the following warnings are raised when running the Gazebo stack.

[libprotobuf ERROR google/protobuf/descriptor_database.cc:120] File already exists in database: gz/msgs/time.proto
[libprotobuf ERROR google/protobuf/descriptor_database.cc:120] File already exists in database: gz/msgs/header.proto

Steps to reproduce / Output

image

azeey commented 3 weeks ago

@iche033 to test if this is fixed by https://github.com/gazebosim/gz-msgs/pull/472

iche033 commented 3 weeks ago

after taking a closer look, I think this is unrelated to #472. Tested and saw that warnings are still printed.