Search found 3 matches

by jreid42
Wed Jun 30, 2010 10:15 pm
Forum: Development
Topic: DelugeRPC Help
Replies: 1
Views: 1425

Re: DelugeRPC Help

This seems to be the shortest way possible to do what I was hoping for... if anyone knows an easier way...please let me know. def get_config(): d = _get_config() reactor.run() return d.result @defer.inlineCallbacks def _get_config(): try: connection = yield client.connect() configuration = yield cli...
by jreid42
Tue Jun 29, 2010 3:18 am
Forum: Development
Topic: DelugeRPC Help
Replies: 1
Views: 1425

DelugeRPC Help

I have taken a look on the development page, at twisted defereds, inlineCallbacks etc and I am still utterly lost. If someone could give me a chunk of code showing me how to do something like this I would be super appreciative: class SynchronousDelugeRPC(object): def connect(self,host,port,username,...
by jreid42
Tue Sep 29, 2009 1:52 pm
Forum: Support
Topic: Compiling Deluge on CentOS
Replies: 1
Views: 2066

Compiling Deluge on CentOS

Okay, I have installed all the pre-requried packages on the list in the instructions; I think they are all the right version ( I compiled them rather them as CentOS is ancient in terms of packages ). I run python setup.py build and get the following (please HELP!): ./libtorrent/include/libtorrent/st...