Opened 11 years ago

Closed 11 years ago

#2223 closed bug (Fixed)

Deluged - exceptions.AttributeError: 'dict' object has no attribute 'url'

Reported by: CowboiBebop Owned by:
Priority: minor Milestone: 1.3.6
Component: Core Version: 1.3-stable
Keywords: Cc:

Description

When adding a new .torrent (currently through an autoadd directory), the following error is recivced:

Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1169, in run
    self.mainLoop()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1178, in mainLoop
    self.runUntilCurrent()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 800, in runUntilCurrent
    call.func(*call.args, **call.kw)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/task.py", line 215, in __call__
    d = defer.maybeDeferred(self.f, *self.a, **self.kw)
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 134, in maybeDeferred
    result = f(*args, **kw)
  File "/usr/local/lib/python2.7/dist-packages/deluge-1.3.5_dev-py2.7.egg/deluge/core/autoadd.py", line 102, in update
    component.get("TorrentManager").add(filedump=filedump, filename=filename)
  File "/usr/local/lib/python2.7/dist-packages/deluge-1.3.5_dev-py2.7.egg/deluge/core/torrentmanager.py", line 475, in add
    torrent = Torrent(handle, options, state, filename, magnet)
  File "/usr/local/lib/python2.7/dist-packages/deluge-1.3.5_dev-py2.7.egg/deluge/core/torrent.py", line 179, in __init__
    tracker["url"] = value.url
exceptions.AttributeError: 'dict' object has no attribute 'url'

Currenlty using 1.3-stable compiled from Git, and an unreleased Libtorrent (AIO) with the version of 1.1.0 - gazpachoking advised that it should be fixed, and to make this ticket.

Change History (1)

comment:1 Changed 11 years ago by gazpachoking

  • Milestone changed from Future to 1.3.6
  • Resolution set to fixed
  • Status changed from new to closed

Fixed in fc4ca861dab8

Note: See TracTickets for help on using tickets.