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

atvremote cli crashes repeatedly #2376

Open
maxileith opened this issue Mar 19, 2024 · 0 comments
Open

atvremote cli crashes repeatedly #2376

maxileith opened this issue Mar 19, 2024 · 0 comments
Labels

Comments

@maxileith
Copy link
Contributor

Describe the bug

When entering the atvremote cli, the process crashes regularly as described in maxileith/homebridge-appletv-enhanced#325.

Error log


File "/var/lib/homebridge/appletv-enhanced/.venv/lib/python3.8/site-packages/pyatv/core/protocol.py", line 56, in heartbeater
    await sender_func(message)
  File "/var/lib/homebridge/appletv-enhanced/.venv/lib/python3.8/site-packages/pyatv/protocols/airplay/ap2_session.py", line 94, in _send_feedback
    await self.rtsp.feedback()
  File "/var/lib/homebridge/appletv-enhanced/.venv/lib/python3.8/site-packages/pyatv/support/rtsp.py", line 248, in feedback
    return await self.exchange("POST", uri="/feedback", allow_error=allow_error)
  File "/var/lib/homebridge/appletv-enhanced/.venv/lib/python3.8/site-packages/pyatv/support/rtsp.py", line 320, in exchange
    raise TimeoutError(

[3/19/2024, 12:53:34 AM] [Apple TV Enhanced] [E] Apple TV Lounge TV (REDACTED): Rocket Remote: Traceback (most recent call last):
  File "/var/lib/homebridge/appletv-enhanced/.venv/bin/atvremote", line 8, in <module>
    sys.exit(main())
  File "/var/lib/homebridge/appletv-enhanced/.venv/lib/python3.8/site-packages/pyatv/scripts/atvremote.py", line 1003, in main
    return loop.run_until_complete(appstart(loop))
  File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
asyncio.exceptions.CancelledError

How to reproduce the bug?

  1. Start the atvremote cli
  2. Wait
  3. The process crashes with the provided error

What is expected behavior?

The process does not crash

Operating System

Linux

Python

3.8

pyatv

0.14.5

Device

unknown by me

Additional context

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

1 participant