Opened 16 years ago

Closed 16 years ago

#251 closed bug (Fixed)

Recursion problem

Reported by: jonas@websystem.se Owned by: andar
Priority: major Milestone:
Component: Core Version: 0.6.0svn
Keywords: Cc:

Description

Got this using r3188 when I tried to add some torrents > 25

Traceback (most recent call last):
  File "/usr/lib64/python2.4/site-packages/deluge/core/torrentmanager.py", line 646, in on_alert_torrent_paused
    self.torrents[torrent_id].set_state("Paused")
  File "/usr/lib64/python2.4/site-packages/deluge/core/torrent.py", line 193, in set_state
    self.torrentqueue.update_queue()
  File "/usr/lib64/python2.4/site-packages/deluge/core/torrentqueue.py", line 81, in update_queue
    self.update_order()
  File "/usr/lib64/python2.4/site-packages/deluge/core/torrentqueue.py", line 131, in update_order
    self.torrents[torrent_id].set_state("Queued")
  File "/usr/lib64/python2.4/site-packages/deluge/core/torrent.py", line 193, in set_state
    self.torrentqueue.update_queue()
  File "/usr/lib64/python2.4/site-packages/deluge/core/torrentqueue.py", line 81, in update_queue
    self.update_order()
  File "/usr/lib64/python2.4/site-packages/deluge/core/torrentqueue.py", line 131, in update_order
    self.torrents[torrent_id].set_state("Queued")
  File "/usr/lib64/python2.4/site-packages/deluge/core/torrent.py", line 193, in set_state
    self.torrentqueue.update_queue()
  File "/usr/lib64/python2.4/site-packages/deluge/core/torrentqueue.py", line 81, in update_queue
    self.update_order()
  File "/usr/lib64/python2.4/site-packages/deluge/core/torrentqueue.py", line 131, in update_order
    self.torrents[torrent_id].set_state("Queued")
  File "/usr/lib64/python2.4/site-packages/deluge/core/torrent.py", line 193, in set_state
    self.torrentqueue.update_queue()
  File "/usr/lib64/python2.4/site-packages/deluge/core/torrentqueue.py", line 81, in update_queue
    self.update_order()
  File "/usr/lib64/python2.4/site-packages/deluge/core/torrentqueue.py", line 131, in update_order
    self.torrents[torrent_id].set_state("Queued")
  File "/usr/lib64/python2.4/site-packages/deluge/core/torrent.py", line 193, in set_state
    self.torrentqueue.update_queue()
....
<snip ~100 lines of same>
....
  File "/usr/lib64/python2.4/site-packages/deluge/core/torrentqueue.py", line 81, in update_queue
    self.update_order()
  File "/usr/lib64/python2.4/site-packages/deluge/core/torrentqueue.py", line 131, in update_order
    self.torrents[torrent_id].set_state("Queued")
  File "/usr/lib64/python2.4/site-packages/deluge/core/torrent.py", line 193, in set_state
    self.torrentqueue.update_queue()
  File "/usr/lib64/python2.4/site-packages/deluge/core/torrentqueue.py", line 81, in update_queue
    self.update_order()
  File "/usr/lib64/python2.4/site-packages/deluge/core/torrentqueue.py", line 128, in update_order
    log.debug("queueing: %s", self.seeding[-num_to_queue:])
  File "/usr/lib/python2.4/logging/__init__.py", line 955, in debug
    apply(self._log, (DEBUG, msg, args), kwargs)
  File "/usr/lib/python2.4/logging/__init__.py", line 1079, in _log
    self.handle(record)
  File "/usr/lib/python2.4/logging/__init__.py", line 1089, in handle
    self.callHandlers(record)
  File "/usr/lib/python2.4/logging/__init__.py", line 1126, in callHandlers
    hdlr.handle(record)
  File "/usr/lib/python2.4/logging/__init__.py", line 640, in handle
    self.acquire()
  File "/usr/lib/python2.4/logging/__init__.py", line 591, in acquire
    self.lock.acquire()
  File "/usr/lib/python2.4/threading.py", line 94, in acquire
    me = currentThread()
  File "/usr/lib/python2.4/threading.py", line 677, in currentThread
    return _DummyThread()
RuntimeError: maximum recursion depth exceeded

Change History (1)

comment:1 by andar, 16 years ago

Resolution: fixed
Status: newclosed

This should be fixed now since torrentqueue.py is no longer in use.

Note: See TracTickets for help on using tickets.