powered by Jive Software

pyAIM-t & Wildfire on Win2k3

When I try to start the server I get the following error. Can anyone help? Not sure what addtnl info to provide.

C:\Program Files\pyaim-t-0.7b\src>c:\python23\python.exe main.py

Traceback (most recent call last):

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

import exception

File “C:\Program Files\pyaim-t-0.7b\src\exception.py”, line 6, in ?

import debug

File “C:\Program Files\pyaim-t-0.7b\src\debug.py”, line 7, in ?

import utils

File “C:\Program Files\pyaim-t-0.7b\src\utils.py”, line 10, in ?

from twisted.web import microdom

ImportError: No module named twisted.web

C:\Program Files\pyaim-t-0.7b\src>c:\Python23\python.exe main.py

Traceback (most recent call last):

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

import exception

File “C:\Program Files\pyaim-t-0.7b\src\exception.py”, line 6, in ?

import debug

File “C:\Program Files\pyaim-t-0.7b\src\debug.py”, line 7, in ?

import utils

File “C:\Program Files\pyaim-t-0.7b\src\utils.py”, line 57, in ?

from twisted.xish.domish import Element

ImportError: No module named xish.domish

Search the forum and Google for pyAIMTt setup. Probably you need a Twisted package to install “Win32 exe Python 2.3”

http://twistedmatrix.com/projects/core/

or maybe this one:

http://twistedmatrix.com/projects/web/

I was hoping to be able to solve this, but had to take a break out of frustration. Investigation I’'ve done so far:

In order to set this up on my end, the amount of effort compared to the norm (double-click, install, config, done) seems painful and excessive to me. I shrugged off this possibility once I realized that I had to install Twisted, then Python 2.4, then figure out how to compile the latest version of pyCrypto and pyOpenSSL for my Windows machine, then finally tweak the proper XML config files.

Can’‘t say I want transports THAT bad, yet. I’'ll just keep using Trillian and SecureIM. Thanks.

I sure hope there’‘s either an easier solution on the drawing board within the community, or an intention at some point to build AIM/ICQ/MSN/Yahoo transports into Widfire Server itself. Yes, XMPP + Jingle talking with Google Talkers is more whizbang for your buck, but in my opinion, the best way to propogate the use of Jabber/XMPP is to be able to integrate with as many other services as possible seamlessly so you can IM them and let them know what they’'re missing. =D

Edit: http://www.jivesoftware.org/community/thread.jspa?messageID=70848&#70848

This helped me get a better grasp of the current state of affairs with regards to Wildfire’'s transport options. Still not an optimal stance to me from an end-user perspective, but it will have to do for now.

Message was edited by: sLLiK

Just as a follow-up based on what I can read from the output provided, it seems like pyAIM requires a module from Twisted Web, which I think I saw was a separate package. No clue on the xish module, but the Twisted site may have a reference to which package that module is a part of.

from my own experience, i was able to start up pyICQt on Windows (no luck on linux, and no luck with JIT transport). I had to hack pyICQt code a little to make it working, and developer of gateway doesnt had a clue what was the cause of problem. Gateways updates are rare (once per year maybe). Installation is messy i agree. And there is even no guarantee it will work correctly after you manage to run it.

Well, developers of Wildfire arent ignoring BIG networks. I recall that Noah Campbell was creating some gateway framework and he’'s a developer of Yahoo gateway. But… as Matt said in that other thread, BIG networks can change something at any time without letting us know. So this could be just a spoiling of Wildfire developers time. So we should let them do their primary work (stability, scalability, Pampero, etc.) and watch BIG closed networks R.I.P in the future maybe

There is an external components support in Wildfire. So some work is done. Meanwhile i think Trillian/Gaim/Miranda approach is the best choice to have all-in-one.

Currently installed:

Python 2.4.2

Twisted 2.0.1 for Python 2.4

PIL-1.1.5

MySQL 1.2.0 for Python 2.4

pyCrypto 2.0.1 (installed from binary installers)

pyOpenSSL 0.6 (also installed from binary installers)

Additionally added, though might be in the wrong directory and I’'m not sure if it needed to be compiled (nube):

TwistedWeb2.0.1

TwistedWeb 0.5.0

Everything is the most up-to-date version out there, AFAIK.

Current error / hanging point:

F:\Python24\Lib\site-packages\pyaim-t-0.7b\src>python main.py

F:\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

F:\Python24\Lib\site-packages\pyaim-t-0.7b\src\tlib\domish.py:425: DeprecationWa

rning: twisted.protocols.sux has moved to twisted.web.sux. See http://twistedmat

rix.com/projects/web.

from twisted.protocols import sux

Additionally, sLLiK, I personally cannot install Twisted before Python, it throws an error telling me to install Python first. /shrugs

Message was edited by: crhall

Twisted 2.0.1 for Python 2.4

AFAIK the latest version is 2.2.0, though i was testing pyICQt with 2.1.0 i think.

Current error / hanging point:

F:\Python24\Lib\site-packages\pyaim-t-0.7b\src>python

main.py

F:\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

\Python24\Lib\site-packages\pyaim-t-0.7b\src\tlib\domi

sh.py:425: DeprecationWa

rning: twisted.protocols.sux has moved to

twisted.web.sux. See http://twistedmat

rix.com/projects/web.

from twisted.protocols import sux

well, i dont see an error here. Here’'s a screenshot of working ICQ gateway:

http://img89.imageshack.us/img89/8127/pyicqt3ff.jpg

this is a normal output i think, and if you dont see anything else so you should try to connect to this gateway. Have you configured everything? Config of pyAIM-t and External Components part in Wildfire?

This is my thread about running ICQ gateway:

http://www.jivesoftware.org/community/thread.jspa?threadID=15029&tstart=0

And my config of PyICQ-t:

/code

Following your advice to see if I could get something running, I installed pyICQ-t.

I get the following error: raise TypeError(“Data must be not be unicode”)

exceptions.TypeError: Data must be not be unicode

hmmm

I was testing with 0.6 version of pyICQ-t, havent tested with 0.7

I too am having issues with PyAIMt on Win2k3. I had the same messages until I updated to 0.7c. I’'ve installed all the required componets from twisted. Looks like there is an issue with the reactor. Can anyone help? Thanks!!! Here is my screen dump:

File “D:\Wildfire\pyaim-t-0.7c\PyAIMt.py”, line 11, in ?

import main

File “D:\Wildfire\pyaim-t-0.7c\src\main.py”, line 114, in ?

from twisted.internet import pollreactor as bestreactor

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

poller = select.poll()

tributeError: ‘‘module’’ object has no attribute ‘‘poll’’

On my Windows Server 2003 system:


C:\Program Files\Wildfire\pyicq-t-0.7a>python pyicqt.py

Traceback (most recent call last):

File “pyicqt.py”, line 11, in ?

import main

File “C:\Program Files\Wildfire\pyicq-t-0.7a\src\main.py”, line 113, in ?

from twisted.internet import pollreactor as bestreactor

File "C:\Program Files\Wildfire\Python\lib\site-packages\twisted\internet\poll

reactor.py", line 29, in ?

poller = select.poll()

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

C:\Program Files\Wildfire\pyicq-t-0.7a>


This is file with error: pollreactor.py


  1. Copyright © 2001-2004 Twisted Matrix Laboratories.

  2. See LICENSE for details.

“”"A poll() based implementation of the twisted main loop.

To install the event loop (and you should do this before any connections,

listeners or connectors are added)::

from twisted.internet import pollreactor

pollreactor.install()

API Stability: stable

Maintainer: U{Itamar Shtull-Trauringmailto:twisted@itamarst.org}

“”"

  1. System imports

import select, errno, sys

  1. Twisted imports

from twisted.python import log, threadable, failure

from twisted.internet import main, posixbase, error

  1. globals

reads = {}

writes = {}

selectables = {}

poller = select.poll() <----


string #29


How we can resolve this problem?

Bump… I am having same issue. I tried the latest nightly update, and I still got the same error. Please let me know if anyone hears anything. This is most likely a pyaimt issue, as pyaimt version 0.7b seems to work fine with Wildfire 2.5.1 on Windows.

I was getting the same errors. I was able to get PyAIMt and PyICQt to work after using the latest commits:

http://svn.blathersource.org/listing.php?repname=pyaim-t

http://svn.blathersource.org/listing.php?repname=pyicq-t

After updating both transports work great save some avatar issues.

Thanks. It works. This is what I had to do…

go into the source repository and find the files that had changed since the packaged release. In this case it was only main.py (and changelog). I deleted the initial attempt at running the 0.7c code (clean out the entire directory of compiled python files and config files since I was mucking around trying to get it to work).

I then reinstalled pyaimt 0.7c clean and replaced the main.py file from the update.

I fixed up the config.xml file and then restarted … I got some other warning messages (deprecations etc.). But it seems to work now!

I had some nasty bugs in pyaim and pyicq’‘s twisted handling for a time there. This, I believe, is what you all were running into. =) Not that I discourage discussion here at all, but please don’‘t forget that you can post questions that I will see faster on py-transports@blathersource.org and the various bug trackers at www.blathersource.org. I’‘m also working on getting up a forum there but that’'s not ready yet. Anyway, glad to hear things are running smoothly again!

Sorry for my bad english…

I was solve error with installation PyICQ-t to my Windows 2003:


C:\Program Files\Wildfire\pyicq-t-0.7a>python pyicqt.py

Traceback (most recent call last):

File “pyicqt.py”, line 11, in ?

import main

File “C:\Program Files\Wildfire\pyicq-t-0.7a\src\main.py”, line 113, in ?

from twisted.internet import pollreactor as bestreactor

File "C:\Program Files\Wildfire\Python\lib\site-packages\twisted\internet\poll

reactor.py", line 29, in ?

poller = select.poll()

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


In config.xml comment out this lines:

<!epoll>

<!kqueue>

<!poll>

Result:


C:\Program Files\Wildfire\PyICQt>python pyicqt.py

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. You may si

lence this message by choosing ‘‘select’’ or ‘‘default’’ as your reactor in the tran

sport config.


PyICQ-t transport work!

I’'m still getting the poll error. I have tried the latest pyaimt, but it is still having a problem with the poll.

I have managed to get the msn, and icq working.

Can anyone please help me with this.

Thanks

Phil