Page 1 of 1

Deluge erasing queue preferences each time it restarts

Posted: Thu Aug 04, 2011 11:46 pm
by LeDechaine
God I hate having to register to a forum, and this time I hate it for three reasons. Reason 1: I'm only here for posting one thing. Reason 2: I'm here for a bug, Reason 3: I have to speak english.

First, thanks for this really nice torrent client. But this really nice client is bricked because of one small and annoying bug.

Every time I restart Deluge, the queue preferences are lost. Total active torrents, Total downloads-or-whatever-it-is-in-english, Total active sends-seeds-whatever, and seed ratio limit are both set to 100 (you've read that right: I never get to 100 anyway, I just want some slack), and everytime I close the program and reopen it, or everytime I restart the computer, these preferences are lost. I've just updated to 1.3.3: same thing, this bug is still there. I haven't seen bug infos anywhere, so what, i'm the only one experiencing it? I don't think i'm the last human on earth using both jaunty and deluge...

Oh, and i'd appreciate it if someone would tell me what "seed time ratio" means in human language.

Sorry if I seem harsh, it's just annoying that the only viable torrent client I know "cements" itself to 15 torrents and a 2.0 max upload ratio. Changing it while the torrent client is running gives the expected results, but everytime I open it again, it's like "no, you won't do that".

Thanks in advance.
P.S.: I'll appreciate any kind of hacks, like "chmod 444 config-file". Whatever cheap-dirty-hack that works will be welcome.

Re: Deluge erasing queue preferences each time it restarts

Posted: Fri Aug 05, 2011 12:47 am
by B2BF

Re: Deluge erasing queue preferences each time it restarts

Posted: Fri Aug 05, 2011 12:57 am
by Cas
Is the config location writeable? Please provide a copy of core.conf from the config while Deluge is running and after shutting down Deluge.

Re: Deluge erasing queue preferences each time it restarts

Posted: Fri Aug 05, 2011 4:08 am
by LeDechaine
B2BF wrote:This topic is already exist. :)
http://forum.deluge-torrent.org/viewtop ... =7&t=37241
Well, looks like it's a different problem. My problem isn't the queue itself, it's the queue preferences. Both bugs could be because of the same underlying problem, though.

Re: Deluge erasing queue preferences each time it restarts

Posted: Fri Aug 05, 2011 4:11 am
by LeDechaine
Cas wrote:Is the config location writeable? Please provide a copy of core.conf from the config while Deluge is running and after shutting down Deluge.
I'm willing to do so... as long as you tell me WHERE is the config location and the core.conf files.

Seems like I have no /homedir/.deluge folder at all, if it's supposed to exist.

Re: Deluge erasing queue preferences each time it restarts

Posted: Fri Aug 05, 2011 5:07 am
by johnnyg

Re: Deluge erasing queue preferences each time it restarts

Posted: Fri Aug 05, 2011 6:41 am
by LeDechaine
Oh well, thanks for this.

Looks like deluge couldn't / wouldn't modify the file after changes via the preferences menu, so i've just changed the numbers in the .conf file.

Successful dirty little hack! Thanks!

Re: Deluge erasing queue preferences each time it restarts

Posted: Fri Aug 05, 2011 6:47 am
by johnnyg
Are you running deluge as a different user?

It's most probably a permissions issues (i.e. deluge can read the preferences file but can't write to it).

It would be useful to track down why it wasn't saving the preferences so that we can fix it and prevent posts like this in the future, or at the very least display a warning if it's unable to write to the preferences file.

Re: Deluge erasing queue preferences each time it restarts

Posted: Fri Aug 05, 2011 9:38 pm
by LeDechaine
Well, I can think of two possible reasons, the first one being that my homedir is a symlink to a directory which is in another drive (although it never caused me problems -- and that's "common" for some people to do so), the second being that my other drive is called "/media/Données", so my homedir is /media/Données/ledechaine, although even in the .conf file it's "internationalized" as "/media/Donn\xc3\xa9es/".

Another reason might be that i've updated deluge from a... maybe two-year-old version or MORE (reason: no internet access). After all, I think it's safe for you to forget about this bug -- unless someone else experiences it one day. ;)

Oh, and thanks a lot for the fast reply!