Skip to content

AttributeError: When using gi.repository you must not import static modules like "gobject". Please change all occ... #200

@sentry

Description

@sentry

Sentry Issue: HM-CONFIG-32

AttributeError: When using gi.repository you must not import static modules like "gobject". Please change all occurrences of "import gobject" to "from gi.repository import GObject". See: https://bugzilla.gnome.org/show_bug.cgi?id=709183
(4 additional frame(s) were not displayed)
...
  File "__main__.py", line 66, in start
    FIRMWARE_VERSION
  File "/opt/gatewayconfig/gatewayconfig_app.py", line 45, in __init__
    self.shared_state
  File "/opt/gatewayconfig/processors/bluetooth_services_processor.py", line 12, in __init__
    super().__init__()
  File "/opt/lib/cputemp/service.py", line 62, in __init__
    self.mainloop = GObject.MainLoop()
  File "__init__.py", line 69, in __getattr__
    raise AttributeError(_static_binding_error)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions