powered by Jive Software

Transport to ICQ, AIM, MSN whatever

Hi there.

I need help please

I just downloaded JM 2.2.0 RC 1. Jabber works fine.

But I’'m trying to install any transport.

Please can’'t somebody help me with that? Please tell me step by step how should I do this.

Python and Twisted are installed.

My OS i Windows XP

Please help me

Best regards

Samson

Search Forum with keywords:

ICQ

MSN

AIM

transport

Py

gateway

etc.

my thread about ICQ transports:

http://www.jivesoftware.org/forums/thread.jspa?messageID=100117

I have not built JM and gateways on windows “yet” but wroot is right, do a search and you’'ll find a ton of info… like a thread were I described the steps of starting and running PyAIM with JM2. http://www.jivesoftware.org/forums/thread.jspa?threadID=15252

If you have Python and twisted install then siomply extract a copy of your gateway, edit the gateway’'s conf file as per their instruction and your off to the races.

Peter

I have, but where should I extract this files or file and what should I do next?

I’'m reading and practising, but still no effect

I have, but where should I extract this files or file and what should I do next?

Where is not that important as any of the PyXXX gateways are run inplace apps.

I put my Jive Messenger in /opt/jive and my gateways in /opt/gw/PyXXX

Windows installs I think are Program Files\Jive messenger

you could put your gateways in Program Files\Jabber Gateways\PyXXX

I’'m reading and practising, but still no effect

need more details here…

have you edited the config file?

have you installed the dependancies of Twisted / Zope / PyOpenSSL ?

Do you get an error? Does the gateway appear in JM?

Peter

Hi Pawad,

Thx for reply.

I put PyICQ in: “C:\Program Files\Jive Messenger\gateways\pyicq”

The config name is icq.xml

I didi edited the config file but I’‘m not sure it’'s all right

have you installed the dependancies of Twisted / Zope / PyOpenSSL ?

I have installed Twisted and Python and don’'t now what to do next.

I don’'t get any errors.

No the gateway does not appears in JM.

have you read my thread? Especially 7th post from the end. You have to make a little tweak in PyICQt/main.py

have you read my thread? Especially 7th post from the

end. You have to make a little tweak in PyICQt/main.py

Yes.

So I copied pyicq folder to C:\Program Files\Jive Messenger\gateways\

Python is installed in default path C:\python24.

Windows path is added

I did that small hack with main.py

After that I run cmd

and I go to C:\Program Files\Jive Messenger\gateways\pyicq\src I type python main.py

and as result i see these error:


C:\Program Files\Jive Messenger\gateways\pyicq\src>python main.py

Traceback (most recent call last):

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

import xmlconfig

File “C:\Program Files\Jive Messenger\gateways\pyicq\src\xmlconfig.py”, line 4

, in ?

from tlib.domish import parseText, Element

File “C:\Program Files\Jive Messenger\gateways\pyicq\src\tlib\domish.py”, line

425, in ?

from twisted.protocols import sux

ImportError: No module named twisted.protocols


And I see 4 new files

What did I wrong?

so, something wrong with twisted. What version have you installed? You need this (http://tmrc.mit.edu/mirror/twisted/Twisted/2.0/Twisted_NoDocs-2.0.1.win32-py2.4. exe) installed after you have installed Python 2.4.

you must have such directory:

C:\Python24\Lib\site-packages\twisted

Ok. I have installed.

Now I have C:\Python24\Lib\site-packages\twisted

One step forward

But in cmd after I wirte pyhton main.py I see this:


C:\Python24\lib\site-packages\twisted\web\proxy.py:22: DeprecationWarning: twist

ed.protocols.http has moved to twisted.web.http. See http://twistedmatrix.com/pr

ojects/web.

from twisted.protocols import http

C:\Program Files\Jive Messenger\gateways\pyicq\src\tlib\jabber\component.py:22:

DeprecationWarning: twisted.protocols.jabber has moved to twisted.words.protocol

s.jabber. See http://twistedmatrix.com/projects/words.

from twisted.protocols.jabber import jstrports

And nothing happends more

i’'m getting this:

C:\pyicq-t\src>python main.py

C:\pyicq-t\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

C:\Python24\lib\site-packages\twisted\web\proxy.py:22: DeprecationWarning: twist

ed.protocols.http has moved to twisted.web.http. See http://twistedmatrix.com/pr

ojects/web.

from twisted.protocols import http

C:\pyicq-t\src\tlib\jabber\component.py:22: DeprecationWarning: twisted.protocol

s.jabber has moved to twisted.words.protocols.jabber. See http://twistedmatrix.c

om/projects/words.

from twisted.protocols.jabber import jstrports

And this is a normal output.

  1. Make sure you are launching PyICQt when JM is up and running. So then it connects you should get more lines in output:

C:\pyicq-t\src\tlib\jabber\component.py:136: ComponentsDeprecationWarning: Pleas

e use providedBy() or implementedBy()

if components.implements(c, IService):

C:\pyicq-t\src\tlib\jabber\component.py:136: ComponentsDeprecationWarning: Pleas

e use implements(), not implements for class main.PyTransport

if components.implements(c, IService):

C:\pyicq-t\src\tlib\jabber\component.py:148: ComponentsDeprecationWarning: Pleas

e use providedBy() or implementedBy()

if components.implements(c, IService):

  1. If it’‘s still not working (BTW, how do you determine it’'s not?), check config.xml and JM Admin Console > Server >Server Settings > External Components

Maybe ports are not the same, maybe Secret word doesnt match. Or maybe you didnt turned it on at all Happens to me

It works

There was a wrong port

Thx a lot.

But only one question: the cmd window is still open if I close this windows tranport to icq gets unloaded. Can I run it somehow as service?

you wellcome

as about running as service… I know there are tools for making some programs run/install as service. But i had never tried them. Try searching internet or ask here. I have just tested PyICQt to work on Windows, i’'m not using it.

maybe this one:

http://www.mkssoftware.com/docs/man1/mksrv.1.asp

One more think.

ICQ works but AIM no. I did just like with ICQ. I can see transort, I can log in, but that’'s all.

Two transports can work on the same port?

And one more question. I found gg trasport. This is polish IM, but it is for linuks. Can I run it somehow on Windows?

Wroot please help )))

Well, i’'m not a magician

As about AIM. Are you using PyAIMt? Try to launch only AIM and test again. There is a thread about problems running AIM transport:

http://www.jivesoftware.org/forums/thread.jspa?threadID=15252&tstart=15

it should work the same, i havent tested PyAIMt.

Admin Console has only one port for external components, so i guess all transports must use one. I recall someone was telling on the forum he has 3 transports running in JM. This was in thread about new 2.2.0 RC1 version of JM and problems with that (weirdness or something).

No, i dont know how to run linux-only transport on Windows. Maybe there is an opportunity to emulate it with Cygwin and etc. But i have never tried this. Linux tranports and such servers in general should be running on linux/bsd, imho

Thx

ICQ and AIM works

Are there any other transports. For example PyYahoo or PyMSN?

PyMSNt:

http://ejabberd.jabber.ru/pymsnt

components:

http://www.jabber.org/software/components.shtml

Personally, i dont know if there is some Yahoo Windows based transport.

Thx

But there are problem. MSN needs OpenSSL. I tried to compile it and I need visual studio to compile. Heh

I think Linux would be much easier