Instinctlol / automatic-twitch-recorder

Checks if a user on twitch is currently streaming and then records the stream via streamlink
187 stars 40 forks source link

Exception finished returned NoneType #39

Closed PhreakyFreay closed 3 years ago

PhreakyFreay commented 3 years ago

Everytime a Streamer ends the stream I get an error:

 error:concurrent.futures:exception calling callback for <Future at 0x7f506088931
0 state=finished returned NoneType>
Traceback (most recent call last):
  File "/usr/lib/python3.9/concurrent/futures/_base.py", line 329, in _invoke_ca
llbacks
    callback(self)
  File "/home/user/atw/automatic-twitch-recorder/daemon.py", line 136, in _watche
r_callback
    streamer = streamer_dict['user_info']['login']
TypeError: 'NoneType' object is not subscriptable

I use python 3.2.9 Streamlink 2.0.0

After this error the streamer stays "online" in the list.

ramflores91 commented 1 year ago

I get the same error. What was the fix for this issue?