Custom Query (2449 matches)
Results (325 - 327 of 2449)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #2964 | Fixed | TypeError when trying to check authentication level in RPC Server. | ||
| 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
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. |
|||
| #3309 | Fixed | TypeError: '>' not supported between instances of 'NoneType' and 'str' | ||
| Description |
At start: TypeError: '>' not supported between instances of 'NoneType' and 'str'
Traceback (most recent call last):
File "/usr/lib64/python3.6/site-packages/deluge/ui/gtk3/listview.py", line 233, in stabilized
result = sort_func(model, iter1, iter2, data)
File "/usr/lib64/python3.6/site-packages/deluge/ui/gtk3/torrentview.py", line 106, in progress_sort
return cmp(state1, state2)
File "/usr/lib64/python3.6/site-packages/deluge/ui/gtk3/common.py", line 45, in cmp
return (x > y) - (x < y)
Seems like number of this messages correlates with number of torrents... |
|||
| #1988 | Fixed | TypeError: Gtk.Widget.set_colormap() argument 1 must be gtk.gdk.Colormap, not None | ||
| Description |
$ deluge
Xlib: extension "RANDR" missing on display ":1".
Traceback (most recent call last):
File "/usr/bin/deluge", line 9, in <module>
load_entry_point('deluge==1.3.900-dev', 'gui_scripts', 'deluge')()
File "/usr/lib/python2.7/site-packages/deluge/main.py", line 135, in start_ui
UI(options, args, options.args)
File "/usr/lib/python2.7/site-packages/deluge/ui/ui.py", line 148, in __init__
ui = GtkUI(args)
File "/usr/lib/python2.7/site-packages/deluge/ui/gtkui/gtkui.py", line 205, in __init__
self.torrentdetails = TorrentDetails()
File "/usr/lib/python2.7/site-packages/deluge/ui/gtkui/torrentdetails.py", line 136, in __init__
self.add_tab(tab(), generate_menu=False)
File "/usr/lib/python2.7/site-packages/deluge/ui/gtkui/status_tab.py", line 89, in __init__
apply_now=True
File "/usr/lib/python2.7/site-packages/deluge/config.py", line 339, in register_set_function
function(key, self.__config[key])
File "/usr/lib/python2.7/site-packages/deluge/ui/gtkui/status_tab.py", line 177, in on_show_pieces_bar_config_changed
self.show_pieces_bar(show)
File "/usr/lib/python2.7/site-packages/deluge/ui/gtkui/status_tab.py", line 189, in show_pieces_bar
self.piecesbar = PiecesBar()
File "/usr/lib/python2.7/site-packages/deluge/ui/gtkui/piecesbar.py", line 82, in __init__
self.set_colormap(self.get_screen().get_rgba_colormap())
TypeError: Gtk.Widget.set_colormap() argument 1 must be gtk.gdk.Colormap, not None
|
|||
Note:
See TracQuery
for help on using queries.
