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

Inconsistent behaviour when there are no torrents available #5

Closed
djibux opened this issue Dec 8, 2019 · 10 comments
Closed

Inconsistent behaviour when there are no torrents available #5

djibux opened this issue Dec 8, 2019 · 10 comments

Comments

@djibux
Copy link

djibux commented Dec 8, 2019

Hello,

client.list() return an empty list when there are not torrents available, but a dictionary otherwise. It makes the statement client.list().values() crash in a for loop…

@mhadam
Copy link
Owner

mhadam commented Feb 12, 2020

Hi @djibux! Thanks for pointing out this bug.

I've been chipping away at a much-needed rewrite, so I'm hoping to ship that ASAP (hopefully a month or so). No promises, but I hope to get a very limited test-build out within a week.

In the meantime, I'll see if I can patch this up and make a last release as I transition the current codebase into legacy.

@mhadam
Copy link
Owner

mhadam commented Feb 13, 2020

Quick question - if I'm understanding this correctly, an empty dict returned instead would solve this?

@djibux
Copy link
Author

djibux commented Feb 13, 2020

Yes :)
Thanks!

mhadam added a commit that referenced this issue Feb 20, 2020
@mhadam
Copy link
Owner

mhadam commented Feb 20, 2020

Hi @djibux could you try out the development build I published: 1.0.6.dev0? Let me know if there's any issues.

@djibux
Copy link
Author

djibux commented Feb 20, 2020

Hello. Yes I can. Where is it published?

@mhadam
Copy link
Owner

mhadam commented Feb 20, 2020 via email

@djibux
Copy link
Author

djibux commented Feb 20, 2020

Hello,
Currently it's not working:

$pip3 install --user --pre transmission-clutch==1.0.6.dev0
Collecting transmission-clutch==1.0.6.dev0
  Could not find a version that satisfies the requirement transmission-clutch==1.0.6.dev0 (from versions: 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 2.0.dev0)
No matching distribution found for transmission-clutch==1.0.6.dev0

@mhadam
Copy link
Owner

mhadam commented Feb 20, 2020

Sorry - made a mistake in the package configuration. But it should be fixed now!

Try:
pip3 install --user --pre transmission-clutch==1.0.6.dev1

@djibux
Copy link
Author

djibux commented Feb 21, 2020

I confirm that the issue is fixed. Thanks!

@mhadam
Copy link
Owner

mhadam commented Feb 21, 2020

Thanks to you too! This is now released as v1.0.6.

@mhadam mhadam closed this as completed Feb 21, 2020
mhadam added a commit that referenced this issue Feb 21, 2020
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

No branches or pull requests

2 participants