Custom Query (2449 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (619 - 621 of 2449)

Ticket Resolution Summary Owner Reporter
#2771 WorksForMe Status Tab KeyError in terminal on shutdown Calum
Description

An annoying error that would like to fix. It will randomly happen on shutdown and seems to be a status call after the core has shutdown but odd that the keyerror is only for 'progress'.

Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
  File "/home/ubuntu/deluge-1.3-stable-git/deluge/ui/gtkui/torrentdetails.py", line 380, in update
    self.tabs[name].update()
  File "/home/ubuntu/deluge-1.3-stable-git/deluge/ui/gtkui/status_tab.py", line 120, in update
    selected, status_keys).addCallback(self._on_get_torrent_status)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 298, in addCallback
    callbackKeywords=kw)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 287, in addCallbacks
    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-stable-git/deluge/ui/gtkui/status_tab.py", line 152, in _on_get_torrent_status
    fraction = status["progress"] / 100
exceptions.KeyError: 'progress'
#2772 Fixed GtkWarning: Failed to set text from markup due to error parsing markup Calum
Description

Another annoying error that needs eliminating, looks like a torrent has <br> in it's comments.

Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
  File "/home/ubuntu/deluge-1.3-stable-git/deluge/ui/gtkui/torrentdetails.py", line 380, in update
    self.tabs[name].update()
  File "/home/ubuntu/deluge-1.3-stable-git/deluge/ui/gtkui/details_tab.py", line 85, in update
    session.get_torrent_status(selected, status_keys).addCallback(self._on_get_torrent_status)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 298, in addCallback
    callbackKeywords=kw)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 287, in addCallbacks
    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-stable-git/deluge/ui/gtkui/details_tab.py", line 111, in _on_get_torrent_status
    widget[0].set_markup(txt.replace('&', '&amp;'))
/home/ubuntu/deluge-1.3-git/deluge/ui/gtkui/details_tab.py:111: GtkWarning: Failed to set text from markup due to error parsing markup: Error on line 1 char 26: Element 'markup' was closed, but the currently open element is 'br'
  widget[0].set_markup(txt.replace('&', '&amp;'))
/home/ubuntu/deluge-1.3-git/deluge/ui/gtkui/details_tab.py:109: GtkWarning: Failed to set text from markup due to error parsing markup: Error on line 1 char 65: Element 'a' was closed, but the currently open element is 'br'
  widget[0].set_markup('<a href="%s">%s</a>' % (txt, txt.replace('&', '&amp;')))
#2782 Fixed HTTPS negotiates with incorrect cipher Calum
Description

Snippet from original forum thread: http://forum.deluge-torrent.org/viewtopic.php?f=7&t=51545

I recently updated to v 1.3.12 and noticed that the problem was still occurring which brought me back here.

It's been quite a while since I looked at this but, my recollection of the problem was that the web-ui server was using some old/weird stuff to initialise twisted which meant it wasn't getting a full list of available safe cipher suites. I believe the problem was caused by the "safe" cipher suites provided by the latest version of openssl not overlapping particularly well with those being allowed by the implementation of twisted in place in deluge and those that firefox would allow.

I removed the ServerContextFactory class (which was what I saw causing the problem) and re-wrote start_ssl() to set the certificate options itself and let twisted handle everything else like deciding which cipher suites were OK to use. This added a whole bunch of additional cipher suites available for negotiation.

With the current configuration the cipher that is negotiated is TLS_RSA_WITH_AES_128_CBC_SHA which probably shouldn't be used even if it did work, with my update it negotiates TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256.

At the time I had planned on submitting a patch to the git repository but I wasn't able to get the develop branch to run even before I implemented my changes so I just left it as there didn't seem to be any active development at the time.

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.