Re: [Twisted-Python] getPeer() inside conch

2009-10-01 Thread Glyph Lefkowitz
On Thu, Oct 1, 2009 at 10:21 PM, Benjamin Rutt wrote: > (A/B) it looks like the SSHChannel implementation of getPeer() is faulty. > If I change my two-line implementation of getPeer() inside > SSHSessionProcessProtocol to simply 'return self.session.getPeer()', I get: > > File > "/home/ruttbe/d

Re: [Twisted-Python] getPeer() inside conch

2009-10-01 Thread Benjamin Rutt
(A/B) it looks like the SSHChannel implementation of getPeer() is faulty. If I change my two-line implementation of getPeer() inside SSHSessionProcessProtocol to simply 'return self.session.getPeer()', I get: File "/home/ruttbe/dev/python/twisted-8.2.0-inst/lib/python/twisted/conch/ssh/session.p

Re: [Twisted-Python] Twisted and db table changes

2009-10-01 Thread Steve
On Thu, 2009-10-01 at 17:53 -0400, Glyph Lefkowitz wrote: > On Thu, Oct 1, 2009 at 5:49 PM, Steve wrote: > Thanks for the suggestion. I will look into replacing select > but first I need to learn more about Twisted. I just > discovered it a week or so ago. > > > I

Re: [Twisted-Python] Twisted and db table changes

2009-10-01 Thread gary clark
I'm building a website with twisted and pylons which I hope to release in December. I cant explain what the idea is, but I like python and the twisted site seems excellent. Smart guys, hopefully I can reciprocate one day. Cheers, Garyc --- On Thu, 10/1/09, Steve wrote: > From: Steve > Subjec

Re: [Twisted-Python] Twisted and db table changes

2009-10-01 Thread Glyph Lefkowitz
On Thu, Oct 1, 2009 at 5:49 PM, Steve wrote: > Thanks for the suggestion. I will look into replacing select but first I > need to learn more about Twisted. I just discovered it a week or so ago. > In that case, welcome! Probably the best route for you to take suggestions on making a ... shall w

Re: [Twisted-Python] Twisted and db table changes

2009-10-01 Thread Steve
Thanks for the suggestion. I will look into replacing select but first I need to learn more about Twisted. I just discovered it a week or so ago.I will probably change the main site. A more durable link would be http://www.divillo.com/asyncnotify.html Original Message Subject: R

Re: [Twisted-Python] Use of 'twistd' utility with command-line arguments

2009-10-01 Thread Itamar Turner-Trauring
> I came across some problem using 'twistd' utility - that I would not > have expected from it. The problem is - using 'twistd' to start > application that requires command-line arguments. In other words, I > would expect that 'twistd' passes command-line arguments to Python > application - just as

Re: [Twisted-Python] Use of 'twistd' utility with command-line arguments

2009-10-01 Thread Glyph Lefkowitz
On Thu, Oct 1, 2009 at 2:17 PM, Valeriy Pogrebitskiy wrote: > I came across some problem using 'twistd' utility - that I would not have > expected from it. The problem is - using 'twistd' to start application that > requires command-line arguments. In other words, I would expect that > 'twistd' pa

Re: [Twisted-Python] Twisted and db table changes

2009-10-01 Thread Glyph Lefkowitz
On Thu, Oct 1, 2009 at 4:27 PM, Steve wrote: > If you are using PostgreSQL you can use this technique > > http://www.divillo.com > > This is very interesting, thanks for sharing! However, whenever I see a Twisted program calling select()... especially select() in a thread ;-) I wonder if things

Re: [Twisted-Python] Twisted and db table changes

2009-10-01 Thread Steve
If you are using PostgreSQL you can use this technique http://www.divillo.com Original Message Subject: Re: [Twisted-Python] Twisted and db table changes From: Mark Visser Date: Tue, September 29, 2009 12:04 pm To: Twisted general discussion gary clark wrote: > Hello, > > I

[Twisted-Python] Use of 'twistd' utility with command-line arguments

2009-10-01 Thread Valeriy Pogrebitskiy
I came across some problem using 'twistd' utility - that I would not have expected from it. The problem is - using 'twistd' to start application that requires command-line arguments. In other words, I would expect that 'twistd' passes command-line arguments to Python application - just as P

[Twisted-Python] XML parsing on twisted

2009-10-01 Thread gary clark
Hello, Probably a pretty standard question. However what are recommended mechanics of parsing XML on twisted? I have a humongous string that needs to be parsed and pushed into a database in the right columns. Much appreciated in advance, Garyc ___

Re: [Twisted-Python] Twisted and db table changes

2009-10-01 Thread gary clark
Thanks for the information, thats what I need to use in this case "wisted.internet.task.LoopingCall". Great support. Much appreciated, Garyc ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/li