Skip to content

Fails to run in Raspberry Pi OS + wayland unless smartpause is turned off #804

@archisman-panigrahi

Description

@archisman-panigrahi
safeeyes
WARNING:root:The ext_idle_notify_v1 feature is not available. Exception: No module named 'pywayland.protocol.ext_idle_notify_v1'
WARNING:root:This is likely due to an older version of Wayland.
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/safeeyes/safeeyes.py", line 275, in do_startup
    self.plugins_manager.start()  # Call the start method of all plugins
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3/dist-packages/safeeyes/plugin_manager.py", line 144, in start
    plugin.call_plugin_method("on_start")
    ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/safeeyes/plugin_manager.py", line 407, in call_plugin_method
    return self._call_plugin_method_internal(
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        method_name, num_args, *args, **kwargs
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3/dist-packages/safeeyes/plugin_manager.py", line 418, in _call_plugin_method_internal
    return getattr(self.module, method_name)(*args, **kwargs)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/safeeyes/plugins/smartpause/plugin.py", line 162, in on_start
    from .ext_idle_notify import (
    ...<2 lines>...
    )
  File "/usr/lib/python3/dist-packages/safeeyes/plugins/smartpause/ext_idle_notify.py", line 194, in <module>
    class ExtIdleNotifyInternal:
    ...<140 lines>...
            utility.execute_main_thread(self._on_resumed)
  File "/usr/lib/python3/dist-packages/safeeyes/plugins/smartpause/ext_idle_notify.py", line 200, in ExtIdleNotifyInternal
    _idle_notifier: typing.Optional[ExtIdleNotifierV1] = None
                                    ^^^^^^^^^^^^^^^^^
NameError: name 'ExtIdleNotifierV1' is not defined

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