Skip to content

Instantly share code, notes, and snippets.

@pentago
Created April 7, 2024 09:56
Show Gist options
  • Save pentago/ffe3bb37d6b966dbbbb3c85fc6cacf7c to your computer and use it in GitHub Desktop.
Save pentago/ffe3bb37d6b966dbbbb3c85fc6cacf7c to your computer and use it in GitHub Desktop.
Apr 07 11:49:29 server python[79058]: |============================= Updating Share Limits based on priority ==============================|
Apr 07 11:49:30 server python[79058]: | Assigning torrents to share limit groups... |
Apr 07 11:49:30 server python[79058]: |======================== Updating Share Limits for [Group XXX] [Priority 5] ========================|
Apr 07 11:49:30 server python[79058]: | Torrent Name: Something.mkv |
Apr 07 11:49:30 server python[79058]: | Tracker: https://tracker.domain.to |
Apr 07 11:49:30 server python[79058]: | Share Limit: Max Seed Time = 15840 min |
Apr 07 11:49:30 server python[79058]: | Uncaught Exception |
Apr 07 11:49:30 server python[79058]: Traceback (most recent call last):
Apr 07 11:49:30 server python[79058]: File "/home/user/git/qbit_manage/qbit_manage.py", line 645, in <module>
Apr 07 11:49:30 server python[79058]: start_loop()
Apr 07 11:49:30 server python[79058]: File "/home/user/git/qbit_manage/qbit_manage.py", line 384, in start_loop
Apr 07 11:49:30 server python[79058]: start()
Apr 07 11:49:30 server python[79058]: File "/home/user/git/qbit_manage/qbit_manage.py", line 491, in start
Apr 07 11:49:30 server python[79058]: share_limits = ShareLimits(qbit_manager)
Apr 07 11:49:30 server python[79058]: ^^^^^^^^^^^^^^^^^^^^^^^^^
Apr 07 11:49:30 server python[79058]: File "/home/user/git/qbit_manage/modules/core/share_limits.py", line 36, in __init__
Apr 07 11:49:30 server python[79058]: self.update_share_limits()
Apr 07 11:49:30 server python[79058]: File "/home/user/git/qbit_manage/modules/core/share_limits.py", line 49, in update_share_limits
Apr 07 11:49:30 server python[79058]: self.update_share_limits_for_group(group_name, group_config, torrents)
Apr 07 11:49:30 server python[79058]: File "/home/user/git/qbit_manage/modules/core/share_limits.py", line 245, in update_share_limits_for_group
Apr 07 11:49:30 server python[79058]: self.tag_and_update_share_limits_for_torrent(torrent, group_config)
Apr 07 11:49:30 server python[79058]: File "/home/user/git/qbit_manage/modules/core/share_limits.py", line 268, in tag_and_update_share_limits_for_torrent
Apr 07 11:49:30 server python[79058]: self.set_tags_and_limits(
Apr 07 11:49:30 server python[79058]: File "/home/user/git/qbit_manage/modules/core/share_limits.py", line 375, in set_tags_and_limits
Apr 07 11:49:30 server python[79058]: torrent.add_tags(tags)
Apr 07 11:49:30 server python[79058]: File "/home/user/.pyenv/versions/3.12.1/lib/python3.12/site-packages/qbittorrentapi/torrents.py", line 2212, in add_tags
Apr 07 11:49:30 server python[79058]: self._client.torrents_add_tags(
Apr 07 11:49:30 server python[79058]: File "/home/user/.pyenv/versions/3.12.1/lib/python3.12/site-packages/qbittorrentapi/torrents.py", line 1627, in torrents_add_tags
Apr 07 11:49:30 server python[79058]: self._post(
Apr 07 11:49:30 server python[79058]: File "/home/user/.pyenv/versions/3.12.1/lib/python3.12/site-packages/qbittorrentapi/request.py", line 510, in _post
Apr 07 11:49:30 server python[79058]: return self._auth_request(
Apr 07 11:49:30 server python[79058]: ^^^^^^^^^^^^^^^^^^^
Apr 07 11:49:30 server python[79058]: File "/home/user/.pyenv/versions/3.12.1/lib/python3.12/site-packages/qbittorrentapi/request.py", line 587, in _auth_request
Apr 07 11:49:30 server python[79058]: return self._request_manager(
Apr 07 11:49:30 server python[79058]: ^^^^^^^^^^^^^^^^^^^^^^
Apr 07 11:49:30 server python[79058]: File "/home/user/.pyenv/versions/3.12.1/lib/python3.12/site-packages/qbittorrentapi/request.py", line 660, in _request_manager
Apr 07 11:49:30 server python[79058]: return self._request(
Apr 07 11:49:30 server python[79058]: ^^^^^^^^^^^^^^
Apr 07 11:49:30 server python[79058]: File "/home/user/.pyenv/versions/3.12.1/lib/python3.12/site-packages/qbittorrentapi/request.py", line 812, in _request
Apr 07 11:49:30 server python[79058]: self._handle_error_responses(final_data, final_params, response)
Apr 07 11:49:30 server python[79058]: File "/home/user/.pyenv/versions/3.12.1/lib/python3.12/site-packages/qbittorrentapi/request.py", line 965, in _handle_error_responses
Apr 07 11:49:30 server python[79058]: raise MissingRequiredParameters400Error(
Apr 07 11:49:30 server python[79058]: qbittorrentapi.exceptions.MissingRequiredParameters400Error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment