Yes, I know. I'd like to use QoS as well because that would work better, but AFAIK my router - a SpeedTouch 546i - doesn't support it.Tyr_7BE wrote:Sounds like you could benefit from some sort of QoS solution. Make bittorrent traffic low priority at the router level. It's a bit more involved than speed limiting, but it's the 'proper' solution to a problem like this.F for Fragging wrote:Thank you very much for your work on this mvoncken. However, for my use case I expected a feature which is not present in this plugin, controlling the download and upload speeds of Deluge.
My situation is as follows, in my house my brother's PC and my PC are both connected to a router for internet access. Unfortunately my router (a Thomson SpeedTouch 546) doesn't share the bandwith equally between our PC's, if I start a Bittorrent download without limiting the speed, it will take all the bandwith of the connection. If my brother happens to be gaming online when I do that, he gets massive lag of course. I was hoping to use the web interface plugin so that he can limit the speeds of Deluge on my PC if he wants to start playing online. It's unfortunate that you can't spend much time on developing new features anymore mvoncken, but it would be great if you could find some time to implement speed limiting.
WebUi Plugin 0.5
-
- Member
- Posts: 11
- Joined: Sun Jun 03, 2007 2:52 pm
Re: WebUi Plugin
Re: WebUi Plugin
I'm slowly working on max-upload/download settings.F for Fragging wrote:
Yes, I know. I'd like to use QoS as well because that would work better, but AFAIK my router - a SpeedTouch 546i - doesn't support it.
The gui is in bzr / just not the saving and apply .
dev: webui, core, labels | irc:vonck7 |
Re: WebUi Plugin
Some people asked for adding multiple torrent files to the Webui at once.
Select torrent files using your favorite file manager -> open with ->choose this script.
Disclaimer this is my 1'st bash script so I probably did't do the quoting right..
the script is included in rev 111.
Select torrent files using your favorite file manager -> open with ->choose this script.
Code: Select all
#!/bin/bash
pwd=deluge
url=http://localhost:8112
for arg in "$@"
do
curl -F torrent=@"$arg" -F pwd=$pwd $url/remote/torrent/add
done
the script is included in rev 111.
dev: webui, core, labels | irc:vonck7 |
Re: WebUi Plugin
I got a bug
Code: Select all
Traceback (most recent call last): File
"/usr/share/deluge/plugins/WebUi/gtk_cherrypy_wsgiserver.py", line 659, in communicate
req.respond() File "/usr/share/deluge/plugins/WebUi/gtk_cherrypy_wsgiserver.py", line 392,
in respond response = self.wsgi_app(self.environ, self.start_response) File
"/usr/share/deluge/plugins/WebUi/webpy022/webapi.py", line 309, in wsgifunc result =
internalerror() File "/usr/share/deluge/plugins/WebUi/debugerror.py", line 354, in
deluge_debugerror web.ctx.output = djangoerror() File
"/usr/share/deluge/plugins/WebUi/debugerror.py", line 293, in djangoerror exception_message
= exception_value.message # dir(exception_value) AttributeError: UnicodeDecodeError instance
has no attribute 'message'
Re: WebUi Plugin
Without any information about wich version you were using and what page you where looking at/how you caused the error, it's hard to guess what went wrong.drivel wrote:I got a bug
<snip>
I'm guessing there is an invalid unicode string somewhere.
That bug is triggering a bug in the error-handling, i'll fix that, but it won't fix your problem.
dev: webui, core, labels | irc:vonck7 |
bug in WebUi Plugin
I got "UnicodeDecodeError : 'ascii' codec can't decode byte 0xc3 in position 1: ordinal not in range(128)" when clicking a torrent (traceback below), it does not happen with the other torrent files I've checked. I think it might be something about a string that should have been handled as Unicode wasn't.
(I hope this is the right place, or should it be in a new thread?)--Deluge Error--
UnicodeDecodeError : 'ascii' codec can't decode byte 0xc3 in position 1: ordinal not in range(128)
path : /torrent/info/3
file : /usr/share/deluge/plugins/WebUi/webpy022/template.py in h_test, line 653
--Input--
<Storage {}>
--Versions--
WebUi : rev.117
Python : 2.5.1 (r251:54863, Oct 5 2007, 13:36:32)
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)]
dbus:0.82.0
--Traceback--
File "/usr/share/deluge/plugins/WebUi/webpy022/webapi.py", line 304, in wsgifunc
result = func()
File "/usr/share/deluge/plugins/WebUi/webpy022/request.py", line 131, in <lambda>
func = lambda: handle(inp, fvars)
File "/usr/share/deluge/plugins/WebUi/webpy022/request.py", line 61, in handle
return tocall(*([x and urllib.unquote(x) for x in args] + fna))
File "/usr/share/deluge/plugins/WebUi/webserver_framework.py", line 143, in deco
return func(self, name) #ok, continue..
File "/usr/share/deluge/plugins/WebUi/webserver_framework.py", line 130, in deco
res = func(self, name)
File "/usr/share/deluge/plugins/WebUi/webserver_framework.py", line 160, in deco
return func(self, name)
File "/usr/share/deluge/plugins/WebUi/deluge_webserver.py", line 119, in GET
return ws.render.torrent_info(get_torrent_status(torrent_id))
File "/usr/share/deluge/plugins/WebUi/webpy022/template.py", line 498, in __call__
return f.go()
File "/usr/share/deluge/plugins/WebUi/webpy022/template.py", line 760, in go
self.output._str = ''.join(map(self.h, self.parsetree))
File "/usr/share/deluge/plugins/WebUi/webpy022/template.py", line 552, in h
return getattr(self, 'h_' + item[WHAT])(item)
File "/usr/share/deluge/plugins/WebUi/webpy022/template.py", line 684, in h_line
o = self.h(x[NAME])
File "/usr/share/deluge/plugins/WebUi/webpy022/template.py", line 552, in h
return getattr(self, 'h_' + item[WHAT])(item)
File "/usr/share/deluge/plugins/WebUi/webpy022/template.py", line 587, in h_paren
return self.h(item)
File "/usr/share/deluge/plugins/WebUi/webpy022/template.py", line 552, in h
return getattr(self, 'h_' + item[WHAT])(item)
File "/usr/share/deluge/plugins/WebUi/webpy022/template.py", line 620, in h_expr
item = self.h(i[THING])
File "/usr/share/deluge/plugins/WebUi/webpy022/template.py", line 552, in h
return getattr(self, 'h_' + item[WHAT])(item)
File "/usr/share/deluge/plugins/WebUi/webpy022/template.py", line 609, in h_call
args = [self.h(x) for x in i[ARGS]]
File "/usr/share/deluge/plugins/WebUi/webpy022/template.py", line 552, in h
return getattr(self, 'h_' + item[WHAT])(item)
File "/usr/share/deluge/plugins/WebUi/webpy022/template.py", line 620, in h_expr
item = self.h(i[THING])
File "/usr/share/deluge/plugins/WebUi/webpy022/template.py", line 552, in h
return getattr(self, 'h_' + item[WHAT])(item)
File "/usr/share/deluge/plugins/WebUi/webpy022/template.py", line 654, in h_test
return e(ox) + e(oy)
Re: bug in WebUi Plugin
It's fine here, and new threads in support are ok too.pettman wrote:I got "UnicodeDecodeError : 'ascii' codec can't decode byte 0xc3 in position 1: ordinal not in range(128)" when clicking a torrent (traceback below), it does not happen with the other torrent files I've checked. I think it might be something about a string that should have been handled as Unicode wasn't.
<snip>
(I hope this is the right place, or should it be in a new thread?)
Could you pm me the url for the torrent?
Then I can test it later, after i try to fix the error.
dev: webui, core, labels | irc:vonck7 |
Re: WebUi Plugin
pettman,
I can't reproduce your problem, even with the url's you pm'd me.
Please test rev.124 , it has improved error handling on the meta-data of a torrent.
I can't reproduce your problem, even with the url's you pm'd me.
Please test rev.124 , it has improved error handling on the meta-data of a torrent.
Last edited by mvoncken on Sat Nov 03, 2007 6:56 am, edited 1 time in total.
dev: webui, core, labels | irc:vonck7 |
Re: WebUi Plugin
Oh... I run the gusty package, perhaps should have told you that.mvoncken wrote:pettyman,
I can't reproduce your problem, even with the url's you pm'd me.
Please test rev.124 , it has improved error handling on the meta-data of a torrent.
Re: WebUi Plugin
You can update just the webui plugin, see the starter-post.pettman wrote: Oh... I run the gusty package, perhaps should have told you that.
dev: webui, core, labels | irc:vonck7 |