Opened 17 years ago

Closed 16 years ago

#99 closed bug (WorksForMe)

deluge crashed with TypeError in get_torrent_state_list()

Reported by: fnord@pentabarf.de Owned by: markybob
Priority: major Milestone:
Component: 0.5.x Version: 0.5.8.4
Keywords: Cc: fnord@pentabarf.de

Description

This bug was reported by Tiago Sousa and others at ubuntu's bugtracker: https://bugs.edge.launchpad.net/ubuntu/+source/deluge-torrent/+bug/202705

"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/interface.py", line 1478, in add_torrent_clicked
    self.interactive_add_torrent(single)
  File "/var/lib/python-support/python2.5/deluge/interface.py", line 1368, in interactive_add_torrent
    return self.interactive_add_torrent_path(torrent, path)
  File "/var/lib/python-support/python2.5/deluge/interface.py", line 1454, in interactive_add_torrent_path
    self.torrent_model_append(unique_id)
  File "/var/lib/python-support/python2.5/deluge/interface.py", line 677, in torrent_model_append
    self.get_torrent_state_list(unique_id, state))
  File "/var/lib/python-support/python2.5/deluge/interface.py", line 987, in get_torrent_state_list
    queue = state['queue_pos']
TypeError: 'NoneType' object is unsubscriptable

Change History (2)

comment:1 by anonymous, 17 years ago

Cc: fnord@pentabarf.de 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.