[GH-ISSUE #134] Failed add torrent into transmission under python 3 #99

Closed
opened 2026-10-13 19:48:10 +00:00 by bsakaguchi · 6 comments
Owner

Originally created by @RazielMalah on GitHub (Jul 21, 2016).
Original GitHub issue: https://github.com/werwolfby/monitorrent/issues/134

default
Ошибка при попытке обновить торрент

Originally created by @RazielMalah on GitHub (Jul 21, 2016). Original GitHub issue: https://github.com/werwolfby/monitorrent/issues/134 ![default](https://cloud.githubusercontent.com/assets/15436094/17015255/75d934a6-4f6c-11e6-91b4-e1b9a49aec87.PNG) Ошибка при попытке обновить торрент
bsakaguchi 2026-10-13 19:48:10 +00:00
Author
Owner

@MercuryV commented on GitHub (Jul 23, 2016):

Подтверждаю ошибку с третьим питоном из Entware.

<!-- gh-comment-id:234735597 --> @MercuryV commented on GitHub (Jul 23, 2016): Подтверждаю ошибку с третьим питоном из Entware.
Author
Owner

@werwolfby commented on GitHub (Jul 23, 2016):

Да, я тоже подтверждаю. Скоро исправлю.

<!-- gh-comment-id:234735678 --> @werwolfby commented on GitHub (Jul 23, 2016): Да, я тоже подтверждаю. Скоро исправлю.
Author
Owner

@werwolfby commented on GitHub (Jul 23, 2016):

This is issue in transmissionrpc
add_torrent method expect base64 str, not base64 bytes

I've applied workaround for Python 3.

<!-- gh-comment-id:234745813 --> @werwolfby commented on GitHub (Jul 23, 2016): This is issue in [transmissionrpc](https://bitbucket.org/blueluna/transmissionrpc/issues/81/py3-typeerror-endswith-first-arg-must-be) **add_torrent** method expect **base64** _str_, not **base64** _bytes_ I've applied workaround for Python 3.
Author
Owner

@werwolfby commented on GitHub (Jul 25, 2016):

@RazielMalah, @MercuryV можете проверить, что всё работает? Было исправлено в 1.0.2.
Можно заменить только вот этот файл:
github.com/werwolfby/monitorrent@10515f0e56/monitorrent/plugins/clients/transmission.py

<!-- gh-comment-id:234845418 --> @werwolfby commented on GitHub (Jul 25, 2016): @RazielMalah, @MercuryV можете проверить, что всё работает? Было исправлено в [1.0.2](https://github.com/werwolfby/monitorrent/releases/tag/1.0.2). Можно заменить только вот этот файл: https://github.com/werwolfby/monitorrent/blob/10515f0e5687705425baf34e360792ea6d49658b/monitorrent/plugins/clients/transmission.py
Author
Owner

@RazielMalah commented on GitHub (Jul 25, 2016):

К сожалению ток через 2 недели, отпуск :)

<!-- gh-comment-id:234859892 --> @RazielMalah commented on GitHub (Jul 25, 2016): К сожалению ток через 2 недели, отпуск :)
Author
Owner

@MercuryV commented on GitHub (Aug 13, 2016):

Подтверждаю, 1.0.2 работает.

<!-- gh-comment-id:239637634 --> @MercuryV commented on GitHub (Aug 13, 2016): Подтверждаю, 1.0.2 работает.
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#99
No description provided.