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

'QbittorrentManager' object does not support the context manager protocol during torrent finish event #27

Closed
rlyalchenko opened this issue Jan 2, 2024 · 0 comments · Fixed by #28

Comments

@rlyalchenko
Copy link

Hi,

I've just got the following error in log, when the bot tried to notify about a completed downlod.

Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/apscheduler/executors/base_py3.py", line 30, in run_coroutine_job
    retval = await job.func(*job.args, **job.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/src/utils.py", line 15, in torrent_finished
    with QbittorrentManager() as qb:
TypeError: 'QbittorrentManager' object does not support the context manager protocol

I'm using the latest image from Docker hub.

@ch3p4ll3 ch3p4ll3 linked a pull request Jan 2, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant