libtorrent::libtorrent_exception

General support for problems installing or using Deluge
Post Reply
toolazy
Member
Member
Posts: 15
Joined: Mon Nov 20, 2017 7:05 pm

libtorrent::libtorrent_exception

Post 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
toolazy
Member
Member
Posts: 15
Joined: Mon Nov 20, 2017 7:05 pm

Re: libtorrent::libtorrent_exception

Post 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
taysix
New User
New User
Posts: 4
Joined: Thu Nov 05, 2020 9:09 pm

Re: libtorrent::libtorrent_exception

Post 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:
iconoclasthero
Member
Member
Posts: 46
Joined: Tue Aug 28, 2018 12:39 am

Re: libtorrent::libtorrent_exception

Post 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
 
Post Reply