Page 1 of 1

Deluge won't open torrents anymore

Posted: Sat Nov 24, 2007 5:38 pm
by Sciamano
Hello everyone,
I've been using Deluge for months now. I've recently upgraded to Kubuntu 7.10, installed the new version of Deluge and everything went fine for a few days.
Today, suddenly, Deluge stopped opening torrent files.
If I double click on a .torrent file, nothing happens (I've configured Deluge as the default app for torrents). The same happens if I click the "+" button on the toolbar and load a .torrent, or if I select "Add Torrent" from the File menu.

I've already tried reinstalling, and also tried running "rm ~/.config/deluge/persistent.state" but with no success.

This is what the terminal says when I try to open a torrent:

Code: Select all

Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/deluge/interface.py", line 1285, in add_torrent_clicked
    self.interactive_add_torrent(single)
  File "/var/lib/python-support/python2.5/deluge/interface.py", line 1211, in interactive_add_torrent
    _("Choose a download directory"))
  File "/var/lib/python-support/python2.5/deluge/dialogs.py", line 509, in show_directory_chooser_dialog
    chooser.set_current_folder(config.get("choose_directory_dialog_path"))
TypeError: GtkFileChooser.set_current_folder() argument 1 must be string, not None
Any suggestions? Thanks

Re: Deluge won't open torrents anymore

Posted: Sat Nov 24, 2007 6:31 pm
by markybob
Sciamano wrote:Hello everyone,
I've been using Deluge for months now. I've recently upgraded to Kubuntu 7.10, installed the new version of Deluge and everything went fine for a few days.
Today, suddenly, Deluge stopped opening torrent files.
If I double click on a .torrent file, nothing happens (I've configured Deluge as the default app for torrents). The same happens if I click the "+" button on the toolbar and load a .torrent, or if I select "Add Torrent" from the File menu.

I've already tried reinstalling, and also tried running "rm ~/.config/deluge/persistent.state" but with no success.

This is what the terminal says when I try to open a torrent:

Code: Select all

Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/deluge/interface.py", line 1285, in add_torrent_clicked
    self.interactive_add_torrent(single)
  File "/var/lib/python-support/python2.5/deluge/interface.py", line 1211, in interactive_add_torrent
    _("Choose a download directory"))
  File "/var/lib/python-support/python2.5/deluge/dialogs.py", line 509, in show_directory_chooser_dialog
    chooser.set_current_folder(config.get("choose_directory_dialog_path"))
TypeError: GtkFileChooser.set_current_folder() argument 1 must be string, not None
Any suggestions? Thanks
this is a preference problem, not a persistent.state problem. rm ~/.config/deluge/prefs.state should allow you to bring deluge back up and reconfigure it

Re: Deluge won't open torrents anymore

Posted: Sat Nov 24, 2007 7:07 pm
by Sciamano
Thanks. It worked.

Re: Deluge won't open torrents anymore

Posted: Tue Nov 27, 2007 8:04 am
by Sciamano
Wait a sec... it only worked temporarily.
Now if I launch deluge I obtain this error:
terminate called after throwing an instance of 'libtorrent::invalid_handle'
what(): invalid torrent handle used
Aborted (core dumped)
I removed the complete ~/.config/deluge and now it works again but what's happening to my Deluge?? :cry:

Re: Deluge won't open torrents anymore

Posted: Tue Nov 27, 2007 5:02 pm
by daddy
Sciamano wrote:Wait a sec... it only worked temporarily.
Now if I launch deluge I obtain this error:
terminate called after throwing an instance of 'libtorrent::invalid_handle'
what(): invalid torrent handle used
Aborted (core dumped)
Are you using 0.5.6.96? If not, upgrade. See http://forum.deluge-torrent.org/viewtopic.php?f=8&t=774

Re: Deluge won't open torrents anymore

Posted: Tue Nov 27, 2007 5:32 pm
by Sciamano
Didn't notice a new version was out.
I'm gonna upgrade right now. Thanks for pointing this out.