Page 1 of 1

libtorrent::libtorrent_exception

Posted: Sat Nov 25, 2017 10:02 am
by toolazy
Hi.

i did have some errors before but got that working BUT then i did something dont know what :(

so when i try to start deluged i get this. i did some googleing but didnt find much.

/usr/bin/deluged -d -l /var/log/deluge/daemon.log -L warning
terminate called after throwing an instance of 'libtorrent::libtorrent_exception'
what(): invalid type requested from entry
Aborted

Re: libtorrent::libtorrent_exception

Posted: Mon Nov 27, 2017 6:07 am
by toolazy
many hours of searing and trying.
libtorrent / boost rebuilding with errors

i did read something that made me do rm -r .config/deluge and then it worked. dont really know why but was something in the folder it didnt like

Re: libtorrent::libtorrent_exception

Posted: Tue Dec 01, 2020 4:54 pm
by taysix
Adding onto this. I found deleting the session.state and session.state.bak in the .config folder fixed the issue for me.

The logs from journalctl

Code: Select all

Started Deluge Bittorrent Client Daemon.
Deluge daemon 2.0.3-2-201906121747-ubuntu18.04.1
Successfully loaded session.state: /var/lib/deluge/.config/deluge/session.state
Successfully loaded session.state: /var/lib/deluge/.config/deluge/session.state.bak
terminate called after throwing an instance of 'libtorrent::libtorrent_exception'
   what():  invalid type requested from entry
Deleted the two files:

Code: Select all

$ sudo rm /var/lib/deluge/.config/deluge/session.state
$ sudo rm /var/lib/deluge/.config/deluge/session.state.bak
Restarted and it started working again :shrug:

Re: libtorrent::libtorrent_exception

Posted: Fri Jun 25, 2021 12:36 am
by iconoclasthero
taysix wrote: Tue Dec 01, 2020 4:54 pm Adding onto this. I found deleting the session.state and session.state.bak in the .config folder fixed the issue for me.

The logs from journalctl

Code: Select all

Started Deluge Bittorrent Client Daemon.
Deluge daemon 2.0.3-2-201906121747-ubuntu18.04.1
Successfully loaded session.state: /var/lib/deluge/.config/deluge/session.state
Successfully loaded session.state: /var/lib/deluge/.config/deluge/session.state.bak
terminate called after throwing an instance of 'libtorrent::libtorrent_exception'
   what():  invalid type requested from entry
Deleted the two files:

Code: Select all

$ sudo rm /var/lib/deluge/.config/deluge/session.state
$ sudo rm /var/lib/deluge/.config/deluge/session.state.bak
Restarted and it started working again :shrug:
Worked for me today except that I used the following since it is easier to mv than to undelete:

Code: Select all

 sudo mv session.state session.state~2021.06.24
 sudo mv session.state.bak session.state.bak~2021.06.24