I have deluged 1.2.0 RC5 running on headless server with Web UI, but most of the plugins are not configurable via web UI at this point (scheduler, blocklist, execute). So I connected to my server via GTK UI hoping I will be able to configure it this way, but when I try to open preferences nothing happens. Is it not possible to do that or it's just a bug?
Thanks
GTK UI preferences dialog when connected to remote server
Re: GTK UI preferences dialog when connected to remote server
You should be able to change preferences (including installing and enabling plugins) using a remote GTK UI.
Did you follow the thin client userguide: http://dev.deluge-torrent.org/wiki/UserGuide/ThinClient ?
Otherwise best would be to run the GTK UI with debug logging enabled: then try to open the preferences dialog and paste the output here.
Did you follow the thin client userguide: http://dev.deluge-torrent.org/wiki/UserGuide/ThinClient ?
Otherwise best would be to run the GTK UI with debug logging enabled:
Code: Select all
deluge -L debug
Re: GTK UI preferences dialog when connected to remote server
Yes, I am able to connect without any problems and see active torrents, it's just that the preferences dialog is not working.
Here is what I got right after I clicked on preferences:
Here is what I got right after I clicked on preferences:
Code: Select all
exceptions.TypeError: a float is required
[DEBUG ] 00:27:32 menubar:269 on_menuitem_preferences_activate
[DEBUG ] 00:27:32 pluginmanager:103 run_on_show_prefs
[DEBUG ] 00:27:32 gtkui:191 config: {'low_up': 5.0, 'low_down': 300.0, 'button_state': ((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, 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, 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, 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, 0, 0, 0), (0, 0, 0, 0, 0, 0, 0), (0, 0, 0, 0, 0, 0, 0), (0, 0, 0, 0, 0, 0, 0)), 'low_active': 8}
[DEBUG ] 00:27:32 gtkui:76 [[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, 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, 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, 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, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0]]
Unhandled error in Deferred:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/twisted/internet/tcp.py", line 460, in doRead
return self.protocol.dataReceived(data)
File "/usr/lib/python2.6/site-packages/deluge/ui/client.py", line 176, in dataReceived
d.callback(request[2])
File "/usr/lib/python2.6/site-packages/twisted/internet/defer.py", line 238, in callback
self._startRunCallbacks(result)
File "/usr/lib/python2.6/site-packages/twisted/internet/defer.py", line 307, in _startRunCallbacks
self._runCallbacks()
--- <exception caught here> ---
File "/usr/lib/python2.6/site-packages/twisted/internet/defer.py", line 323, in _runCallbacks
self.result = callback(self.result, *args, **kw)
File "/usr/lib/python2.6/site-packages/deluge/ui/gtkui/preferences.py", line 207, in _on_get_cache_status
self._show()
File "/usr/lib/python2.6/site-packages/deluge/ui/gtkui/preferences.py", line 226, in _show
("active", self.core_config["del_copy_torrent_file"]),
exceptions.KeyError: 'del_copy_torrent_file'
Unhandled error in Deferred:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/twisted/internet/tcp.py", line 460, in doRead
return self.protocol.dataReceived(data)
File "/usr/lib/python2.6/site-packages/deluge/ui/client.py", line 176, in dataReceived
d.callback(request[2])
File "/usr/lib/python2.6/site-packages/twisted/internet/defer.py", line 238, in callback
self._startRunCallbacks(result)
File "/usr/lib/python2.6/site-packages/twisted/internet/defer.py", line 307, in _startRunCallbacks
self._runCallbacks()
--- <exception caught here> ---
File "/usr/lib/python2.6/site-packages/twisted/internet/defer.py", line 323, in _runCallbacks
self.result = callback(self.result, *args, **kw)
File "build/bdist.linux-x86_64/egg/blocklist/gtkui.py", line 119, in _on_get_status
exceptions.TypeError: a float is required
Unhandled error in Deferred:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/twisted/internet/tcp.py", line 460, in doRead
return self.protocol.dataReceived(data)
File "/usr/lib/python2.6/site-packages/deluge/ui/client.py", line 176, in dataReceived
d.callback(request[2])
File "/usr/lib/python2.6/site-packages/twisted/internet/defer.py", line 238, in callback
self._startRunCallbacks(result)
File "/usr/lib/python2.6/site-packages/twisted/internet/defer.py", line 307, in _startRunCallbacks
self._runCallbacks()
--- <exception caught here> ---
File "/usr/lib/python2.6/site-packages/twisted/internet/defer.py", line 323, in _runCallbacks
self.result = callback(self.result, *args, **kw)
File "build/bdist.linux-x86_64/egg/blocklist/gtkui.py", line 119, in _on_get_status
Last edited by johnnyg on Sun Jan 03, 2010 7:09 am, edited 1 time in total.
Reason: add code tags to make it readable
Reason: add code tags to make it readable
Re: GTK UI preferences dialog when connected to remote server
BTW thanks a lot for the prompt reply.
Forgot to mention that server is running 1.2.0 RC5 and GTK client on my desktop was compiled from trunk yesterday.
Forgot to mention that server is running 1.2.0 RC5 and GTK client on my desktop was compiled from trunk yesterday.
Re: GTK UI preferences dialog when connected to remote server
ah, crucial informationnezach wrote:BTW thanks a lot for the prompt reply.
Forgot to mention that server is running 1.2.0 RC5 and GTK client on my desktop was compiled from trunk yesterday.

You're getting those errors because the GTK UI is newer than the server and is asking the server for information it doesn't have

Either downgrade the GTK UI to 1.2.0 RC5 (recommended) or upgrade the server to trunk.
Edit: The changeset that preventing the preferences dialog from appearing is 6009
If you just want to use the GTK UI to enable the plugins, then as a quick fix you could do
Code: Select all
svn up -r 6008
Re: GTK UI preferences dialog when connected to remote server
Thanks again. I compiled RC5 on the client side and its working great now.