> > Having the same problem as of PyMSN 0.11.1. All the remote MSN
> > ports/servers are accessible, though.
> 
> Accessible from the computer that is running the transport? Not the  
> computer with the client (unless they're the same).

Accessible from the computer running the transport, of course. We're
running a public server with a couple of thousands of registered users.

> Also double-check your password.

The passwords are good -- all accounts had the same problem after
upgrading to 0.11.1. I had to revert to PyMSNt 0.10.3 because the
service is in heavy use, and now everything is working properly, as it
was.

> What version of Twisted are you running, and what exact error are you  
> getting?

Twisted 2.1.0, running on FreeBSD 5.4-STABLE i386. The error is:

Failed to connect to MSN servers: [Failure instance: Traceback (failure
with no frames): exceptions.Exception: Timeout
From [EMAIL PROTECTED]  Mon Jul 24 13:13:34 2006
From: [EMAIL PROTECTED] (James Bunton)
Date: Mon Jul 24 13:14:03 2006
Subject: [py-transports] twisted problem
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

On 15/07/2006, at 7:05 AM, John Huang wrote:

> I am running Windows 2003. I configured pymsnt-0.11.1 according to  
> instructions I found in the forum and  websites.
>
> When I try to use python pysmnt.py I receive the follwing error:
>
> Unable to install any good reactors (kqueue, epoll, poll).
> We fell back to using select. You may have scalability problems.
> This reactor will not support more than 1024 connections at a time.
> Could not find the XML DOM. If you're using Twisted 2.x make sure  
> you have twist
> ed.words installed.
> Traceback (most recent call last):
> File "PyMSNt.py", line 11, in ?
> import main
> File "C:\pymsnt-0.11.1\src\main.py", line 36, in ?
> import xmlconfig
> File "C:\pymsnt-0.11.1\src\xmlconfig.py", line 4, in ?
> from tlib import xmlw
> File "C:\pymsnt-0.11.1\src\tlib\xmlw.py", line 80, in ?
> from twisted.xish.domish import SuxElementStream, Element,  
> unescapeFromXml
> ImportError: No module named xish.domish
>
>
> Initially I had python 2.4 installed with Twisted 2.4, then I  
> downgraded to python 2.3 and installed 2.4 Twisted for 2.3 Python  
> but still receive the same error. I see a Twisted folder in my  
> Python23\Lib\site-packages\ folder along with words folder in  
> there, so I think Python and Twisted are installed correctly. Is  
> there something I am missing?
>
> Thanks,
>
>

Go to a console and run these commands. They should all exit with no  
text

python -c "import twisted.internet.reactor"
python -c "import twisted.words.xish.domish"
python -c "import twisted.words.protocols.jabber"

If not, then something isn't installed correctly. Could be as simple  
as the wrong path.

Good luck! :)

---

James

Reply via email to