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
I also encountered the same error, did you found a fix ?
@Kapcirt@ShehabAldeen Did you find a solution for this? I downloaded the version from
apt
.same problem here
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.I couldn't find a solution unfortunately. But it works fine on Ubuntu 16.04