Opened 8 years ago

Closed 8 years ago

Last modified 10 months ago

#1204 closed defect (Fixed)

gtkui doesn't show the torrents of a label/tracker

Reported by: simonbcn Owned by:
Priority: major Milestone: 2.x
Component: GTK UI Version: 1.3.0_dev
Keywords: Cc:

Description

I have activated the label plugin.
I change the label/tracker but gtkui doesn't change the torrent list and it shows (in console) this errors:

/usr/local/lib/python2.6/dist-packages/deluge-1.2.900_dev-py2.6.egg/deluge/ui/gtkui/gtkui.py:167: Warning: g_set_prgname() called multiple times
  self.gnome_prog = gnome.init("Deluge", deluge.common.get_version())

(deluge-gtk:15501): libglade-WARNING **: could not look up stock id '_Add Torrent'

(deluge-gtk:15501): libglade-WARNING **: could not look up stock id '_Create Torrent'

(deluge-gtk:15501): libglade-WARNING **: could not look up stock id 'Quit & Shutdown Daemon'

(deluge-gtk:15501): libglade-WARNING **: could not look up stock id '_Connection Manager'

(deluge-gtk:15501): libglade-WARNING **: could not look up stock id 'Homepage'

(deluge-gtk:15501): libglade-WARNING **: could not look up stock id 'FAQ'

(deluge-gtk:15501): libglade-WARNING **: could not look up stock id 'Community'

(deluge-gtk:15501): libglade-WARNING **: could not look up stock id '_Expand All'

(deluge-gtk:15501): libglade-WARNING **: could not look up stock id '_Do Not Download'

(deluge-gtk:15501): libglade-WARNING **: could not look up stock id '_Normal Priority'

(deluge-gtk:15501): libglade-WARNING **: could not look up stock id '_High Priority'

(deluge-gtk:15501): libglade-WARNING **: could not look up stock id 'Hi_ghest Priority'

(deluge-gtk:15501): libglade-WARNING **: could not look up stock id 'Add Peer'
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/deluge-1.2.900_dev-py2.6.egg/deluge/ui/gtkui/torrentview.py", line 336, in send_status_request
    self.filter, status_keys).addCallback(self._on_get_torrents_status)
  File "/usr/local/lib/python2.6/dist-packages/deluge-1.2.900_dev-py2.6.egg/deluge/ui/sessionproxy.py", line 215, in get_torrents_status
    to_fetch = find_torrents_to_fetch(filter_dict["id"])
KeyError: 'id'
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/deluge-1.2.900_dev-py2.6.egg/deluge/ui/gtkui/torrentview.py", line 336, in send_status_request
    self.filter, status_keys).addCallback(self._on_get_torrents_status)
  File "/usr/local/lib/python2.6/dist-packages/deluge-1.2.900_dev-py2.6.egg/deluge/ui/sessionproxy.py", line 215, in get_torrents_status
    to_fetch = find_torrents_to_fetch(filter_dict["id"])
KeyError: 'id'
.....

Change History (4)

comment:1 Changed 8 years ago by simonbcn

I forgot to say that I connect gtkui with deluged in remote machine.
Also gtkui sometimes takes a long time in refresh the torrent list with change in main categories: downloading, seeding, etc...

comment:2 Changed 8 years ago by simonbcn

Also when I add one torrent from gtkui, gtkui doesn't refresh the torrent list correctly:

Unhandled error in Deferred:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/twisted/internet/tcp.py", line 463, in doRead
    return self.protocol.dataReceived(data)
  File "/usr/local/lib/python2.6/dist-packages/deluge-1.2.900_dev-py2.6.egg/deluge/ui/client.py", line 179, in dataReceived
    d.callback(request[2])
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 243, in callback
    self._startRunCallbacks(result)
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 312, in _startRunCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 328, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/deluge-1.2.900_dev-py2.6.egg/deluge/ui/sessionproxy.py", line 211, in on_filter_status
    return on_status(result, result.keys(), keys)
  File "/usr/local/lib/python2.6/dist-packages/deluge-1.2.900_dev-py2.6.egg/deluge/ui/sessionproxy.py", line 162, in on_status
    self.torrents[key][0] = t
exceptions.KeyError: 'bd31f18dcef2964c0326ec2d28a0a2553b64fd46'
Unhandled error in Deferred:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/twisted/internet/tcp.py", line 463, in doRead
    return self.protocol.dataReceived(data)
  File "/usr/local/lib/python2.6/dist-packages/deluge-1.2.900_dev-py2.6.egg/deluge/ui/client.py", line 179, in dataReceived
    d.callback(request[2])
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 243, in callback
    self._startRunCallbacks(result)
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 312, in _startRunCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 328, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/deluge-1.2.900_dev-py2.6.egg/deluge/ui/sessionproxy.py", line 211, in on_filter_status
    return on_status(result, result.keys(), keys)
  File "/usr/local/lib/python2.6/dist-packages/deluge-1.2.900_dev-py2.6.egg/deluge/ui/sessionproxy.py", line 162, in on_status
    self.torrents[key][0] = t
exceptions.KeyError: 'bd31f18dcef2964c0326ec2d28a0a2553b64fd46'
...

comment:3 Changed 8 years ago by damoxc

  • Resolution set to fixed
  • Status changed from new to closed

Just tested with latest git and the improvements to sessionproxy have fixed this.

comment:4 Changed 10 months ago by Cas

  • Milestone changed from 2.0.x to 2.x

Milestone renamed

Note: See TracTickets for help on using tickets.