Page 1 of 1

Error with Torrent-Files (Torrent-Dateien)

Posted: Wed Oct 10, 2007 3:49 pm
by brutus
Hi all. Someone else having the same problems or any hints how to solve them?

While trying to set a priority for a file inside a torrent i get the following error:

Code: Select all

Traceback (most recent call last):
  File "/usr/share/deluge/plugins/TorrentFiles/tab_files.py", line 73, in priority_clicked
    if state["compact_mode"]:
KeyError: 'compact_mode'
This happens every time i try to change a priority, for every file i tried (on different torrents).
I'm running Deluge Deluge 0.5.5.95 from SVN.

Re: Error with Torrent-Files (Torrent-Dateien)

Posted: Wed Oct 10, 2007 3:57 pm
by brutus
Well, seems I post just about a little too early: When trying to change the priority for new torrents (when in the select dialog which is shown for torrents with multiple files) i get the following error: "File priority can only be set when using full allocation. Please change your preference to disable compact allocation, then remove and re-add this torrent.". Guess that explains it.

Anyways, maybe showing this dialog also when a user tries to change the priority for a file already in the queue seems like a good idea.

Re: Error with Torrent-Files (Torrent-Dateien)

Posted: Wed Oct 10, 2007 4:03 pm
by markybob
yeah, i'm working on this. storage allocation has changed significantly in svn and i'm still working out the bugs. you should use the stable release if you cant wait

Re: Error with Torrent-Files (Torrent-Dateien)

Posted: Wed Oct 10, 2007 4:26 pm
by markybob
try this again in svn trunk rev 1949 or newer. should be fixed :)

Re: Error with Torrent-Files (Torrent-Dateien)

Posted: Fri Oct 12, 2007 2:40 pm
by brutus
Thanks for your fast reply and fix :)