See http://answers.ros.org/question/2758/unable-to-use-image_view-with-eletric The short answer there was, rebuild OpenCV without Qt. Cheers, Patrick On Thu, Jan 26, 2012 at 3:20 PM, Bence Magyar wrote: > Hello, > > I'm experiencing exactly the same with Ubuntu 11.04. > > > $rosrun image_view image_view image:=/gscam/image_raw > init done > > (:29973): GLib-GObject-WARNING **: invalid uninstantiatable type > `(null)' in cast to `GtkWidget' > > (:29973): GLib-GObject-WARNING **: instance of invalid > non-instantiatable type `(null)' > > (:29973): GLib-GObject-CRITICAL **: g_signal_connect_data: > assertion `G_TYPE_CHECK_INSTANCE (instance)' failed > > > Did any solution pop up since last August? :) > > --Bence > > 2011/8/6 Carlos J. > > >> >> On Fri, Aug 5, 2011 at 6:23 PM, Jack O'Quin wrote: >> >>> On Fri, Aug 5, 2011 at 5:13 PM, Carlos J. wrote: >>> > Perhaps, it's only my case, but I'm experiencing problems with >>> > image_pipeline packages, such as image_view and camera_calibration. >>> They >>> > seem related to wxWidgets. These problems occur only under electric. >>> The >>> > same packages seem to work fine under diamondback. I'm just crying out >>> loud >>> > to see if it's not just me who is experiencing this. >>> >>> More information would be helpful. >> >> >>> What system are you running? What packages did you try? >>> >>> I'm using Ubuntu 11.04 and these 2 problems (that I'm aware of) only >> happens only in ROS Electric. >> >> 1) When trying to run "image_view" (with all kind of images...tried >> different Image topics), I get this: >> $ rosrun image_view image_view image:=/camera/rgb/image_color >> [rospack] warning: ignoring duplicate "nodelet" tag in export block >> init done >> opengl support available >> >> (:15605): GLib-GObject-WARNING **: invalid uninstantiatable >> type `(null)' in cast to `GtkWidget' >> >> (:15605): GLib-GObject-WARNING **: instance of invalid >> non-instantiatable type `(null)' >> >> (:15605): GLib-GObject-CRITICAL **: g_signal_connect_data: >> assertion `G_TYPE_CHECK_INSTANCE (instance)' failed >> >> 2) With "camera_calibration", I get errors as following: >> $ rosrun camera_calibration cameracalibrator.py BLABLABLAH >> Traceback (most recent call last): >> File >> "/opt/ros/electric/stacks/image_pipeline/camera_calibration/nodes/cameracalibrator.py", >> line 50, in >> import cv2 >> ImportError: /usr/local/lib/python2.7/dist-packages/cv2.so: undefined >> symbol: _ZNK2cv5flann5Index12getAlgorithmEv >> >> What results did you expect? What did you get? >>> >> None of these problems occur when I use (switch back) to diamondback. The >> packages work as expected in diamondback. I have tried both binary and >> from-source packages with the same results. >> >> I hope this could give you an idea of the problem. >> >> Thanks a lot for looking into it! >> >> Carlos >> >> >> >>> -- >>> joq >>> _______________________________________________ >>> ros-users mailing list >>> ros-users@code.ros.org >>> https://code.ros.org/mailman/listinfo/ros-users >>> >> >> >> _______________________________________________ >> ros-users mailing list >> ros-users@code.ros.org >> https://code.ros.org/mailman/listinfo/ros-users >> >> > > _______________________________________________ > ros-users mailing list > ros-users@code.ros.org > https://code.ros.org/mailman/listinfo/ros-users > >