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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unnecessary error message when headless rendering is enabled #569

Merged
merged 1 commit into from
Feb 28, 2022

Conversation

azeey
Copy link
Contributor

@azeey azeey commented Feb 28, 2022

馃 Bug fix

Fixes gazebosim/gz-sim#1270

Summary

Currently, when running headless mode, an error [Err] [Ogre2RenderEngine.cc:394] Unable to open display: is emitted in ign-gazebo even though rendering continues to work as expected. I think this is a false alarm and can be removed.

Also, currently, when a display is not found in non-headless mode, there is an error emitted saying "Unable to open display". I changed this to a warning since rendering continues to work if headless mode succeeds.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
@azeey azeey requested a review from iche033 as a code owner February 28, 2022 17:14
@azeey azeey self-assigned this Feb 28, 2022
@osrf-triage osrf-triage added this to Inbox in Core development Feb 28, 2022
@github-actions github-actions bot added the 馃彲 fortress Ignition Fortress label Feb 28, 2022
Core development automation moved this from Inbox to In review Feb 28, 2022
@codecov
Copy link

codecov bot commented Feb 28, 2022

Codecov Report

Merging #569 (f7a7f19) into ign-rendering6 (4d4e3db) will increase coverage by 0.00%.
The diff coverage is 25.00%.

Impacted file tree graph

@@               Coverage Diff               @@
##           ign-rendering6     #569   +/-   ##
===============================================
  Coverage           54.37%   54.37%           
===============================================
  Files                 198      198           
  Lines               20146    20149    +3     
===============================================
+ Hits                10954    10956    +2     
- Misses               9192     9193    +1     
Impacted Files Coverage 螖
ogre2/src/Ogre2RenderEngine.cc 78.28% <25.00%> (-0.31%) 猬囷笍
...e/ignition/rendering/base/BaseGaussianNoisePass.hh 100.00% <0.00%> (+3.33%) 猬嗭笍

Continue to review full report at Codecov.

Legend - Click here to learn more
螖 = absolute <relative> (impact), 酶 = not affected, ? = missing data
Powered by Codecov. Last update 4d4e3db...f7a7f19. Read the comment docs.

Copy link
Contributor

@iche033 iche033 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me.

@iche033 iche033 merged commit a6170b1 into gazebosim:ign-rendering6 Feb 28, 2022
Core development automation moved this from In review to Done Feb 28, 2022
@j-rivero j-rivero removed this from Done in Core development May 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
馃彲 fortress Ignition Fortress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to open display error in headless rendering mode
3 participants