problem while running the smach_viewer

asked 2018-11-12 13:12:00 -0500

ShehabAldeen gravatar image


I have written a state machine using the SMACH package and the state machine is running without any problems. the problem comes in visualization whenever I am trying to run the rosrun smach_viewer I got the following error unfortunately.

I am using ROS Melodic on Ubuntu 18.04

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 **: 14:05:15.091: cannot register existing type 'GdkDisplayManager'

( GLib-CRITICAL **: 14:05:15.091: g_once_init_leave: assertion 'result != 0' failed

( GLib-GObject-CRITICAL **: 14:05:15.091: g_object_new_with_properties: assertion 'G_TYPE_IS_OBJECT (object_type)' failed
edit retag flag offensive close merge delete



I also encountered the same error, did you found a fix ?

Kapcirt gravatar image Kapcirt  ( 2018-11-14 09:33:18 -0500 )edit

@Kapcirt@ShehabAldeen Did you find a solution for this? I downloaded the version from apt.

Catherine Wong gravatar image Catherine Wong  ( 2019-01-09 16:31:47 -0500 )edit

same problem here

Stefan Doerr gravatar image Stefan Doerr  ( 2019-01-10 04:29:01 -0500 )edit

This appears to be a know problem, see ros-visualization/executive_smach_visualization#20.

And another "know problem": smach_viewer is essentially almost "unmaintained" at the moment.

gvdhoorn gravatar image gvdhoorn  ( 2019-01-10 05:36:48 -0500 )edit

I couldn't find a solution unfortunately. But it works fine on Ubuntu 16.04

ShehabAldeen gravatar image ShehabAldeen  ( 2019-03-24 18:48:05 -0500 )edit