Re: [Twisted-Python] os x installer, multiple source locations

2009-09-10 Thread Matt Bennett
On Mon, Sep 7, 2009 at 7:27 PM, James Y Knight wrote: > > On Sep 5, 2009, at 10:08 PM, Phil Christensen wrote: > >> This is a frustrating partial install of Twisted that ships with OS X > > Not true. It was fixed soon after 10.5's release. I think in the very > first patch, 10.5.1, but I could be w

Re: [Twisted-Python] FTPClient - aborting transfers

2009-09-09 Thread Matt Bennett
On Fri, Sep 4, 2009 at 2:29 PM, wrote: > > On 1 Sep, 10:51 pm, m...@bennett.name wrote: > >Hello all, > > > >I've got an FTPClient implementation very similar to the one at [1], > >and I've added the ability to retrieve a file from the server with the > >following snippet: > > > >class FileReceive

Re: [Twisted-Python] os x installer, multiple source locations

2009-09-06 Thread Matt Bennett
On Sun, Sep 6, 2009 at 3:08 AM, Phil Christensen wrote: > On Sep 4, 2009, at 7:50 PM, Matt Bennett wrote: >> Hello all, >> >> I used the Twisted 8.2.0 for OS X 10.5 installer from [1] to install >> twisted on my mac. I don't understand why, but I seem to have tw

[Twisted-Python] os x installer, multiple source locations

2009-09-04 Thread Matt Bennett
Hello all, I used the Twisted 8.2.0 for OS X 10.5 installer from [1] to install twisted on my mac. I don't understand why, but I seem to have two copies of the source on the disk, one at /System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/twisted and another at /Library/Pyth

[Twisted-Python] FTPClient - aborting transfers

2009-09-01 Thread Matt Bennett
Hello all, I've got an FTPClient implementation very similar to the one at [1], and I've added the ability to retrieve a file from the server with the following snippet: class FileReceiver(Protocol): """ Protocol subclass that writes received data to a local file. """ def __in

Re: [Twisted-Python] Clarification on returning exceptions via Perspective Broker

2009-08-19 Thread Matt Bennett
50 PM, Glyph Lefkowitz wrote: > On Thu, Aug 13, 2009 at 10:32 AM, Matt Bennett wrote: >> >> My exceptions subclass pb.Error, which means tracebacks are suppressed >> on the server and errbacks triggered on the client, exactly as I'd >> hoped. What I'm confused

[Twisted-Python] Clarification on returning exceptions via Perspective Broker

2009-08-13 Thread Matt Bennett
Hi all, I'm using the Perspective Broker to run functions on various remote servers, and trying to pass exceptions raised in the remote functions back to the client. My exceptions subclass pb.Error, which means tracebacks are suppressed on the server and errbacks triggered on the client, exactly