Re: [Twisted-Python] trial newbie

2010-07-21 Thread Nathan
On Wed, Jul 21, 2010 at 6:29 PM, Lucas Taylor wrote: > On 7/21/10 7:30 PM, Nathan wrote: > >> Anyone know what's going on?  I installed/upgraded version 10.1.0 by >> downloading the tarball and running "sudo python setup.py install" > > http://twistedmatrix.com/trac/wiki/FrequentlyAskedQuestions >

Re: [Twisted-Python] Client/Server upload problem

2010-07-21 Thread Tristan Seligmann
On Wed, Jul 21, 2010 at 7:37 AM, Sean Dugan wrote: > When I run this, it returns “Failure: twisted.protocols.ftp.CommandFailed: > ['550 FtpUpload.txt: Permission denied']”. I can download a file, and view > the files in a folder, I just can't upload a file. Also if I log-in as one > the users in t

Re: [Twisted-Python] trial newbie

2010-07-21 Thread Lucas Taylor
On 7/21/10 7:30 PM, Nathan wrote: > Anyone know what's going on? I installed/upgraded version 10.1.0 by > downloading the tarball and running "sudo python setup.py install" http://twistedmatrix.com/trac/wiki/FrequentlyAskedQuestions FAQ 3.20 (Search for "Permission denied") You can follow the a

[Twisted-Python] trial newbie

2010-07-21 Thread Nathan
Okay, so I'm just starting to learn how to use trial (I know, I'm a bad, bad boy), and I'm having trouble getting started. The trial page[1] says "Tests that subclass the standard library TestCase and don't do anything "too weird" should be able to be discoverable and runnable by the Trial test ru

Re: [Twisted-Python] Uses of StringIO instead of cStringIO

2010-07-21 Thread Andrew Bennetts
Albert Brandl wrote: > Hi! > > There are several modules in twisted that import StringIO instead of > cStringIO (e.g. twisted/mail/maildir.py, twisted/news/nntp.py, > twisted/web/script.py). Are there any reasons why they use the slower > variant implemented in Python instead of the C variant? >

[Twisted-Python] Uses of StringIO instead of cStringIO

2010-07-21 Thread Albert Brandl
Hi! There are several modules in twisted that import StringIO instead of cStringIO (e.g. twisted/mail/maildir.py, twisted/news/nntp.py, twisted/web/script.py). Are there any reasons why they use the slower variant implemented in Python instead of the C variant? If not, I'd like to create a ticke