Custom Query (2449 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (250 - 252 of 2449)

Ticket Resolution Summary Owner Reporter
#2956 Fixed Filestab IndexError: tuple index out of range Cas
Description

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/policies.py", line 118, in dataReceived
    self.wrappedProtocol.dataReceived(data)
  File "/home/ubuntu/deluge-1.3-git/deluge/ui/client.py", line 179, in dataReceived
    d.callback(request[2])
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 362, in callback
    self._startRunCallbacks(result)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 458, in _startRunCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 545, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/home/ubuntu/deluge-1.3-git/deluge/ui/gtkui/files_tab.py", 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
Description

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 torrent.py 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/rpcserver.py", line 299, in dispatch
    ret = self.factory.methods[method](*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/deluge/core/core.py", line 411, in move_storage
    if not self.torrentmanager[torrent_id].move_storage(dest):
  File "/usr/lib/python2.7/site-packages/deluge/core/torrent.py", line 913, in move_storage
    self.torrent_id, dest, ex)
NameError: global name 'ex' is not defined

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

Code highlighting:

    if not os.path.exists(dest):
      try:
          # Try to make the destination path if it doesn't exist
          os.makedirs(dest)
      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
#2952 Fixed appdata.xml file for Linux software gallery integration Mailaender
Description

AppData is an open standard for displaying end user meta data in centralized software stores.

Note: See TracQuery for help on using queries.