Re: 0.6 Development Report
Posted: Wed Feb 27, 2008 3:52 pm
Sorry for having a question which probably has an immediately obvious answer, but how do I get the webui running?
Support Forum for the Deluge BitTorrent Client
https://forum.deluge-torrent.org/
mickstephenson wrote:Sorry for having a question which probably has an immediately obvious answer, but how do I get the webui running?
Code: Select all
deluge --ui web
there already is one, called delugent and is included as part of python-gnt (http://code.google.com/p/python-gnt/). also, you can send commands to deluged using the 'null' ui that's included with 0.6pettman wrote:How hard would it be to develop a curses interface for those who access their boxes through SSH? If it isn't too hard and someone could point me to a good curses tutorial I could give it a try (it would be a good reason to learn curses and get some python experience).
Yep. There's delugent. Some screenshots are available here: http://pidgin.im/~sadrul/ss/apps.htmlpettman wrote:How hard would it be to develop a curses interface for those who access their boxes through SSH? If it isn't too hard and someone could point me to a good curses tutorial I could give it a try (it would be a good reason to learn curses and get some python experience).
If you are already using the namessadrul wrote: a better name for the curses UI than 'delugent'?
Code: Select all
[DEBUG ] __init__:1072 on_toolbutton_add_clicked
[DEBUG ] __init__:1072 on_menuitem_addtorrent_activate
[DEBUG ] __init__:1072 _on_button_url_clicked
[DEBUG ] __init__:1072 url: http://www.mininova.org/get/xxx
[DEBUG ] __init__:1072 _on_button_add_clicked
[DEBUG ] __init__:1072 Attempting to add torrent files: []
Fault : <Fault 1: 'exceptions.TypeError:export_add_torrent_url() takes exactly 4 arguments (3 given)'>
SERVER_SOFTWARE 'CherryPy/3.0.2 WSGI Server'
wsgi.errors <open file '<stderr>', mode 'w' at 0xb7dbd0b0>
wsgi.input <socket._fileobject object at 0xb754cbfc>
wsgi.multiprocess False
wsgi.multithread True
wsgi.run_once False
Code: Select all
[DEBUG ] __init__:1072 torrent_add.POST(name=)
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/deluge-0.6.0.0-py2.4-linux-i686.egg/deluge/ui/webui/lib/webpy022/webapi.py", line 304, in wsgifunc
result = func()
File "/usr/lib/python2.4/site-packages/deluge-0.6.0.0-py2.4-linux-i686.egg/deluge/ui/webui/lib/webpy022/request.py", line 131, in <lambda>
func = lambda: handle(inp, fvars)
File "/usr/lib/python2.4/site-packages/deluge-0.6.0.0-py2.4-linux-i686.egg/deluge/ui/webui/lib/webpy022/request.py", line 61, in handle
return tocall(*([x and urllib.unquote(x) for x in args] + fna))
File "/usr/lib/python2.4/site-packages/deluge-0.6.0.0-py2.4-linux-i686.egg/deluge/ui/webui/page_decorators.py", line 38, in deco
return func(self, name) #check_session:ok
File "/usr/lib/python2.4/site-packages/deluge-0.6.0.0-py2.4-linux-i686.egg/deluge/ui/webui/torrent_add.py", line 118, in POST
proxy.add_torrent_url(vars.url,options)
File "/usr/lib/python2.4/site-packages/deluge-0.6.0.0-py2.4-linux-i686.egg/deluge/xmlrpclib.py", line 1150, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.4/site-packages/deluge-0.6.0.0-py2.4-linux-i686.egg/deluge/xmlrpclib.py", line 1440, in __request
verbose=self.__verbose
File "/usr/lib/python2.4/site-packages/deluge-0.6.0.0-py2.4-linux-i686.egg/deluge/xmlrpclib.py", line 1204, in request
return self._parse_response(h.getfile(), sock)
File "/usr/lib/python2.4/site-packages/deluge-0.6.0.0-py2.4-linux-i686.egg/deluge/xmlrpclib.py", line 1343, in _parse_response
return u.close()
File "/usr/lib/python2.4/site-packages/deluge-0.6.0.0-py2.4-linux-i686.egg/deluge/xmlrpclib.py", line 787, in close
raise Fault(**self._stack[0])
Fault: <Fault 1: 'exceptions.TypeError:export_add_torrent_url() takes exactly 4 arguments (3 given)'>
Code: Select all
$ deluge
[INFO ] __init__:1072 Deluge ui 0.6.0.0r2926
[DEBUG ] __init__:1072 options: {'ui': None}
[DEBUG ] __init__:1072 args: []
[DEBUG ] __init__:1072 ConfigManager started..
[INFO ] __init__:1072 Starting ui..
[DEBUG ] __init__:1072 UI init..
[DEBUG ] __init__:1072 Getting config 'ui.conf'
[DEBUG ] __init__:1072 Config created with filename: ui.conf
[DEBUG ] __init__:1072 Config defaults: {'selected_ui': 'gtk'}
[DEBUG ] __init__:1072 Opening pickled file for load..
[DEBUG ] __init__:1072 Opening pickled file for comparison..
[DEBUG ] __init__:1072 Not writing config file due to no changes..
[DEBUG ] __init__:1072 Opening pickled file for comparison..
[DEBUG ] __init__:1072 Not writing config file due to no changes..
[INFO ] __init__:1072 Starting WebUI..
[DEBUG ] __init__:1072 CoreProxy init..
[ERROR ] __init__:1072 no translations :(
[INFO ] __init__:1072 Setting core uri as http://localhost:58846
[DEBUG ] __init__:1072 Creating ServerProxy..
[DEBUG ] __init__:1072 cfg-file /home/xxx/.config/deluge/webui.conf
<module 'deluge.ui.webui.utils' from '/usr/lib/python2.4/site-packages/deluge-0.6.0.0-py2.4-linux-i686.egg/deluge/ui/webui/utils.pyc'>
['REVNO', 'STATE_MESSAGES', 'Storage', 'TORRENT_KEYS', 'UnknownTorrentError', 'VERSION', 'WebUiError', '__builtins__', '__doc__', '__file__', '__name__', 'async_proxy', 'attrgetter', 'cookies', 'daemon_start_localhost', 'daemon_test_online_status', 'datetime', 'debug_unicode', 'dict_cb', 'do_redirect', 'end_session', 'enhance_torrent_status', 'fsize', 'fspeed', 'ftime', 'get_enhanced_torrent_list', 'get_newforms_data', 'get_stats', 'get_torrent_status', 'getcookie', 'log', 'logcall', 'os', 'pickle', 'proxy', 'random', 'seeother', 'self_url', 'setcookie', 'start_session', 'template', 'traceback', 'url', 'urlparse', 'w_setcookie', 'web', 'ws']
http://0.0.0.0:8112/
Code: Select all
dp1
S'selected_ui'
p2
S'web'
p3
s.
Add by URL doesn't work in the gtkui yet. I broke it when I redesigned the Add Torrent dialog and haven't bothered to fix it yet.oshiri wrote:Just tested Deluge 0.6.0.0r2926.
Everything looks fine on Debian etch except systray will never going to show (same problem with 0.5.x) cause by ancient packages![]()
I dont have problem with svn2727.
This time I got problem with adding torrent from url. Both Gtk gui and Webui won't work.
From Gui, nothing happen, file does not show.gtk in ui.conf has been replace by web:Code: Select all
[DEBUG ] __init__:1072 on_toolbutton_add_clicked [DEBUG ] __init__:1072 on_menuitem_addtorrent_activate [DEBUG ] __init__:1072 _on_button_url_clicked [DEBUG ] __init__:1072 url: http://www.mininova.org/get/xxx [DEBUG ] __init__:1072 _on_button_add_clicked [DEBUG ] __init__:1072 Attempting to add torrent files: []
That's all for now.Code: Select all
dp1 S'selected_ui' p2 S'web' p3 s.