前几天看到另一个linux发行版本,觉得不错就下载了。正好刚安装了deluge的新版本,就拿来试试,我装的是0.5.4.1版本的。上周还没有下载完,前两天想继续下载的时候,死活打不开deluge了。在命令行运行出现下面的错误。
rory@rory-laptop:~$ deluge
no existing Deluge session
Starting new Deluge session...
deluge_core; using libtorrent 0.13.0.0. Compiled with NDEBUG.
Applying preferences
Capping download to -1 bytes per second
Capping upload to 20480 bytes per second
Raising error: libtorrent reports this is a duplicate torrent
Error: 'libtorrent reports this is a duplicate torrent'
Traceback (most recent call last):
File "/usr/bin/deluge", line 140, in
start_deluge()
File "/usr/bin/deluge", line 127, in start_deluge
interface = deluge.interface.DelugeGTK()
File "/var/lib/python-support/python2.5/deluge/interface.py", line 53, in __init__
'%s %s'%(common.PROGRAM_NAME, common.PROGRAM_VERSION), common.CONFIG_DIR)
File "/var/lib/python-support/python2.5/deluge/core.py", line 263, in __init__
self.sync(True)
File "/var/lib/python-support/python2.5/deluge/core.py", line 837, in sync
raise e
deluge.core.DuplicateTorrentError: 'libtorrent reports this is a duplicate torrent'
google一搜只找到一个鸟文的答案,看不懂。http://forum.ubuntu-fi.org/index.php?topic=11860.msg85471 不过命令算是看懂了。
mv ~/.config/deluge/persistent.state ~/.config/deluge/vanhapersistent mv ~/.config/deluge/dht.state ~/.config/deluge/vanhadht
执行完命令之后就可以启动deluge了。不过原来还没有下载完的任务没有了,别急不是没有了。只要重新导入就可以了。 从这个位置导入还没有下载完成的任务就可以了。
~/.config/deluge/torrentfiles
导入后会先执行数据检查,然后就开始下载了。搞定。:)
Like others



