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

Strange warnings when running image_view

asked 2013-01-24 02:20:22 -0500

Kevin gravatar image

When I run image_view, it works, but I get a lot of strange warnings on the command line:

[kevin@tardis ros_sandbox]$ rosrun image_view image_view image:=/opencv_cam/camera

(process:591): GLib-GObject-CRITICAL **: gtype.c:2720: You forgot to call g_type_init()

(process:591): GLib-CRITICAL **: void g_once_init_leave(volatile void *, gsize): assertion `result != 0' failed

(process:591): GLib-GObject-CRITICAL **: gtype.c:2720: You forgot to call g_type_init()

(process:591): GLib-GObject-CRITICAL **: gtype.c:2720: You forgot to call g_type_init()

(process:591): GLib-GObject-CRITICAL **: gtype.c:2720: You forgot to call g_type_init()

(process:591): GLib-GObject-CRITICAL **: void g_type_add_interface_static(GType, GType, const GInterfaceInfo *): assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(process:591): GLib-GObject-CRITICAL **: gtype.c:2720: You forgot to call g_type_init()

(process:591): GLib-GObject-CRITICAL **: void g_type_interface_add_prerequisite(GType, GType): assertion `G_TYPE_IS_INTERFACE (interface_type)' failed

(process:591): GLib-CRITICAL **: void g_once_init_leave(volatile void *, gsize): assertion `result != 0' failed

(process:591): GLib-GObject-CRITICAL **: void g_type_add_interface_static(GType, GType, const GInterfaceInfo *): assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(process:591): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `<invalid>'

(process:591): GLib-GObject-WARNING **: instance of invalid non-instantiatable type `(null)'

(process:591): GLib-GObject-CRITICAL **: gulong g_signal_connect_data(gpointer, const gchar *, GCallback, gpointer, GClosureNotify, GConnectFlags): assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
^C[kevin@tardis ros_sandbox]$

Not sure if it is related to this question or not. Any ideas how to fix this?

ROS Groovy

OSX 10.8, Homebrew

edit retag flag offensive close merge delete

Comments

You might want to try rqt_image_view which is based on Qt instead and should provide the same functionality.

Dirk Thomas gravatar image Dirk Thomas  ( 2013-01-24 20:53:56 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-01-24 07:33:50 -0500

WilliamWoodall gravatar image

I'm not sure where in the image_view code this comes from, but if memory serves, similar errors come up on Linux, and it might be that you can simply ignore those warnings.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-01-24 02:20:22 -0500

Seen: 592 times

Last updated: Jan 24 '13