Custom Query (2449 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (247 - 249 of 2449)

Ticket Resolution Summary Owner Reporter
#2964 Fixed TypeError when trying to check authentication level in RPC Server. Calum georgetg
Description

In file deluge/core/rpcserver.py:

(connectionMade) - Line 208:

self.factory.authorized_sessions[self.transport.sessionno] = AUTH_LEVEL_NONE

Then in (dispatch) - Line 293:

auth_level = self.factory.authorized_sessions[self.transport.sessionno][0]
if auth_level < method_auth_requirement:
    # This session is not allowed to call this method
    log.debug("Session %s is trying to call a method it is not authorized to call!", self.transport.sessionno)
    raise NotAuthorizedError("Auth level too low: %s < %s" % (auth_level, method_auth_requirement))

This will throw a TypeError if the user is not authenticated, since

self.factory.authorized_sessions[self.transport.sessionno] is AUTH_LEVEL_NONE which is an int. The type error would be handled by the following except Exception, e: which is not the expected behavior of an unauthenticated call.

A trivial fix would be:

self.factory.authorized_sessions[self.transport.sessionno] = (AUTH_LEVEL_NONE, None)

at line 208, but I am not sure if it breaks something else.

#2962 WorksForMe deluge-gtk freezes when using the Open Folder function with nemo sponix
Description

1) Linux Mint 18.1 Cinnamon 64-bit 2) Ran deluge-gtk, selected a torrent, and choose "Open Folder" 3) The Location of the Torrent opened in the nemo file browser, and deluge-gtk froze solid 4) Expected the torrent data location to open and deluge-gtk to continue running as normal 5) This freezes deluge-gtk every time and only a force quit or kill -9 will close it afterwards

This issue seems to be only with Cinnamon, I can do the exact same thing in Mate and it functions fine.. But if I install nemo within Mate and set it as the default file browser the freezes take place again..

#2961 Fixed [LIBTORRENT] Deluged Error No Converter Found Doadin
Description

tested on deluge develop commit a7826c4f90115026d3d50c51f9b3a4e5520d9ccf and libtorrent RC_1_1 commit 132be5101ff48ecc2831e4171c4f2043b290c6f9

alertmanager.py", line 99, in handle_alerts

alerts = self.session.pop_alerts()

exceptions.TypeError: No to_python (by-value) converter found for C++ type: class boost::shared_ptr<class libtorrent::alert>

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