Custom Query (2449 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (571 - 573 of 2449)

Ticket Resolution Summary Owner Reporter
#2038 Fixed Chrome 17 disconnecting from webui Damien Churchill Calum
Description

A recent update to Chrome 17 has caused the webui to timeout after several minutes. From what I can tell the problem is actually a bug in deluge where a json request 'web.get_events' never gets a response.

I don't fully understand this part of the code but my testing has found that returning a callback of None instead of continuing seems to keep Chrome connection alive and has no effect on receiving future plugin enabled events.

diff --git a/deluge/ui/web/json_api.py b/deluge/ui/web/json_api.py
index 4bbcf9a..cb5e8fc 100644
--- a/deluge/ui/web/json_api.py
+++ b/deluge/ui/web/json_api.py
@@ -400,7 +400,8 @@ def _get_events(self, listener_id, count, d):
             if count >= 3000:
                 d.callback(None)
             else:
-                reactor.callLater(0.1, self._get_events, listener_id, count + 1, d)
+                d.callback(None)
+                #reactor.callLater(0.1, self._get_events, listener_id, count + 1, d)
 
     def remove_listener(self, listener_id, event):
         """
#2044 Fixed [Execute] Cannot re-enable plugin Calum
Description

Enabled, disable then attempt to enable again results in this error:

--------------------------------------------------------------------------------
[ERROR   ] 22:03:12 client:395 RPCError Message Received!
--------------------------------------------------------------------------------
RPCRequest: core.enable_plugin(Execute)
--------------------------------------------------------------------------------
  File "/home/ubuntu/deluge.git/deluge/core/rpcserver.py", line 298, in dispatch
    ret = self.factory.methods[method](*args, **kwargs)
  File "/home/ubuntu/deluge.git/deluge/core/core.py", line 511, in enable_plugin
    return None
  File "/home/ubuntu/deluge.git/deluge/core/pluginmanager.py", line 82, in enable_plugin
    super(PluginManager, self).enable_plugin(name)
  File "/home/ubuntu/deluge.git/deluge/pluginmanagerbase.py", line 151, in enable_plugin
    component.start([instance.plugin._component_name])
  File "/home/ubuntu/deluge.git/deluge/component.py", line 278, in start
    if self.components[name]._component_depend:

KeyError: CorePlugin.Execute
--------------------------------------------------------------------------------

The only clue to the issue is that removing all the exported RPC methods from core.py stopped the error occurring.

#2046 Fixed Issue with prefs pages when enabling/disabling plugins in webui Damien Churchill Calum
Description

Noticed that pages are not adding or removing for some reason when enabling or disabling a plugin and can even sometimes end up with multiple pages. Refreshing browser solves the issue though.

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