Skip to content

πŸ› | IdleShutdown timer brokenΒ #2536

@tbaumann

Description

@tbaumann

Version

3.6.0-alpha

Branch

future3/develop

OS

pi os lite - bullseye

Pi model

zero 2w

Hardware

No response

What happened?

Idle Shutdown Timer never worked. The error.log was spammed with below

Logs

Traceback (most recent call last):
  File "/home/tilli/RPi-Jukebox-RFID/src/jukebox/jukebox/plugs.py", line 755, in call_ignore_errors
    result = _call(package, plugin, method, args=args, kwargs=kwargs, as_thread=as_thread, thread_name=thread_name)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/tilli/RPi-Jukebox-RFID/src/jukebox/jukebox/plugs.py", line 703, in _call
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/tilli/RPi-Jukebox-RFID/src/jukebox/jukebox/multitimer.py", line 424, in start
    self._function = create_callback()
                     ^^^^^^^^^^^^^^^^^
  File "/home/tilli/RPi-Jukebox-RFID/src/jukebox/jukebox/multitimer.py", line 418, in create_callback
    instance = self._callee(*self.class_args, iterations=self._iterations,
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: IdleShutdown.__init__() got an unexpected keyword argument 'iterations'

Configuration

No response

More info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions