Re: [btqueue-users] documentation?
Status: Beta
Brought to you by:
xgie
|
From: Doruk F. <df...@fi...> - 2004-11-16 11:26:52
|
Hi,
Tue, 16 Nov 2004 12:05:07 +0100 tarihinde Stingray <sti...@gm...>
soyle yazdi:
> not sure if my other mail did get thru as it seems they got sent
> direct to the email that sent 'em, not the btqueue-users one...
Sorry, I must have deleted while deleting spams (since it was not
filtered). I retrieved it from my trash :-) :-(
Setting a reply-to header would be nice for the list, if possible.
> anyway to start btqueue as a deamon u use,
> "btqueue.py daemon" and to get into the daemon u write "btqueue.py
> remote"
I had thought the same thing at first, but when I use the remote interface
it exits with errors. For example,
dfisek@freud:~$ btqueue.py remote
>>> help
Documented commands (type help <topic>):
========================================
EOF detail hold iset list quit resume superseed
add exit iget kill lset reannounce savequeue unhold
alias gget info last_banned meta remove scrape wget
bw gset ip lget pause resched spew wpost
Undocumented commands:
======================
help shell version
>>> list
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/BitQueue/manager.py", line 1502,
in mai nloop
self.cmdloop()
File "/usr/lib/python2.3/cmd.py", line 133, in cmdloop
stop = self.onecmd(line)
File "/usr/lib/python2.3/cmd.py", line 210, in onecmd
return func(arg)
File "/usr/lib/python2.3/site-packages/BitQueue/manager.py", line 1626,
in do_list res = self.manager.do_list(line)
File "/usr/lib/python2.3/site-packages/BitQueue/xmlrpc.py", line 124, in
__call__ dict = self.__send(self.__name,(self.__id,)+args)
File "/usr/lib/python2.3/site-packages/BitQueue/xmlrpc.py", line 164, in
__request verbose=self.__verbose
File "/usr/lib/python2.3/xmlrpclib.py", line 1080, in request
return self._parse_response(h.getfile(), sock)
File "/usr/lib/python2.3/xmlrpclib.py", line 1219, in _parse_response
return u.close()
File "/usr/lib/python2.3/xmlrpclib.py", line 742, in close
raise Fault(**self._stack[0])
Fault: <Fault 1: "exceptions.AttributeError:class
SimpleXMLRPCRequestHandler has no attribute '_dispatch'">
=======================
So I had figured, either I am doing something wrong or my Python, etc
version was somehow incompatible.
> if u determinaly wanna use "btqueue.py query gset *command* *value*"
> the that should work too
When I use it like that, the output of the command is the same as
"btqueue.py query" (without any parameters), I am not sure that it sets
anything.
The max_upload_rate I set doesn't apply again. Is there a minimum for it?
Doruk
--
FISEK INSTITUTE - http://www.fisek.org
|