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

v3.4.3 regression: yarprobotinterface floods its output with Command received and Response sent: messages #2630

Closed
traversaro opened this issue Jul 1, 2021 · 4 comments · Fixed by #2631
Assignees
Labels

Comments

@traversaro
Copy link
Member

traversaro commented Jul 1, 2021

Describe the bug
After https://github.com/robotology/yarp/pull/2485/files, yarprobotinterface on the yarp-3.4 branch and on releases v3.4.3, v3.4.4 and v3.4.5 is flooding its output with Command received and Response sent:, making really hard to read the other relevant output. The problem was fixed in master (YARP 3.5) in d02db05#diff-3bbd8f68798112a6c309136664e4e9bb42af65bec13be7143219a14551c38aa8 , but the nature of the bug is such that it is complicated to use yarprobotinterface with v3.4.3/v3.4.4/v3.4.5 releases.

To Reproduce
Run yarprobotinterface (probably @xEnVrE @S-Dafarra can add more input).

Expected behavior
The log should contains relevant output, not the same message repeatdly printed.

Screenshots
MicrosoftTeams-image (5)

Configuration (please complete the following information):

  • OS: Ubuntu 20.04
  • yarp version: v3.4.3
  • compiler: GCC 9

Additional context
This problem was detected by both @S-Dafarra and @xEnVrE .

@traversaro
Copy link
Member Author

A fix for this issue is provided in #2631 .

@traversaro
Copy link
Member Author

@S-Dafarra @xEnVrE as a temporary workaround, you can ensure that YARP does not print Debug statements by defining the environment variable YARP_DEBUG_ENABLE to 0 , see http://www.yarp.it/git-master/yarp_logging.html#autotoc_md911 for more info.

@S-Dafarra
Copy link
Contributor

Thanks a lot @traversaro for opening the issue. While rushing for a deadline, we simply commented out the lines affected by d02db05

@S-Dafarra
Copy link
Contributor

S-Dafarra commented Jul 1, 2021

Run yarprobotinterface (probably @xEnVrE @S-Dafarra can add more input).

That was happening when opening a yarpmotorgui for example, saturating the logger in seconds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants