Page 1 of 1
Torrent status "7" and "7 0.00%" in 1.3.2 as well
Posted: Wed May 25, 2011 8:15 pm
by DSpider
Client Version: 1.3.2
Libtorrent Version: 0.15.6.0
Arch Linux, everything up to date.
I was actually looking forward to see if it was addressed because it was mentioned before:
http://forum.deluge-torrent.org/viewtop ... =7&t=35951
Cas wrote:The reason for this strange bug is that "Downloading Metadata" and "Checking Resume Data" torrent states were added to the libtorrent python bindings for 0.15.5 and Deluge releases have not been updated to handle these new states.
Libtorrent was updated to 0.15.
6 and Deluge still can't read the new info... Is this info even relevant ? Why not add it to the "Tracker Status" section instead ?
Re: Torrent status "7" and "7 0.00%" in 1.3.2 as well
Posted: Thu May 26, 2011 12:49 pm
by Cas
Will be fixed for next release:
http://git.deluge-torrent.org/deluge/co ... &id=14c365
You could manually make the changes to the file if you really want this fix in 1.3.2
Re: Torrent status "7" and "7 0.00%" in 1.3.2 as well
Posted: Fri May 27, 2011 9:33 pm
by DSpider
Really ? How ?
Edit:
/usr/lib/python2.7/site-packages/deluge/core/torrent.py
/usr/lib/python2.7/site-packages/deluge/ui/gtkui/torrentview.py
Should I just edit these two or compile from source ?
Re: Torrent status "7" and "7 0.00%" in 1.3.2 as well
Posted: Fri May 27, 2011 10:36 pm
by Cas
You can just edit the files in place.
Re: Torrent status "7" and "7 0.00%" in 1.3.2 as well
Posted: Sat May 28, 2011 10:17 am
by DSpider
I edited them with
sudo leafpad [path] and this came up:
There was an error stating the core component which
is required to run Deluge in Classic Mode.
Please see the details below for more information.
Code: Select all
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/deluge/ui/gtkui/gtkui.py", line 295, in _on_reactor_start
client.start_classic_mode()
File "/usr/lib/python2.7/site-packages/deluge/ui/client.py", line 559, in start_classic_mode
self._daemon_proxy = DaemonClassicProxy(self.__event_handlers)
File "/usr/lib/python2.7/site-packages/deluge/ui/client.py", line 432, in __init__
self.__daemon = deluge.core.daemon.Daemon(classic=True)
File "/usr/lib/python2.7/site-packages/deluge/core/daemon.py", line 136, in __init__
from deluge.core.core import Core
File "/usr/lib/python2.7/site-packages/deluge/core/core.py", line 64, in <module>
from deluge.core.torrentmanager import TorrentManager
File "/usr/lib/python2.7/site-packages/deluge/core/torrentmanager.py", line 55, in <module>
from deluge.core.torrent import Torrent
File "/usr/lib/python2.7/site-packages/deluge/core/torrent.py", line 350
self.state = LTSTATE[ltstate]
^
IndentationError: expected an indented block
You think Leafpad may have screwed something up ? But then why are the other files having issues with these two edits ?
I chose Yes, "Connect" and now the torrent list is empty...
LE: Edited the files back the way they were and the torrent list has returned. Hmmm.
Re: Torrent status "7" and "7 0.00%" in 1.3.2 as well
Posted: Sat May 28, 2011 11:35 am
by Cas
In python the indentation has to be precise and also has to be either only tabs or only spaces. We use 4 spaces instead of a tab that is what it is probably complaining about.
Make sure it looks identical to this file:
http://git.deluge-torrent.org/deluge/tr ... 06643#n349
http://git.deluge-torrent.org/deluge/tr ... b06643#n79
In fact you could always download these patched files and copy them over your current ones.