[JdeRobot] [jderobot] Error in import CV2

JoseMaria CaƱas Plaza jmplaza at gsyc.es
Mon Mar 6 18:10:59 CET 2017


Hi JoseAntonio,

that seems more an OpenCV problem than a JdeRobot one :-)

The "init done opengl support available" are warning messages
according to these webs [1][2]. Try to explore the OpenCV example
demos, like grabcut.py to check that OpenCV is working fine on your
machine.

Cheers,

JoseMaria
[1] http://answers.opencv.org/question/91423/supressing-init-done-and-opengl-support-available/
[2] http://answers.opencv.org/question/117084/init-done-opengl-support-available/

On Sun, Mar 5, 2017 at 6:40 PM, Jose Antonio <cbyte18 en gmail.com> wrote:
> Hi all, I update my situation.
>
> I did a apt-get dist-upgrade and the import problem disappeared. However i
> can't do a simple read image and show it.
>
> I do
>
> im = cv2.imread('images/plazaMayor600x600.png');
> cv2.imshow('image',im)
>
> And i get
>
> init doneSef
> opengl support available
>
> And a window open and close with no error. If i execute from terminal I get
> the same problem however produces a crash on ubuntu with more information:
>
> "Segfault happened at 0x7f5fe89fb629 can't access to this direction not
> located in a know VMA region
>
> Stack memory exhausted"
>
> Thanks everybody
>
> El 05/03/17 a las 11:16, Jose Antonio escribiĆ³:
>
> Hi all,
>
> I've a problem when i do the import in my python code. In this simple line
> of code my program crashes:
>
> from cv2 import *
>
> With the following error:
>
> ImportError: /usr/lib/x86_64-linux-gnu/libQt5OpenGL.so.5: undefined symbol:
> _ZN15QStaticTextItem13setFontEngineEP11QFontEngine
>
> I not have idea of what is wrong I installed the jderobot from apt
> repositories an it didn't give me any problem
>
>
> thanks all
>
>
>
> _______________________________________________
> Jde-developers mailing list
> Jde-developers en gsyc.urjc.es
> https://gsyc.urjc.es/cgi-bin/mailman/listinfo/jde-developers
>



-- 
Universidad Rey Juan Carlos
http://gsyc.urjc.es/jmplaza


More information about the Jde-developers mailing list