QT: Camera access from drop down button with pyqt5
-
wrote on 12 Jan 2023, 05:02 last edited by
Hello,
I am trying to access camera in a label from drop down button from USB WEBCAM but its given me a error:(python:22649): GLib-GObject-WARNING **: 18:29:54.843: cannot register existing type 'GdkDisplayManager'
(python:22649): GLib-CRITICAL **: 18:29:54.843: g_once_init_leave: assertion 'result != 0' failed
(python:22649): GLib-GObject-CRITICAL **: 18:29:54.843: g_object_new_with_properties: assertion 'G_TYPE_IS_OBJECT (object_type)' failed
(python:22649): GLib-GObject-WARNING **: 18:29:54.843: invalid (NULL) pointer instance
(python:22649): GLib-GObject-CRITICAL **: 18:29:54.843: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(python:22649): GLib-GObject-WARNING **: 18:29:54.843: invalid (NULL) pointer instance
(python:22649): GLib-GObject-CRITICAL **: 18:29:54.843: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(python:22649): GLib-GObject-WARNING **: 18:29:54.844: cannot register existing type 'GdkDisplay'
(python:22649): GLib-CRITICAL **: 18:29:54.844: g_once_init_leave: assertion 'result != 0' failed
(python:22649): GLib-GObject-CRITICAL **: 18:29:54.844: g_type_register_static: assertion 'parent_type > 0' failed
(python:22649): GLib-CRITICAL **: 18:29:54.844: g_once_init_leave: assertion 'result != 0' failed
(python:22649): GLib-GObject-CRITICAL **: 18:29:54.844: g_object_new_with_properties: assertion 'G_TYPE_IS_OBJECT (object_type)' failed
Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)
-
Hi and welcome to devnet,
You don't give enough details.
What are you using ?
Which version of Qt ?
Which Linux distribution ?
etc.
1/2