openscopeproject / TrguiNG

Remote GUI for Transmission torrent daemon
GNU Affero General Public License v3.0
331 stars 39 forks source link

"Error: incomplete torrents directory path is not absolute" thrown when "Use separate directory for incomplete files" is unticked and "Path for incomplete files" is empty #192

Closed n3mur1t0r closed 5 months ago

n3mur1t0r commented 5 months ago

Whenever I click save on Server settings, it keeps throwing this error even though I don't want to use a separate directory for incomplete torrents.

image

qu1ck commented 5 months ago

It has to be a valid path anyway, just copy the download path. The error is coming from the server btw, not TrguiNG.

n3mur1t0r commented 5 months ago

It doesn’t appear to come from the server, since I changed some settings in the web UI and saved, and no error was thrown.

qu1ck commented 5 months ago

That doesn't mean it's not coming from the server, it just means that web UI (I'm assuming you mean native transmission web ui) happens to work in a way that doesn't run into this issue. This is a quirk of transmission API and it's validation logic, I could work around it similar to how native web ui does but it's not worth the effort when there is such a simple workaround. Just set incomplete dir path same as download path, it won't be used anyway.

n3mur1t0r commented 5 months ago

Thank you for your time, I did that and it works fine.