Not able to add multiple files

General support for problems installing or using Deluge
sem1845
New User
New User
Posts: 2
Joined: Tue Oct 22, 2024 6:32 pm

Not able to add multiple files

Post by sem1845 »

When trying to add multiple files at the same time, nothing happens.
It only works when you add one file at a time.

To recreate:

Hit Add
Select more than one file at the same time (shift or control click multiple files)
Hit "open"
Then attempt to add to the client
Image

Console is outputting Uncaught TypeError: this.torrents[torrentId] is undefined

This was working in a past version, but is now failing.
sem1845
New User
New User
Posts: 2
Joined: Tue Oct 22, 2024 6:32 pm

Re: Not able to add multiple files

Post by sem1845 »

I've spent some time testing out previous to find out when the bug was introduced, and this is the result of my tests :

v2.1.1-6-05 : bug present
v2.1.1-6-04 : bug present
v2.1.1-6-03 : bug present
v2.1.1-6-02 : bug present
v2.1.1-6-01 : bug present
v2.1.1-5-02 : bug present
v2.1.1-5-01 : not tested but i'm pretty sure the bug is present
v2.1.1-4-09 : Bug NOT present
PlayLoud
New User
New User
Posts: 4
Joined: Wed Oct 23, 2024 10:48 pm

Re: Not able to add multiple files

Post by PlayLoud »

I get the same issue.
mhertz
Moderator
Moderator
Posts: 2331
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: Not able to add multiple files

Post by mhertz »

Thanks, I did some testing, and it wasen't deluge or libtorrent related, but culprit seemingly python 3.12.x specifically, which was my least hunch/test-case honestly, as works fine in GTK-UI. Can use console-UI with globbing meanwhile as quick workaround(or GTK-UI as said), and i'm gonna locate the issue and make a ticket one of these day, or is the plan atleast. Thanks for reporting good-fellas :)

Edit: Apologies, seemingly not python312 itself anyway, something else triggering it which followed the py312 deluge install - will investigate more and follow up later, and sorry again for wrong info.
PlayLoud
New User
New User
Posts: 4
Joined: Wed Oct 23, 2024 10:48 pm

Re: Not able to add multiple files

Post by PlayLoud »

mhertz wrote: Thu Oct 24, 2024 6:10 pm Thanks, I did some testing, and it wasen't deluge or libtorrent related, but culprit seemingly python 3.12.x specifically, which was my least hunch/test-case honestly, as works fine in GTK-UI. Can use console-UI with globbing meanwhile as quick workaround(or GTK-UI as said), and i'm gonna locate the issue and make a ticket one of these day, or is the plan atleast. Thanks for reporting good-fellas :)
Please forgive my newbness.

I'm not exactly sure what each of these workarounds mean. I'm using Deluge as a docker in unRAID. I see no options for a console-UI or GTK-UI. Is there something I'm missing?
User avatar
ambipro
Moderator
Moderator
Posts: 672
Joined: Thu May 19, 2022 3:33 am
Contact:

Re: Not able to add multiple files

Post by ambipro »

GTK-UI refers to connecting to the RPC Daemon via the Thin-Client - a mode where you are using a deluge install locally to "emulate" (if you will) the native UI with a remote server.

console would require you using `docker exec -it deluge /bin/sh` and running the deluge-console process from inside Docker or an install of it locally as well, like with the GTK-UI.
PlayLoud
New User
New User
Posts: 4
Joined: Wed Oct 23, 2024 10:48 pm

Re: Not able to add multiple files

Post by PlayLoud »

Thanks ambipro,

I was able to figure out how to get the thin-client working (I didn't even know that was an option), and it's making life easier as a workaround.
User avatar
ambipro
Moderator
Moderator
Posts: 672
Joined: Thu May 19, 2022 3:33 am
Contact:

Re: Not able to add multiple files

Post by ambipro »

I consider the thin client the preferred way to use it if you aren't on mobile or something, vastly more performant and on parity with native experience.

Glad you got it sorted.
mhertz
Moderator
Moderator
Posts: 2331
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: Not able to add multiple files

Post by mhertz »

As stated in my previous post's edit, I was wrong in this issue being about python 3.12, sorry again.

Anyway, just located the issue to twisted 24.x, which already is pinned for win32 as '<23', for a couple issues there, and apparently it goes beyond win32, atleast for 24.x. I submitted a PR to extend the pin to non-win32 also, as '<24'.

You can downgrade twisted e.g. with pip, though e.g. 'pip install twisted[tls]==23.8', but if distro incorporating pep668 then need a venv or --break-system-packages flag etc.

Just wanted expand as promised some time ago, sorry for slowness getting back into.
User avatar
ambipro
Moderator
Moderator
Posts: 672
Joined: Thu May 19, 2022 3:33 am
Contact:

Re: Not able to add multiple files

Post by ambipro »

DjLegolas is already looking into some problems with twisted, but its rather complex and will obviously only apply to develop until a stable release is published.
Post Reply