Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
1.2 kB
1
Indexable
Never
[out#0/matroska @ 000002be7c5d3f40] video:1459757kB audio:449524kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.328813%
size= 1934652kB time=04:09:59.97 bitrate=1056.6kbits/s speed= 509x
stat: path should be string, bytes, os.PathLike or integer, not NoneType
Traceback (most recent call last):
  File "C:\Users\Jyoti\AppData\Local\Programs\Python\Python39\lib\site-packages\pyrogram\dispatcher.py", line 242, in handler_worker
    await self.loop.run_in_executor(
  File "C:\Users\Jyoti\AppData\Local\Programs\Python\Python39\lib\concurrent\futures\thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "C:\Users\Jyoti\Desktop\TataPlay\Bot\TataPlay_Bot-RC\main.py", line 47, in tplay_past_catchup_dl_cmd_handler
    download_playback_catchup(channel, cmd[1].strip() , data_json, app, message)
  File "C:\Users\Jyoti\Desktop\TataPlay\Bot\TataPlay_Bot-RC\tata.py", line 213, in download_playback_catchup
    size = humanbytes(os.path.getsize(filename))
  File "C:\Users\Jyoti\AppData\Local\Programs\Python\Python39\lib\genericpath.py", line 50, in getsize
    return os.stat(filename).st_size
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
Leave a Comment