hi there, folks:
I'd really like to release 0.7.0 but I would like it to be at least a
little bit tested before I do so. Could those of you with CVS trees check
everything out and see if it performs as advertised? Deeper bugs than
that will have to wait for the next release, but I'd at least like to know
if it works for someone other than me.
______ __ __ _____ _ _
| ____ | \_/ |_____] |_____|
|_____| |_____ | | | |
@ t w i s t e d m a t r i x . c o m
I would like to announce txZMQ, ZeroMQ bindings for Twisted. txZMQ is based
on pyzmq and requires recent ØMQ version (>=2.1).
txZMQ uses ØMQ APIs to get file descriptor that is used to signal pending
actions from ØMQ library IO thread running in separate thread. txZMQ should
be usable with any Twisted reactor.
* The socket library that acts as a concurrency framework.
* Carries messages across inproc, IPC, TCP, and multicast.
* Connect N-to-N via fanout, pubsub, pipeline, request-reply.
* Fast enough for clustered products and supercomputing.
* Asynch I/O for scalable multicore message-passing apps.
Bridging ØMQ and Twisted makes a nice match: fast simple messaging between
Twisted instances solving complex problems :)
* PyPi: http://pypi.python.org/pypi/txZMQ/
* Source code: https://github.com/smira/pyzmq
* pyzmq: http://pypi.python.org/pypi/pyzmq
* ØMQ: http://www.zeromq.org/
Qik Web Team Lead
I have an xml file in my application,
I have created an element using
Example goes like this.........
and i appeneded it by using append() method.
But how i can reflect this change to my xml file?
and one more thing is i want to create element with some other parameters....
<abc m=" " n=" ">
and i have m and n values as strings with me.
can anybody help me to create this element and write it to the existing xml file
as a child of an existing element?
Thanks in advance..
Forgot the famous last words? Access your message archive online at http://in.messenger.yahoo.com/webmessengerpromo.php
On 18 May 2004, the following message was posted to this mailinglist:
Jp Calderone exarkun at divmod.com wrote:
>Daniel Newton wrote:
> I have a simple XML-PRC server similar to the example below:
> from twisted.web import xmlrpc, server
> class Example(xmlrpc.XMLRPC):
> """An example object to be published."""
> def xmlrpc_add(self, a, b):
> """Return sum of arguments."""
> return a + b
> if __name__ == '__main__':
> from twisted.internet import reactor
> r = Example()
> reactor.listenTCP(7080, server.Site(r))
> I want to be able to get the address of the client that calls the
> method can anyone help me with this?
This solution didn't work because 'transport' isn't a property of the
I'm currently in the process of changing from a customized
SimpleXMLRPCServer to a twisted XMLRPC server solution and I need to
insert the client IP into the attributes passed to the called xmlrpc
method. Anyone who knows the answer and is willing to share the info?
I have a Linux box serving my twisted app. All works ok except after some
days running (where I can see my CPU going to 100%). I saw that CPU goes
100% usage when the app reaches to 1024 opened descriptors (sockets). It
seems TM isn't closing some connections when clients loose connection to the
server. I have no more than 200 simultaneous clients, each of then using a
single connection. Any idea why those connections remain open?
I just made a Ubuntu package of Twisted 11.0 or Ubuntu Lucid (10.04)
and put in on a PPA:
To install it, simply do this:
sudo add-apt-repository ppa:sat-metalab/metalab
sudo apt-get update
sudo apt-get install python-twisted-core
Once enough people tested it, someone could copy it to the official
Twisted PPA. And then, we can build it for Ubuntu Maverick as well.
There is only one doubt I have, that should be sorted out quite soon.
We will keep this mailing list updated.
Currently, i am planning rewrite some parts with twisted & iocp. These
parts are related
to Tcp connection without SSL. I want to know whether IOCP is ready for
production or not.
I ran some tests with twisted 10.20, 8.10 before. The IOCP part had many
problems. I haven't give a try with 11.0. What is the progress for windows
I have a question regarding `t.a.i.StreamServerEndpointService`. This
class maintains an attribute `_waitingForPort` that holds the deferred
returned by the `listen` method of the endpoint.
If this attribute is None, the method `privilegedStartService` is called
by `startService`, triggering the endpoint's `listen` method (among
I don't understand why this attribute is not reset to `None` when
`stopService` is executed. With the deferred still around, starting the
service again doesn't seem to work as expected, since it will not call
`privilegedStartService` the second time.
I might be wrong, but this looks like a bug to me. Maybe I didn't
understand how to use this class, though...
Weiermayer Solutions GmbH | Abteistraße 12, A-4813 Altmünster
phone: +43 (0) 720 70 30 14 | fax: +43 (0) 7612 20 3 56