#1280·yewtube

No streams available, exception in thread, NoneType object not subscriptable in streams.py

Author: kkkaamisCreated Jul 31, 2024Updated Oct 13, 2025

Issue

Videos don't play, this error shows up. Sometimes it works, then goes back to not working. _No streams available [1/71>

Exception in thread Thread-2 (_preload): Traceback (most recent call last): File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/usr/lib/python3.11/threading.py", line 975, in run self._target(*self._args, **self._kwargs) File "/home/devuan/.local/pipx/venvs/yewtube/lib/python3.11/site-packages/mps_youtube/streams.py", line 196, in preload get_size(ytid, stream['url'], preloading=True) ~~~~~~^^^^^^^ TypeError: 'NoneType' object is not subscriptable

Your Environment

Devuan linux, using pipx and mpv