problem while running the smach_viewer
Hello,
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 smach_viewer.py
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']
(smach_viewer.py:21267): GLib-GObject-WARNING **: 14:05:15.091: cannot register existing type 'GdkDisplayManager'
(smach_viewer.py:21267): GLib-CRITICAL **: 14:05:15.091: g_once_init_leave: assertion 'result != 0' failed
(smach_viewer.py:21267): GLib-GObject-CRITICAL **: 14:05:15.091: g_object_new_with_properties: assertion 'G_TYPE_IS_OBJECT (object_type)' failed
Asked by ShehabAldeen on 2018-11-12 14:12:00 UTC
Comments
I also encountered the same error, did you found a fix ?
Asked by Kapcirt on 2018-11-14 10:33:18 UTC
@Kapcirt @ShehabAldeen Did you find a solution for this? I downloaded the version from
apt
.Asked by Catherine Wong on 2019-01-09 17:31:47 UTC
same problem here
Asked by Stefan Doerr on 2019-01-10 05:29:01 UTC
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.Asked by gvdhoorn on 2019-01-10 06:36:48 UTC
I couldn't find a solution unfortunately. But it works fine on Ubuntu 16.04
Asked by ShehabAldeen on 2019-03-24 18:48:05 UTC