Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slimproto Traceback error #3497

Open
1 task done
bs42 opened this issue Jan 24, 2025 · 4 comments
Open
1 task done

Slimproto Traceback error #3497

bs42 opened this issue Jan 24, 2025 · 4 comments
Labels

Comments

@bs42
Copy link

bs42 commented Jan 24, 2025

What version of Music Assistant has the issue?

2.3.6

Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?

  • Yes

The problem

My logs are flooded with this error message, it prints about once per second.

2025-01-24 10:01:43.847 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/app/venv/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 478, in _handle_request
    resp = await request_handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/venv/lib/python3.12/site-packages/aiohttp/web_app.py", line 567, in _handle
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/app/venv/lib/python3.12/site-packages/aioslimproto/cli.py", line 300, in _handle_jsonrpc_client
    cmd_result = await self._handle_command(command_msg["params"])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/venv/lib/python3.12/site-packages/aioslimproto/cli.py", line 651, in _handle_command
    cmd_result = handler(player_id, *args, **kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: SlimProtoCLI._handle_players() takes from 2 to 4 positional arguments but 5 were given

How to reproduce

Enable the Slimproto provider.

Music Providers

N/A, it happens when music isn't even playing.

Player Providers

Slimproto

Full log output

See Above

Additional information

The error happens even while the music is playing.

What version of Home Assistant Core are your running

2025.1.3

What type of installation are you running?

Home Assistant OS

On what type of hardware are you running?

Linux

@bs42 bs42 added the triage label Jan 24, 2025
@OzGav
Copy link
Contributor

OzGav commented Jan 24, 2025

Please try with the beta. You can run that in a parallel just to test.

@bs42
Copy link
Author

bs42 commented Jan 24, 2025

Beta has the same error. All I did was to install it, go into the configuration and enable Slimproto and as soon as it detected a device it started throwing the same error.

@OzGav
Copy link
Contributor

OzGav commented Jan 24, 2025

What slimproto device(s) are you using?

@bs42
Copy link
Author

bs42 commented Jan 24, 2025

I have an AmpliPi whole home audio system which uses the squeezelite library:

https://www.micro-nova.com/amplipi
https://github.com/micro-nova/AmpliPi
https://github.com/ralph-irving/squeezelite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants