Deluge error

General support for problems installing or using Deluge
Post Reply
Kaavi
New User
New User
Posts: 3
Joined: Fri Jan 20, 2017 10:13 am

Deluge error

Post by Kaavi »

I have a strange error, my deluged is running but it stops adding new torrents or sending data. When I connect with deluge-console and writes info I get this error:

Code: Select all

>>> info
'ConsoleUI' object has no attribute 'torrents'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/ui/console/main.py", line 344, in do_command
    ret = self._commands[cmd].handle(*args, **options.__dict__)
  File "/usr/lib/python2.7/dist-packages/deluge/ui/console/commands/info.py", line 135, in handle
    torrent_ids.extend(self.console.match_torrent(""))
  File "/usr/lib/python2.7/dist-packages/deluge/ui/console/main.py", line 461, in match_torrent
    for tid, name in self.torrents:
AttributeError: 'ConsoleUI' object has no attribute 'torrents'
Then I can stop deluged, I can delete my fastresume files in state dir and starte deluged again and everything works fine again, after checking the data on all the torrents. Then 3-7 days later the same happens...

Any ideas what is going on? or anything I can to do prevent it? :/
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Deluge error

Post by Cas »

Need logs from deluged
Kaavi
New User
New User
Posts: 3
Joined: Fri Jan 20, 2017 10:13 am

Re: Deluge error

Post by Kaavi »

This is the last lines from my deluged.log - i default loglevel is too low,

If I run it with -L info, will that give enough info when the error happens again? or should i use something else?

Code: Select all

Unable to load geoip database!
'session' object has no attribute 'load_country_db'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/preferencesmanager.py", line 500, in _on_geoip_db_location
    self.session.load_country_db(str(geoip_db))
AttributeError: 'session' object has no attribute 'load_country_db'
Unable to load geoip database!
'session' object has no attribute 'load_country_db'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/preferencesmanager.py", line 500, in _on_geoip_db_location
    self.session.load_country_db(str(geoip_db))
AttributeError: 'session' object has no attribute 'load_country_db'
There is a deluge daemon running with this config directory!
You cannot run multiple daemons with the same config directory set.
If you believe this is an error, you can force a start by deleting /home/x/.config/deluge/deluged.pid.
Unable to load geoip database!
'session' object has no attribute 'load_country_db'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/preferencesmanager.py", line 500, in _on_geoip_db_location
    self.session.load_country_db(str(geoip_db))
AttributeError: 'session' object has no attribute 'load_country_db'
Unable to backup /home/x/.config/deluge/state/torrents.state to /home/x/.config/deluge/state/torrents.state.bak: [Errno 2] No such file or directory
Post Reply