Re: [Twisted-Python] Dropin.cache errors after clean install of twisted-8.2.0

2009-06-17 Thread glyph
On 17 Jun, 07:47 pm, benjamin.r...@gs.com wrote: >I recently installed python-2.6.1 and then twisted-8.2.0 (outside of >the >python tree). One of my users is complaining that when he uses trial >to >test some twisted programs, although his test passes, he has to stare >at >a stack trace like t

Re: [Twisted-Python] Dropin.cache errors after clean install of twisted-8.2.0

2009-06-17 Thread Jean-Paul Calderone
On Wed, 17 Jun 2009 14:37:01 -0700, Alex Clemesha wrote: >On Wed, Jun 17, 2009 at 1:41 PM, Alex Clemesha wrote: >> Hi, >> >> Just type "sudo twistd" and the errors will go away. >> (You may already know of this work-around) >> >>  I agree with you that it would be nice for these to never show up i

Re: [Twisted-Python] SerialPort.loseConnection() BUG Still

2009-06-17 Thread Lucas Taylor
On 6/16/09 12:37 PM, Nestor A. Diaz wrote: > Hello, i had wrapper the loseConnection method, but it still throws the > same excepcion: > > class MySerialPort ( SerialPort ) : > > def __init__(self, the_protocol, port, reactor): > # type, host and port are used for my own purposes. >

Re: [Twisted-Python] Dropin.cache errors after clean install of twisted-8.2.0

2009-06-17 Thread Alex Clemesha
On Wed, Jun 17, 2009 at 1:41 PM, Alex Clemesha wrote: > Hi, > > Just type "sudo twistd" and the errors will go away. > (You may already know of this work-around) > >  I agree with you that it would be nice for these to never show up in > the first place. > I looked at the ticket you mention, but it

Re: [Twisted-Python] Twisted perspective broker on port 80, problem

2009-06-17 Thread hbd
Thanks to all of you! Indeed I needed to be root. Phil Christensen wrote: > On Jun 17, 2009, at 4:32 PM, hbd wrote: >> Is there any reason why I am getting this error when I try to get >> perspective broker to be on port 80? >> >> twisted.internet.error.CannotListenError: Couldn't listen on any:

Re: [Twisted-Python] Twisted perspective broker on port 80, problem

2009-06-17 Thread Volodymyr Orlenko
Try running as root (so you can bind to the privileged ports). On 17/06/2009 1:32 PM, hbd wrote: > Is there any reason why I am getting this error when I try to get > perspective broker to be on port 80? > > twisted.internet.error.CannotListenError: Couldn't listen on any:80: > (13, 'Permission

Re: [Twisted-Python] Twisted perspective broker on port 80, problem

2009-06-17 Thread Christopher Armstrong
\On Wed, Jun 17, 2009 at 4:32 PM, hbd wrote: > Is there any reason why I am getting this error when I try to get > perspective broker to be on port 80? > > twisted.internet.error.CannotListenError: Couldn't listen on any:80: > (13, 'Permission denied'). > > I made sure port 80 was not used by Apach

Re: [Twisted-Python] Twisted perspective broker on port 80, problem

2009-06-17 Thread Dorian Raymer
If you want to run PB on port 80, you need to start twistd with root privileges. Do you really want to serve PB on port 80? You probably want to serve it on an un-privileged port (> 1023). I think the spread source suggests 8787 as the port to use for a PBServer. -Dorian On Wed, Jun 17, 2009 at

Re: [Twisted-Python] Twisted perspective broker on port 80, problem

2009-06-17 Thread Alex Clemesha
On Wed, Jun 17, 2009 at 1:32 PM, hbd wrote: > Is there any reason why I am getting this error when I try to get > perspective broker to be on port 80? > > twisted.internet.error.CannotListenError: Couldn't listen on any:80: > (13, 'Permission denied'). Are you running this at root? Aka "sudo twist

Re: [Twisted-Python] Twisted perspective broker on port 80, problem

2009-06-17 Thread Phil Christensen
On Jun 17, 2009, at 4:32 PM, hbd wrote: > Is there any reason why I am getting this error when I try to get > perspective broker to be on port 80? > > twisted.internet.error.CannotListenError: Couldn't listen on any:80: > (13, 'Permission denied'). > > I made sure port 80 was not used by Apache or

Re: [Twisted-Python] Dropin.cache errors after clean install of twisted-8.2.0

2009-06-17 Thread Alex Clemesha
Hi, Just type "sudo twistd" and the errors will go away. (You may already know of this work-around) I agree with you that it would be nice for these to never show up in the first place. I looked at the ticket you mention, but it seems that the cleaner solution would be to resolve these issues at

[Twisted-Python] Twisted perspective broker on port 80, problem

2009-06-17 Thread hbd
Is there any reason why I am getting this error when I try to get perspective broker to be on port 80? twisted.internet.error.CannotListenError: Couldn't listen on any:80: (13, 'Permission denied'). I made sure port 80 was not used by Apache or anything else by checking with netstat. Here is

[Twisted-Python] Dropin.cache errors after clean install of twisted-8.2.0

2009-06-17 Thread Rutt, Benjamin
I recently installed python-2.6.1 and then twisted-8.2.0 (outside of the python tree). One of my users is complaining that when he uses trial to test some twisted programs, although his test passes, he has to stare at a stack trace like this which mentions dropin.cache.new failing to be written:

Re: [Twisted-Python] High Concurrency

2009-06-17 Thread Itamar Shtull-Trauring
> Hi, > I want to use twisted to write a server which is to get purchase orders > from > about tens of thousands clients sent by wireless net work (tcp protocol) > and > store the orders into a DBMS system. I wonder if it is possible and how to > deal with the high concurrency. It is possible. De