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

Deluge v2.0.3-12 "Error Invalid Argument" #4134

Closed
Strangelovian opened this issue Aug 16, 2020 · 9 comments · Fixed by #5398
Closed

Deluge v2.0.3-12 "Error Invalid Argument" #4134

Strangelovian opened this issue Aug 16, 2020 · 9 comments · Fixed by #5398

Comments

@Strangelovian
Copy link
Contributor

Setup

Package Name: deluge
Package Version: v2.0.3-12

NAS Model: DS 1819+
NAS Architecture: x86_64
DSM version: DSM 6.2.3-25426 Update 2

Expected behavior

With version 1.3.15-9 torrent download normally.

Actual behavior

With version 2.0.3-12 torrent error: Error Invalid Argument. Even after DSM reboot error persists.
When rolling back manually to 1.3.15-9, torrent download resumes normally.

Steps to reproduce

1. Install version 2.0.3-12
2. Add torrent
3. Torrent stays in status "Error Invalid Argument"

Package log

Nothing related to this error in deluge.log.
Deluge daemon starts normally, the torrent is added, but stays with error status "Error Invalid Argument"

Other considerations

People have had this error with other OS: https://dev.deluge-torrent.org/ticket/3294
It seems related to the version of python3-libtorrent.
As the syno package embeds its own version of libtorrent, is there an issue there?

@Strangelovian
Copy link
Contributor Author

Strangelovian commented Aug 16, 2020

FTR:
Within syno package, embedded libtorrent version seem to be python_libtorrent-1.1.14
But www.libtorrent.org last version is 1.2.7

@ymartin59
Copy link
Contributor

Deluge package still uses Python 2.7.18, it will move to Python 3 when ready.

@Strangelovian
Copy link
Contributor Author

Thank you.
So if I understand correctly, it's not possible to upgrade libtorrent without upgrading to python 3 first?

@ymartin59
Copy link
Contributor

Deluge 2 is expected to run on Python 2 with python_libtorrent-1.1.14 as declared in requirements file.
Without a proper diagnostic why it fails on your system, this is a chance an upgrade solves nothing.

@Strangelovian
Copy link
Contributor Author

Strangelovian commented Aug 16, 2020

I just know that rolling back to previous package works. So my guess it's related to protocol handling as mentioned by similar previous experiences here: https://dev.deluge-torrent.org/ticket/3294

My test torrent is a simple one: a debian torrent linux torrent file.
In the logs, nothing relevant, except that the error status reported by the lib torrent : "Error Invalid Argument".
I also enabled the debug logs by changing the start script, but without any more relevant logs for this issue.

I also tried the usual IT stuff to no avail:

  • remove the package / re-install it
  • reboot the DSM

@ymartin59
Copy link
Contributor

Package updates have been published with fix #4192. Please confirm and close if relevant

@VincentMasselis
Copy link

VincentMasselis commented Oct 2, 2020

I'm facing the same issue, updating the Python package and then stop and restart Deluge changed nothing :/

@BelladonnaWitch
Copy link

Hello everyone

having the same issue since python 2.7.18-24
I couldn't downgrade to python 2.7.18-23 without uninstalling Deluge so I decided no to do that

Looking forward to a new version fixing this issue, since it is really blocking the seed :(

@th0ma7 th0ma7 linked a pull request Aug 29, 2022 that will close this issue
13 tasks
@th0ma7
Copy link
Contributor

th0ma7 commented Aug 31, 2022

New version of deluge is being published. Please reopen the issue if its still occurring. Thnx in advance.

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

Successfully merging a pull request may close this issue.

5 participants