Ask Your Question

How to get smach_viewer to work?

asked 2019-07-31 20:56:34 -0500

Frimann gravatar image

I'm trying to get smach_viewer to work on Ubuntu 18.04 using ROS Melodic, and I'm spinning endlessly down the python module import spiral! :)

I'm wondering if there are some directions online how to get smach_viewer to work?

So far I've done the following:

Used pip to install:


Used apt to install


I'm now stuck at this error saying:

$rosrun smach_viewer
wxversion 2.8 is not installed, installed versions are ['3.0-gtk3']
wxversion 2.8 is not installed, installed versions are ['3.0-gtk3']

( GLib-GObject-WARNING **: 01:50:46.763: cannot register existing type 'GdkDisplayManager'

( GLib-CRITICAL **: 01:50:46.763: g_once_init_leave: assertion 'result != 0' failed

( GLib-GObject-CRITICAL **: 01:50:46.763: g_object_new_with_properties: assertion 'G_TYPE_IS_OBJECT (object_type)' failed

Now I'm not sure if I've installed the right packages, but I managed to get past all the import statements :) Anyone ot a clue how to get the smach_viewer working?

regards Frimann

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-08-01 03:38:15 -0500

manox gravatar image

Some time ago we also wanted to use smach and the viewer, but it resulted in implementing our own viewer as the smach viewer had to many problems. Now, we completely switched to flexbe ( wich is the way to got in my opinion. It is also based on smach, has a nice viewer and is under active development.

edit flag offensive delete link more


Thanks for the hint. I've switched to FlexBE, and so far so good!

Frimann gravatar imageFrimann ( 2019-08-07 07:06:59 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2019-07-31 20:56:34 -0500

Seen: 45 times

Last updated: Aug 01