Custom Query (2447 matches)


Show under each result:

Results (250 - 252 of 2447)

Ticket Resolution Summary Owner Reporter
#2957 Fixed torrentview AttributeError: 'NoneType' object has no attribute 'lower' Cas

Found this while test adding magnet and clicking various ui tabs.

Traceback (most recent call last):
  File "/home/ubuntu/deluge-1.3-git/deluge/ui/gtkui/", line 261, in stabilized
    result = sort_func(model, iter1, iter2, data)
  File "/home/ubuntu/deluge-1.3-git/deluge/ui/gtkui/", line 180, in str_nocase_sort
    v2 = model[iter2][data].lower()
AttributeError: 'NoneType' object has no attribute 'lower'
#2956 Fixed Filestab IndexError: tuple index out of range Cas

Adding a magnet and leaving the files_tab open creating a timing issue where file_progress is populated but file_priorities is not:

[CRITICAL] 16:15:57 files_tab:469 {'files': (), 'file_progress': 0.0, 'file_priorities': ()}
[CRITICAL] 16:15:59 files_tab:469 {'files': ({...}), 'file_progress': (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0), 'file_priorities': ()}
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/protocols/", line 118, in dataReceived
  File "/home/ubuntu/deluge-1.3-git/deluge/ui/", line 179, in dataReceived
  File "/usr/lib/python2.7/dist-packages/twisted/internet/", line 362, in callback
  File "/usr/lib/python2.7/dist-packages/twisted/internet/", line 458, in _startRunCallbacks
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/", line 545, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/home/ubuntu/deluge-1.3-git/deluge/ui/gtkui/", line 503, in _on_get_torrent_status
    file_priority = status["file_priorities"][index]
exceptions.IndexError: tuple index out of range

Doesn't happen every time but often enough to replicate.

#2953 Fixed code typo (ex -> e) in move_storage() preventing 'move storage' error from being proper logged Cas neon666

Nothing happens when attempting to move storage under certain conditions. The error from deluged.log is below. I believe it is a simple typo - the last argument to log_error should be e (the error reported), not ex (which doesn't exist). The code snippet from is also below.

The deluged.log generates this error:

Code highlighting:

  [ERROR   ] 10:50:08 rpcserver:304 Exception calling RPC request: global name 'ex' is not defined
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/deluge/core/", line 299, in dispatch
    ret = self.factory.methods[method](*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/deluge/core/", line 411, in move_storage
    if not self.torrentmanager[torrent_id].move_storage(dest):
  File "/usr/lib/python2.7/site-packages/deluge/core/", line 913, in move_storage
    self.torrent_id, dest, ex)
NameError: global name 'ex' is not defined

Lines 906 - 914 in deluge/core/, the 'ex' in the line next to last should be 'e':

Code highlighting:

    if not os.path.exists(dest):
          # Try to make the destination path if it doesn't exist
      except OSError, e:
          log.error("Could not move storage for torrent %s since %s does "
                    "not exist and could not create the directory: %s",
                    self.torrent_id, dest, ex)
          return False
Note: See TracQuery for help on using queries.