KeyError: 'unique_ID'

Suggestions and discussion of future versions
Post Reply
User avatar
chaky
Member
Member
Posts: 14
Joined: Fri May 25, 2007 8:18 pm
Location: Croatia, Europe
Contact:

KeyError: 'unique_ID'

Post by chaky »

Hello all,

this is what I get in latest svn version:

Code: Select all

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/deluge/interface.py", line 860, in update
    self.manager.handle_events()
  File "/usr/lib/python2.5/site-packages/deluge/core.py", line 624, in handle_events
    self.queue_bottom(event['unique_ID'])
KeyError: 'unique_ID'
and also while downloading torrent, it does not refresh all informations (speed, %, seeds, peers, etc.) until I click on it inside Deluge then it stops (not download, just refresh) and I have to click on it again, to see new info.

If someone can take a look? Thanks.
User avatar
chaky
Member
Member
Posts: 14
Joined: Fri May 25, 2007 8:18 pm
Location: Croatia, Europe
Contact:

Re: KeyError: 'unique_ID'

Post by chaky »

I have deleted .config/deluge/ and now, it seems to work fine.
User avatar
Tares
Member
Member
Posts: 38
Joined: Wed Jun 13, 2007 3:37 pm
Location: Europe, Poland

Re: KeyError: 'unique_ID'

Post by Tares »

chaky wrote:I have deleted .config/deluge/ and now, it seems to work fine.
Worked fine for just few moments, then I get the unique_id error again.

EDIT :
I'll add my errors cause they are slightly different :

Code: Select all

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/deluge/interface.py", line 853, in update
    self.manager.handle_events()
  File "/usr/lib/python2.5/site-packages/deluge/core.py", line 628, in handle_events
    self.save_fastresume_data(event['unique_ID'])
KeyError: 'unique_ID'
Import finished
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/deluge/interface.py", line 1318, in window_state_event
    self.update()
  File "/usr/lib/python2.5/site-packages/deluge/interface.py", line 853, in update
    self.manager.handle_events()
  File "/usr/lib/python2.5/site-packages/deluge/core.py", line 628, in handle_events
    self.save_fastresume_data(event['unique_ID'])
KeyError: 'unique_ID'
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/deluge/interface.py", line 458, in tray_clicked
    self.update()
  File "/usr/lib/python2.5/site-packages/deluge/interface.py", line 853, in update
    self.manager.handle_events()
  File "/usr/lib/python2.5/site-packages/deluge/core.py", line 628, in handle_events
    self.save_fastresume_data(event['unique_ID'])
KeyError: 'unique_ID'
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/deluge/interface.py", line 458, in tray_clicked
    self.update()
  File "/usr/lib/python2.5/site-packages/deluge/interface.py", line 853, in update
    self.manager.handle_events()
  File "/usr/lib/python2.5/site-packages/deluge/core.py", line 628, in handle_events
    self.save_fastresume_data(event['unique_ID'])
KeyError: 'unique_ID'
EDIT2 :
I've managed to trace it back to blocklist plugin. When I have it turned off, everything works fine and I don't get those errors from above.

OT :
But I get 100% CPU sometimes now :p

EDIT3 :
With svn 1538 seems to be working again.

EDIT4 :
Seems, it was my system problem, not deluge. I've messed with deluge 0.6 a little, then I've tried to get back to svn. Then got the unique_id error. The problem laid with ccache, it hold some stuff from 0.6 and it wasn't compiling right, so if someone has similar problem... flush your cache ^^
Ubuntu 9.10 Karmic Koala amd64
Post Reply