Re: [Twisted-Python] Beginner's question about names and callbacks

2009-01-25 Thread Tim Allen
On Mon, Jan 26, 2009 at 01:06:37AM -0500, Adan Broderick wrote: > I'm trying to write a program that will call my own function whenever a > query to a nameserver times out. I have figured out how to run the DNS > server. And I also know how to use filterAnswers(). But how do I catch the > "Failure:

[Twisted-Python] Beginner's question about names and callbacks

2009-01-25 Thread Adan Broderick
I'm trying to write a program that will call my own function whenever a query to a nameserver times out. I have figured out how to run the DNS server. And I also know how to use filterAnswers(). But how do I catch the "Failure: twisted.names.error.DNSQueryTimeoutError:" messages by adding code to t

Re: [Twisted-Python] Seeking OSS 'point to point' data transfer solution

2009-01-25 Thread Nicolas Toper
Hi, SCP? FTP? My company will be releasing soon in OSS an application built on top of Twisted that in other things perform this Nicolas On Tue, Jan 20, 2009 at 9:57 PM, Worsham, Michael < michael.wors...@morris.com> wrote: > I was recommended to look at the Twisted application framework for >

[Twisted-Python] Seeking OSS 'point to point' data transfer solution

2009-01-25 Thread Worsham, Michael
I was recommended to look at the Twisted application framework for replacing a legacy application that relies on RPC portmapper, so here's my issue and question... Currently, we use an in-house designed application called 'Fileman', which acts as a combined bi-directional shared library (client

[Twisted-Python] Possible error on key authentication of twisted conch

2009-01-25 Thread Mustafa Sakalsiz
Hello, I have a python script that executes a python code on a remote host using SSH. It was working perfectly with Twisted 2.5. The method of returning private and public has changed in userauth.SSHUserAuthClient (Twisted 8.1). I was using (Twisted 2.5) --

[Twisted-Python] Possible error on key authentication of twisted conch

2009-01-25 Thread Mustafa Sakalsiz
Hello, I have a python script that executes a python code on a remote host using SSH. It was working perfectly with Twisted 2.5. The method of returning private and public has changed in userauth.SSHUserAuthClient (Twisted 8.1). I was using (Twisted 2.5) -

Re: [Twisted-Python] high server loads on FreeBSD - does kqueue reactor help?

2009-01-25 Thread Maarten ter Huurne
On Tuesday 20 January 2009, Werner Thie wrote: > With a four core, four twisted http server processes (nevow/athena on > top), dual 100 MBps interfaces, all four cores showing CPU loads of 50% > plus, I observe the following degradation in the network traffic with > tcpdump: > > - 'TCP checksum

[Twisted-Python] Seeking OSS 'point to point' data transfer solution

2009-01-25 Thread Worsham, Michael
I was recommended to look at the Twisted application framework for replacing a legacy application that relies on RPC portmapper, so here's my issue and question... Currently, we use an in-house designed application called 'Fileman', which acts as a combined bi-directional shared library (client

[Twisted-Python] Weekly Bug Summary

2009-01-25 Thread exarkun
Bug summary __ Summary for 2009-01-18 through 2009-01-25 Bugs opened: 10Bugs closed: 5 Total open bugs: 1045 (+5) |== Type Changes |== Priority Changes |== Component Changes |Defect: +5 |High:-1 |Conch: +1 |Enhancement: +0 |No

Re: [Twisted-Python] Plugins in files with hyphenated names found in 2.5.0 but not in 8.1.0

2009-01-25 Thread glyph
On 12:53 pm, mithra...@mithrandi.net wrote: * Terry Jones [2009-01-20 12:23:26 +0100]: The exact change, I believe, is that plugin source files have to be valid python modules; that is to say, you have to be able to do: import foo.plugins.some_plugin This was always the intent. The chang

Re: [Twisted-Python] confused on combining different py moduels to make a twisted app

2009-01-25 Thread Andy Fundinger
That's a somewhat general question, but consider this as a solution, in __init__.py for that package imports one or more classes from each of the other modules. Then, within init.py create a root object (a resource if you're using http) and let it instantiate each of the classes as sub-objects (ch

[Twisted-Python] Truncated exception message for reactor instance

2009-01-25 Thread Kangkook Jee
Hi all I'm a Twisted newbie and I have a question about exception handling of Twisted framework. Whenever I got some exception raised from somewhere, I got truncated exception message like this. >>>Traceback (most recent call last): File "./fcli.py", line 68, in reactor.run() File

[Twisted-Python] A Java protocol on Twisted?

2009-01-25 Thread Alessio Pace
Hi, recently I was asked if it would be possible to plug a Java protocol in a Twisted-based P2P library I'm working on. Up to now this heterogenous languages integration was not a concern, but apparently the possibility to write an high level protocol in Java for external developers seem to becom