ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Getting a warning upon launch on different PCs

asked 2019-03-31 09:17:30 -0600

StevenCoral gravatar image

updated 2019-03-31 10:28:14 -0600

gvdhoorn gravatar image

Hi all, I have recently migrated from Kinetic and/or Indigo to Melodic, using Ubuntu 18.

My codes work fine but I keep getting the same message about a dozen times when launching a launch file:

XmbTextListToTextProperty result code -2

It repeats for about a dozen times after launching, but does not seem to effect the runtime. I just find it strange that this happens on 3 different computers with different launch files / nodes, and I can't find a thing on the internet.

Not sure which node causes this, I can check, but maybe someone here knows about a setting I might be able to change to get rid of this.

Blessings, Steve

edit retag flag offensive close merge delete


From a quick Google (searching for XmbTextListToTextProperty result code returns quite a few results) this appears to be an Xorg server Qt related error. I can't find the cause immediately, but various posts report that partial upgrades (of the OS) are too blame.

This does not seem to be directly related to ROS, other than the fact that many ROS UI tools use Qt.

gvdhoorn gravatar image gvdhoorn  ( 2019-03-31 10:30:01 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2019-04-01 09:48:08 -0600

StevenCoral gravatar image

I have run into this myself but having the solutions not working I deemed it coincidental. I eventually found out the reason: Clash between the locale and some library (which QT probably uses too). I realized that Wireshark is also spitting out the same thing. Ended up changing the locale as a workaround. Well then, I guess I'll have to stick to Imperial units n stuff. Not my cup of tea but anyway... Thanks all.

edit flag offensive delete link more


You cannot change the locale back?

From some of the Google results I got the impression that changing to a different locale and then changing back actually solved it as well.

gvdhoorn gravatar image gvdhoorn  ( 2019-04-01 09:50:28 -0600 )edit

Question Tools

1 follower


Asked: 2019-03-31 09:17:30 -0600

Seen: 396 times

Last updated: Mar 31 '19