logo       

Re: PyMSNt errors: msg#00151

network.jabber.py-transports

Subject: Re: PyMSNt errors

On 3/14/06, James Bunton <james@xxxxxxxxxxxx> wrote:
> On 14/03/2006, at 10:32 PM, Norman Rasmussen wrote:
>
> > These errors are happening during the execution of the transport:
> >
> > i.e. The transport has sucessfully started, and then several hours
> > later, there could be a problem connecting to the MSN servers, and
> > then the error is sent to the user trying to login to MSN.
> >
> > I will keep tracking this issue, it's very hard to reproduce, but all
> > (4) of the transport's users have been experiencing it.
>
> Thanks.
>
> You're not running with twistd are you?
>

nope, this is /usr/sbin/pymsnt:
cd /home/norman/src/svn/PyMSNt.trunk
exec -a PyMSNt python src/main.py

I'm pretty sure that this error only occurs when the transport fails
to connect to MSN for some reason.

Today I restarted my pc, and on reconnect I got:
'Disconnected from MSN servers: [Failure instance: Traceback (failure
with no frames): twisted.internet.error.ConnectionLost: Connection to
the other side was lost in a non-clean fashion.
]'
, then when I tried to reconnect I got the:
'Failed to connect to MSN servers: [Failure instance: Traceback:
exceptions.ImportError: No module named kqsyscall
--- <exception caught here> ---
src/main.py:15:?
/usr/lib/python2.3/site-packages/twisted/internet/kqreactor.py:69:?
]'

I'm pretty sure that this error is 'left over' from the startup, so
there's no real stack trace at all. I think a few sys.exc_clear()'s
might be in order. I've found that python doesn't keep track of where
the exception applies to so well. I've added the exc_clear's in
main.py, and we'll see how it goes.

--
- Norman Rasmussen
- Email: norman@xxxxxxxxxxxxxxx
- Home page: http://norman.rasmussen.co.za/


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise