-
Notifications
You must be signed in to change notification settings - Fork 4
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
IndexError: list index out of range #5
Comments
@dmemedo in the file |
Yes : When I print the content of but when I execute the command manually, it works. |
All right, I think this is something more to do with how Deluge is looking for its config. Are you on a dedicated seedbox? And does this happen on the "Torrent Added" or "Torrent Complete" step? If it is "Torrent Added", are you running a "reannounce" script? Does that work fine? Looks like the way Deluge is installed, it is unable to load its own configuration, and hence unable to run the script. (Manually running the script with python hence works). Specifically, Deluge should call the script and pass it some default arguments (hash, torrent name, download path). I believe this step is not working. |
You must be right, it's related to the way deluge retrieves it's config, but the parameters are correctly passed since I can see the hash when I print the delugeCommand PS: if you want me to test some specific behavior, feel free to ask |
> I'm running deluge using linuxserver/deluge image I think this is it. Because the When you say the manual test works, is it in the context of your root server, or within the image? Could you try running the I've not used |
During my testing, both |
It's hard to outline the cause then, especially since deluge-console from within the container works. I'll try and get a VPS to run this image on, and see what I can reproduce. |
Hey @dmemedo , were you able to resolve the issue? I believe it may be related to permissions. Perhaps the discussion at #6 (comment) & #10 (comment) might be of help |
hey @ckcr4lyf not sure if i create a new issue or post here. Platform information: Error:
did a chmod 777 in the directory and for once it thrown this error:
and afterwords again the first error. any idea how we short this out ? |
The first error seems the discord webhook URL may be incorrect, could you check that? For the second on, you're getting it after the |
Also could you share what command you're using to test? Maybe the infohash doesn't exist in deluge |
I just grabbed the updated files and configured from scratch. |
Glad to hear it. Will close this issue. |
just 1 min late replying
working fine, when testing from console. but not from execute command ( ~/bin/delugePush.py ) |
If it is working from the console, I would suggest the following:
|
this was the issue! Deluge restart fixed the problem, |
Hello,
I encounter this error when script is runned by deluge.
When I run it manually, I do get the discord notification.
When I tried to debug, it seems that when I deluge-command is run, I get :
any idea how to solve please?
PS: I use deluge 2 with python3
The text was updated successfully, but these errors were encountered: