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 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?
Let's try this again:
The proposal was for a sprint in Boston from September 28-October 2. That
starts a week from today.
At this point:
1. There will be no funding for transportation/lodging for out of town folks
2. The location would be classrooms at MIT unless someone has an alternative
3. There will be no funding for food or snacks or drinks or anything like
Facts about using MIT classrooms as a Sprint location:
1. Room reservations would be for after school hours, aka after 5pm, for
2. Guests register their MAC address and have 14 days of wireless. It's
plausible that some of you visit MIT and have used up your free wireless. I
don't have a solution for that besides "find a different computer to
register and use".
3. The doors on campus are mostly locked at night and I won't be there to
let you in all the time. Some special doors remain unlocked. Bottom line:
you can get it and get to the rooms but it may be quite circuitous.
I'm cool with that if you're cool with that. Are you cool with that? Please
send me an e-mail off-list with:
1. if you'd attend, and if so which days
2. regardless of 1, if you believe that the sprint should be delayed until
funding/better location/more notice/whatever has a chance to happen
Hello. I'm moderately experienced with twisted, and am starting out writing
an ssh server using conch. I'm writing a protocol which inherits from the
recvline.HistoricRecvLine class. It has connectionMade() and lineReceived()
methods so it feels a lot like the twisted.protocols.basic.LineReceiver
class I'm used to using.
But, it seems the recvline.HistoricRecvLine class wants me to use
self.terminal rather than self.transport to talk to the client. That's
fine, but it seems that self.terminal lacks a getPeer() method. How do I
find out the IP address of the client inside a conch ssh server? (For
starters, I wish to log all successful client connections so I know who's
I searched and found the below issue. I assume it is related, but could
I am sending a large amount of data to a twisted server. I want to know how
the protocol class knows that no more data is to be received.
I dont pass the length of the data in the packet, hence I'm looking for a termination field in the packet.Like </MESSAGE>.
I did see a logging class but not sure if thats what I want. If I have to
overload the dataReceived method, and buffer the data until I see the termination field thats ok, just need to know if this seems correct in twisted.
Much appreciated for any help.
I have been a long time Twisted user, and I do not know Erlang.
I run into this interesting comment in engineering notes on Facebook Chat
I'm curious whether you considered using the Python library Twisted
(http://twistedmatrix.com/) before deciding on Erlang. Its architecture is
also supposed to be able to support a large number of concurrent
connections. I would be interested in hearing about any issues you
discovered with it.
February 18 at 3:17am · Report
TwistedMatrix does not possess the capabilities of Erlang, not even close.
February 18 at 4:35am · Report
What do you guys think?