Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Failed to delete torrents: Error: Failed to received torrent resource list! #217

Open
kpcyrd opened this issue Apr 17, 2021 · 1 comment

Comments

@kpcyrd
Copy link
Contributor

kpcyrd commented Apr 17, 2021

I'm trying to use sycli del -f with xargs -0, this kind-of randomly fails with this error at some point.

Failed to delete torrents: Error: Failed to received torrent resource list!

Using xargs -0L1 seems to work much better, so only a single torrent is deleted at a time.

@Luminarys
Copy link
Owner

Hmm, it looks like this error is caused by a race condition in which one thread deletes a resource, and another thread has filter subscribed to a list with that resource right before it's deleted, then after deletion attempts to subscribe (as it needs to search by name in some cases). I think the best fix here is to have the delete function support taking multiple torrent IDs.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants