C0D3D3V / bbb-dl

Downlaod BigBlueButton recordings. A simple scrapper for Big Blue Button lessons. Download and merge the audio and video files of a BigBlueButton conference from the conference replay url.
MIT License
68 stars 17 forks source link

TypeError: 'ABCMeta' object is not subscriptable #40

Closed zoranmarkovic2001 closed 1 year ago

zoranmarkovic2001 commented 1 year ago

Ubuntu Mate 20.04.6 LTS Python 3.8.10
ffmpeg version 4.2.7

I followed the instructions:

pip install --user bbb-dl playwright install chromium bbb-dl

Traceback (most recent call last):
  File "/home/user/.local/bin/bbb-dl", line 5, in <module>
    from bbb_dl.main import main
  File "/home/user/.local/lib/python3.8/site-packages/bbb_dl/main.py", line 32, in <module>
    from bbb_dl.ffmpeg import FFMPEG
  File "/home/user/.local/lib/python3.8/site-packages/bbb_dl/ffmpeg.py", line 10, in <module>
    from ffmpeg.asyncio import FFmpeg
  File "/home/user/.local/lib/python3.8/site-packages/ffmpeg/asyncio/__init__.py", line 1, in <module>
    from .ffmpeg import FFmpeg
  File "/home/user/.local/lib/python3.8/site-packages/ffmpeg/asyncio/ffmpeg.py", line 14, in <module>
    from ffmpeg.asyncio.utils import create_subprocess, ensure_stream_reader, read_stream, readlines
  File "/home/user/.local/lib/python3.8/site-packages/ffmpeg/asyncio/utils.py", line 12, in <module>
    def create_subprocess(*args: Any, **kwargs: Any) -> Awaitable[asyncio.subprocess.Process]:
TypeError: 'ABCMeta' object is not subscriptable

a few months ago I used bbb-dl on mate and everything worked fine

C0D3D3V commented 1 year ago

Please make again sure you are on latest version: pip install --user -U bbb-dl

tell me then the version of bbb-dl using the --version option

zoranmarkovic2001 commented 1 year ago

I tested bbb-dl on classic Ubuntu 22.04 it works fine, it seems to be a problem with Ubuntu Mate OS, python return same error on start bbb-dl

C0D3D3V commented 1 year ago

I guess it is a problem with python 8. What is the python version on your other system?

zoranmarkovic2001 commented 1 year ago

Python 3.10.6 (main, Mar 10 2023, 10:55:28) [GCC 11.3.0] on linux

C0D3D3V commented 1 year ago

If the maintainer of python-ffmpeg does not fix it before me, I can make a PR later this week on the project I refered above...

zoranmarkovic2001 commented 1 year ago

It's not urgent for me, I thought it was a bbb-dl error, apparently the problem is in python 3.8 on 3.10 it works great sorry for my bad english

C0D3D3V commented 1 year ago

should be fixed now. You just have to update again or update python-ffmpeg

zoranmarkovic2001 commented 1 year ago

now work fine