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

bug: connection get lost #91

Open
Rushaway opened this issue Feb 13, 2025 · 0 comments
Open

bug: connection get lost #91

Rushaway opened this issue Feb 13, 2025 · 0 comments

Comments

@Rushaway
Copy link
Member

2025-02-13T14:49:07+0100 | INFO | Stopped file:///home/container/sounds/solo.mp3
2025-02-13T14:49:07+0100 | ERROR | Task exception was never retrieved
future: <Task finished name='Task-358650' coro=<FFmpegAudioPlayer._read_stream() done, defined at /usr/local/lib/python3.10/site-packages/torchlight/FFmpegAudioPlayer.py:222> exception=ConnectionResetError('Connection lost')>
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/torchlight/FFmpegAudioPlayer.py", line 252, in _read_stream
    raise exc
  File "/usr/local/lib/python3.10/site-packages/torchlight/FFmpegAudioPlayer.py", line 233, in _read_stream
    await writer.drain()
  File "/usr/local/lib/python3.10/asyncio/streams.py", line 371, in drain
    await self._protocol._drain_helper()
  File "/usr/local/lib/python3.10/asyncio/streams.py", line 167, in _drain_helper
    raise ConnectionResetError('Connection lost')
ConnectionResetError: Connection lost
2025-02-13T14:49:07+0100 | ERROR | Task exception was never retrieved
future: <Task finished name='Task-358649' coro=<FFmpegAudioPlayer._write_stream() done, defined at /usr/local/lib/python3.10/site-packages/torchlight/FFmpegAudioPlayer.py:291> exception=BrokenPipeError()>
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/torchlight/FFmpegAudioPlayer.py", line 308, in _write_stream
    raise exc
  File "/usr/local/lib/python3.10/site-packages/torchlight/FFmpegAudioPlayer.py", line 302, in _write_stream
    await writer.drain()
  File "/usr/local/lib/python3.10/asyncio/streams.py", line 371, in drain
    await self._protocol._drain_helper()
  File "/usr/local/lib/python3.10/asyncio/streams.py", line 173, in _drain_helper
    await waiter
BrokenPipeError
2025-02-13T14:49:08+0100 | ERROR | Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/torchlight/Subscribe.py", line 139, in OnPublish
    callback(**event["data"])
TypeError: TorchlightHandler.Event_PlayerSay() missing 1 required positional argument: 'text'

2025-02-13T14:49:08+0100 | ERROR | {'name': 'player_say', 'data': {'userid': 1400}}
2025-02-13T14:49:13+0100 | INFO | Historia: ['!abuse', '']
2025-02-13T14:49:13+0100 | INFO | Playing file:///home/container/sounds/humanz_abuse.mp3
2025-02-13T14:49:13+0100 | INFO | Streaming file:///home/container/sounds/humanz_abuse.mp3
2025-02-13T14:49:14+0100 | INFO | OnConnect(name=Nine, index=53, userid=1868, networkid=[U:1:1242046568], address=, bot=0)
2025-02-13T14:49:17+0100 | INFO | Stopped file:///home/container/sounds/humanz_abuse.mp3
2025-02-13T14:49:19+0100 | INFO | [Infected]!!JackAttack!!: ['!solo', '']
2025-02-13T14:49:19+0100 | INFO | Playing file:///home/container/sounds/solo.mp3
2025-02-13T14:49:20+0100 | INFO | Streaming file:///home/container/sounds/solo.mp3
2025-02-13T14:49:20+0100 | INFO | Stopped file:///home/container/sounds/solo.mp3
2025-02-13T14:49:20+0100 | ERROR | Task exception was never retrieved
future: <Task finished name='Task-358677' coro=<FFmpegAudioPlayer._read_stream() done, defined at /usr/local/lib/python3.10/site-packages/torchlight/FFmpegAudioPlayer.py:222> exception=ConnectionResetError('Connection lost')>
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/torchlight/FFmpegAudioPlayer.py", line 252, in _read_stream
    raise exc
  File "/usr/local/lib/python3.10/site-packages/torchlight/FFmpegAudioPlayer.py", line 233, in _read_stream
    await writer.drain()
  File "/usr/local/lib/python3.10/asyncio/streams.py", line 371, in drain
    await self._protocol._drain_helper()
  File "/usr/local/lib/python3.10/asyncio/streams.py", line 167, in _drain_helper
    raise ConnectionResetError('Connection lost')
ConnectionResetError: Connection lost
2025-02-13T14:49:20+0100 | ERROR | Task exception was never retrieved
future: <Task finished name='Task-358676' coro=<FFmpegAudioPlayer._write_stream() done, defined at /usr/local/lib/python3.10/site-packages/torchlight/FFmpegAudioPlayer.py:291> exception=BrokenPipeError()>
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/torchlight/FFmpegAudioPlayer.py", line 308, in _write_stream
    raise exc
  File "/usr/local/lib/python3.10/site-packages/torchlight/FFmpegAudioPlayer.py", line 302, in _write_stream
    await writer.drain()
  File "/usr/local/lib/python3.10/asyncio/streams.py", line 371, in drain
    await self._protocol._drain_helper()
  File "/usr/local/lib/python3.10/asyncio/streams.py", line 173, in _drain_helper
    await waiter
BrokenPipeError
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant