Replace obsoleted and unmaintaned transmissionrpc#2791
Replace obsoleted and unmaintaned transmissionrpc#2791gazpachoking merged 1 commit intoFlexget:developfrom rsekman:replace_transmissionrpc
Conversation
|
Excellent, looks good to me. Thanks! |
|
From_transmission is not working. See error #2794. |
|
The pip dependencies have not been updated to reflect this change. Users miss the (and at least in the Ubuntu repositories, only the old |
|
|
|
True that the dependency is optional. So I was wrong to mention it as a pip-dependency. Maybe an explicit error if |
|
I've added it to the Upgrade Actions page |
|
@gazpachoking, could you please look into related issue #2794? |
Motivation for changes:
transmissionrpcis unmaintained. Swap totransmission-rpcas suggested in #2727.Detailed changes:
Drop-in replacement of imports.
The newer
transmission-rpcdoes not provideHTTPHandlerError. Instead it raises exceptions fromrequests.exceptions. Error handling on connecting to transmission has to be changed accordingly.Addressed issues:
Possible improvements
Error handling could be more fine-grained, but
requests.exceptionsare very detailed as they are.