[GH-ISSUE #251] [1.1.6] исключение при добавлении нового торрента #195

Closed
opened 2026-10-13 19:51:13 +00:00 by bsakaguchi · 3 comments
Owner

Originally created by @impalex on GitHub (Mar 12, 2018).
Original GitHub issue: https://github.com/werwolfby/monitorrent/issues/251

FAILED

Exception while execute

Traceback (most recent call last):
File "/opt/monitorrent/service/monitorrent/plugins/trackers/init.py", line 245, in execute
TopicSettings.from_topic(topic))
File "/opt/monitorrent/service/monitorrent/engine.py", line 322, in add_torrent
return self.engine.add_torrent(filename, torrent, old_hash, topic_settings)
File "/opt/monitorrent/service/monitorrent/engine.py", line 88, in add_torrent
existing_torrent = self.clients_manager.find_torrent(torrent.info_hash)
File "/opt/monitorrent/service/monitorrent/plugin_managers.py", line 212, in find_torrent
result = self.default_client.find_torrent(torrent_hash)
File "/opt/monitorrent/service/monitorrent/plugins/clients/transmission.py", line 83, in find_torrent
torrent = client.get_torrent(torrent_hash.lower(), ['id', 'hashString', 'addedDate', 'name'])
File "/usr/local/lib/python3.5/dist-packages/transmissionrpc/client.py", line 573, in get_torrent
raise KeyError("Torrent not found in result")
KeyError: 'Torrent not found in result'

По трейсу вроде понятно, что происходит.

Originally created by @impalex on GitHub (Mar 12, 2018). Original GitHub issue: https://github.com/werwolfby/monitorrent/issues/251 > FAILED > > Exception while execute > > Traceback (most recent call last): > File "/opt/monitorrent/service/monitorrent/plugins/trackers/__init__.py", line 245, in execute > TopicSettings.from_topic(topic)) > File "/opt/monitorrent/service/monitorrent/engine.py", line 322, in add_torrent > return self.engine.add_torrent(filename, torrent, old_hash, topic_settings) > File "/opt/monitorrent/service/monitorrent/engine.py", line 88, in add_torrent > existing_torrent = self.clients_manager.find_torrent(torrent.info_hash) > File "/opt/monitorrent/service/monitorrent/plugin_managers.py", line 212, in find_torrent > result = self.default_client.find_torrent(torrent_hash) > File "/opt/monitorrent/service/monitorrent/plugins/clients/transmission.py", line 83, in find_torrent > torrent = client.get_torrent(torrent_hash.lower(), ['id', 'hashString', 'addedDate', 'name']) > File "/usr/local/lib/python3.5/dist-packages/transmissionrpc/client.py", line 573, in get_torrent > raise KeyError("Torrent not found in result") > KeyError: 'Torrent not found in result' По трейсу вроде понятно, что происходит.
Author
Owner

@werwolfby commented on GitHub (Mar 13, 2018):

Что-то такое я уже точно фиксал. Это точно не develop?

<!-- gh-comment-id:372553489 --> @werwolfby commented on GitHub (Mar 13, 2018): Что-то такое я уже точно фиксал. Это точно не develop?
Author
Owner

@impalex commented on GitHub (Mar 13, 2018):

По определенным соображениям я ковыряюсь в develop, ага. Пардон, что не уточнил.
Сейчас нашел коммит, который сломал. Раз для мастера неактуально, можно забыть.
Но тогда вопрос - зачем его в девелопе поломали? :)

<!-- gh-comment-id:372561234 --> @impalex commented on GitHub (Mar 13, 2018): По определенным соображениям я ковыряюсь в develop, ага. Пардон, что не уточнил. Сейчас нашел коммит, который сломал. Раз для мастера неактуально, можно забыть. Но тогда вопрос - зачем его в девелопе поломали? :)
Author
Owner

@werwolfby commented on GitHub (Apr 19, 2018):

@impalex поломали чисто случайно, а подчинить никак не можем 😞

<!-- gh-comment-id:382614600 --> @werwolfby commented on GitHub (Apr 19, 2018): @impalex поломали чисто случайно, а подчинить никак не можем 😞
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
werwolfby/monitorrent#195
No description provided.