0
$\begingroup$

I am following this tutorial, MoveIt Setup Assistant.

Whenever I click load files, after choosing the panda.urdf file, the loading bar gets to 50% and then crashes.

The last lines of the output are:

Aborted (Signal sent by tkill() 3813 1000)
[ros2run]: Aborted

and the main error seems to be:

[rviz_rendering:error] rviz::RenderSystem: error creating render window: RenderingAPIException: Invalid parentWindowHandle (wrong server or screen) in GLXWindow::create at ./.obj-x86_64-linux-gnu/ogre_vendor-prefix/src/ogre_vendor/RenderSystems/GLSupport/src/GLX/OgreGLXWindow.cpp (line 246), at ./src/rviz_rendering/render_system.cpp:564
[rviz_rendering:error] Unable to create the rendering window after 100 tries, at ./src/rviz_rendering/render_system.cpp:518
terminate called after throwing an instance of 'std::runtime_error'
  what():  Unable to create the rendering window after 100 tries

I am using virtual box to run Ubuntu 24.04 and I am using Ros 2 Jazzy.

Please can someone help me fix this issue so that I can complete the tutorial and then use the setup assistant with my own urdf file.

$\endgroup$

2 Answers 2

2
$\begingroup$

please check the fix here #1245 - it helped me overcome this issue

but TLDR: I ran this on the terminal before opening the assistant

export QT_QPA_PLATFORM=xcb
$\endgroup$
0
$\begingroup$

Every time I've encountered this error message, it has been due to background updates causing inconsistencies in the GPU drivers. Usually, restarting the computer will resolve the issue.

$\endgroup$
1
  • $\begingroup$ I tried updating my host OS (Windows 11) and my VM OS (Ubuntu 24.04) and restarting both, but I'm still getting the same error. Do you have any other suggestions? $\endgroup$ Commented Mar 9 at 13:43

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.