Setting up pyMSNt windows "no module named xish.domish" problem

After moving the xish folder I was able to get a little further just like you…

Now I get this error…

/usr/local/lib/python2.4/site-packages/twisted/web/proxy.py:22: DeprecationWarning: twisted.protocols.http has moved to twisted.web.http. See http://twistedmatrix.com/projects/web.

from twisted.protocols import http

/root/pyaim-t-0.7b/src/tlib/domish.py:425: DeprecationWarning: twisted.protocols.sux has moved to twisted.web.sux. See http://twistedmatrix.com/projects/web.

from twisted.protocols import sux

Traceback (most recent call last):

File “main.py”, line 120, in ?

import sasl

File “/root/pyaim-t-0.7b/src/sasl.py”, line 62, in ?

class SASLConnectAuthenticator(xmlstream.Authenticator):

AttributeError: ‘‘module’’ object has no attribute ‘‘Authenticator’’

Some of it is the same as you (the deprecated web stuff) you been able to figure out how to fix this one?

i’'m stuct there too…i still havent got the time to figure out this one…are u using the latest one? 0.11 ?

I am using the latest of everything…

yes same here…but i got that error…and i just can’'t fix it. no time to look at it yet. Anyone can help?

its hard to get help here…

this is not a py***-t transports support forum, JiveSoftware is not a productor of these transports, so you are getting a lot more help than may expect IMHO. We are all at the same level. You can try contacting transport’'s author and ask him directly.

Peace

about “Deprecated”, i dont really know what it means, but i think this is normal output. I think it’'s just telling that transport is referring to some old stuff and is using new stuff instead or like.

Looking over another comment made by wroot in another post, I realized in one of my many install/reinstall attempts that I had installed the wrong version of Twisted. I got that corrected and now I am getting the same error.

class SASLConnectAuthenticator(xmlstream.Authenticator):

AttributeError: ‘‘module’’ object has no attribute ‘‘Authenticator’’

At least, I’'m not alone anymore. =)

But I had a thought. It might have been working all along. I reinstalled Twisted 2.0.1 for Python 2.4, and low and behold I can see the transport listening in the Wildfire admin.

Not sure what that means, but it’'s worth looking into.

Message was edited by: crhall

Oddly enough, PyMSNt started working for me this morning…

Keep in mind I am using FreeBSD but after installing the newest 2006-02-12 version, moving the xish folder everything started working.

PyAIMt however… another story. I am getting those deprecated errors mentioned above. I think the problem is two part on that one. I think PyAIMt needs to be updated since Twisted has made some changes to their core lately and PyAIMt is making calls to old modules that don’‘t exist in Twsited anymore. I guess it’'s time to try and hand edit each file that is making a call to those old modules…

sigh

On a plus side, Wildfire has been running reliably for over 16 days now… great Jabber server indeed.

do u get this error when u try their latest pymsnt?

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.

Traceback (most recent call last):

File “pymsnt.py”, line 12, in ?

main.main()

File “C:\Program Files\wildfire\Transport\pymsnt\src\main.py”, line 381, in ma

in

app = App()

File “C:\Program Files\wildfire\Transport\pymsnt\src\main.py”, line 338, in __

init__

self.transportSvc = PyTransport()

File “C:\Program Files\wildfire\Transport\pymsnt\src\main.py”, line 137, in __

init__

self.ftSOCKS5Receive = ft.Proxy65(int(config.ftJabberPort))

File “C:\Program Files\wildfire\Transport\pymsnt\src\ft.py”, line 379, in __in

it__

reactor.listenTCP(port, self)

File “c:\python24\lib\site-packages\twisted\internet\posixbase.py”, line 386,

in listenTCP

p.startListening()

File “c:\python24\lib\site-packages\twisted\internet\tcp.py”, line 714, in sta

rtListening

raise CannotListenError, (self.interface, self.port, le)

twisted.internet.error.CannotListenError: Couldn’'t listen on any:8010: (10048, ‘’

Address already in use’’).

travisbell, how did you install Wildfire to FreeBSD? and what a version of FreeBSD installed?

I am running FreeBSD 5.4, once Java is installed just run Wildfire like it says in the documentation.

/usr/opt/wildfire/bin/wildfire start (I installed in to my /usr/opt directory)

It was a bit of a hassly getting Java installed from source but after about 4 hours of compiling it ended up working like a charm.

I would like to tell everyone there is now a new version of PyMSNt that does not use the twisted librarys but still needs python

Has anyone fixed this issue? I have problems with ssleay32.dll. I had to search the web to find this file and it still gives me errors when I start msn.

Here is my screen capture:

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.

WARNING! Only PNG avatars will be understood by this transport. Please install t

he Python Imaging Library.

You must install pycrypto and pyopenssl.

Traceback (most recent call last):

File “D:\Wildfire\pymsnt-0.11\PyMSNt.py”, line 11, in ?

import main

File “D:\Wildfire\pymsnt-0.11\src\main.py”, line 102, in ?

import session

File “D:\Wildfire\pymsnt-0.11\src\session.py”, line 7, in ?

import legacy

File “D:\Wildfire\pymsnt-0.11\src\legacy_init_.py”, line 4, in ?

from glue import LegacyConnection, LegacyGroupchat, translateAccount, startS

tats, updateStats, reloadConfig

File “D:\Wildfire\pymsnt-0.11\src\legacy\glue.py”, line 8, in ?

from tlib import msn

File “D:\Wildfire\pymsnt-0.11\src\tlib\msn_init_.py”, line 1, in ?

from msnw import MSNConnection, MultiSwitchboardSession

File “D:\Wildfire\pymsnt-0.11\src\tlib\msn\msnw.py”, line 14, in ?

from tlib.msn import msn

File “D:\Wildfire\pymsnt-0.11\src\tlib\msn\msn.py”, line 104, in ?

from twisted.internet.ssl import ClientContextFactory

File “D:\Python\lib\site-packages\twisted\internet\ssl.py”, line 47, in ?

from OpenSSL import SSL

File “D:\Python\Lib\site-packages\OpenSSL_init_.py”, line 11, in ?

import rand, crypto, SSL, tsafe

ImportError: DLL load failed: The specified procedure could not be found.

Message was edited by: snoris