Skip to content

Entangle window not showing after enabling the plugin #9

@ABelliqueux

Description

@ABelliqueux

Hi,

When trying to enable the plugin with entangle 3.0, I'm getting the following messages in the terminal :

/home/foo/.config/entangle/plugins/stopmo_preview/stopmo_preview.py:10: PyGIWarning: Entangle was imported without specifying a version first. Use gi.require_version('Entangle', '0.1') before import to ensure that the right version gets loaded.
  from gi.repository import Entangle
Traceback (most recent call last):
  File "/home/foo/.config/entangle/plugins/stopmo_preview/stopmo_preview.py", line 291, in do_activate
    self.do_activate_window(win)
  File "/home/foo/.config/entangle/plugins/stopmo_preview/stopmo_preview.py", line 264, in do_activate_window
    pb.activate()
  File "/home/foo/.config/entangle/plugins/stopmo_preview/stopmo_preview.py", line 180, in activate
    builder = self.win.get_builder()
AttributeError: 'CameraManager' object has no attribute 'get_builder'. Did you mean: 'get_children'?

and subsequent launches of entangle result in no window appearing, and the following messages :

/usr/lib/python3.10/site-packages/gi/module.py:163: Warning: cannot register existing type 'GtkWidget'
  g_type = info.get_g_type()
/usr/lib/python3.10/site-packages/gi/module.py:163: Warning: cannot add class private field to invalid type '<invalid>'
  g_type = info.get_g_type()
/usr/lib/python3.10/site-packages/gi/module.py:163: Warning: cannot add private field to invalid (non-instantiatable) type '<invalid>'
  g_type = info.get_g_type()
/usr/lib/python3.10/site-packages/gi/module.py:163: Warning: cannot register existing type 'GtkAccessible'
  g_type = info.get_g_type()
/usr/lib/python3.10/site-packages/gi/module.py:163: Warning: g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed
  g_type = info.get_g_type()
/usr/lib/python3.10/site-packages/gi/module.py:163: Warning: g_once_init_leave: assertion 'result != 0' failed
  g_type = info.get_g_type()
/usr/lib/python3.10/site-packages/gi/module.py:163: Warning: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
  g_type = info.get_g_type()
/usr/lib/python3.10/site-packages/gi/module.py:163: Warning: cannot register existing type 'GtkBuildable'
  g_type = info.get_g_type()

I'm using python 3.10 with pgi 0.0.11.2.

Please let me know if I can provide more useful informations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions