Opened 16 years ago

Closed 16 years ago

#99 closed bug (WorksForMe)

deluge crashed with TypeError in get_torrent_state_list()

Reported by: Owned by: markybob
Priority: major Milestone:
Component: 0.5.x Version:
Keywords: Cc:


This bug was reported by Tiago Sousa and others at ubuntu's bugtracker:

"A new instance of Deluge crashes every time I try to add an already downloading torrent! Still, the main program keeps running, I just receive a message saying, after opening the torrent, that Deluge crashed and nothing else happens. All downloads keep running.

This is easily reproducible, just start downloading a torrent, re-add it and watch a message stating that deluge crashed and have your program still downloading."

Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/deluge/", line 1478, in add_torrent_clicked
  File "/var/lib/python-support/python2.5/deluge/", line 1368, in interactive_add_torrent
    return self.interactive_add_torrent_path(torrent, path)
  File "/var/lib/python-support/python2.5/deluge/", line 1454, in interactive_add_torrent_path
  File "/var/lib/python-support/python2.5/deluge/", line 677, in torrent_model_append
    self.get_torrent_state_list(unique_id, state))
  File "/var/lib/python-support/python2.5/deluge/", line 987, in get_torrent_state_list
    queue = state['queue_pos']
TypeError: 'NoneType' object is unsubscriptable

Change History (2)

comment:1 by anonymous, 16 years ago

Cc: added

comment:2 by mvoncken, 16 years ago

Resolution: worksforme
Status: newclosed

Worksforme in 1.0 : Closing old bugs, feel free to reopen.

Note: See TracTickets for help on using tickets.