[ejabberd] still stuck

Daniel Henninger jadestorm at nc.rr.com
Fri Oct 6 07:45:47 MSD 2006


That's bizarre.  I don't understand why some folk were able to use  
twisted 2.4.0 with pre-0.8 and some weren't.  Either way, twisted  
2.4.0 is not supported until 0.8.  =)

Daniel

On Oct 5, 2006, at 11:34 PM, Rodney G. McDuff wrote:

> I install pyaim-t-0.7d the other day just fine using the doco from
> <http://wiki.blathersource.org/wiki/index.php/PyAIMt> with :
> Python 2.3.4
> Twisted 2.4.0
> <http://tmrc.mit.edu/mirror/twisted/Twisted/2.4/Twisted-2.4.0.tar.bz2>
> pycrypto-2.0.1
> pyOpenSSL-0.6
> epoll-0.7
> MySQL-python-1.2.1_p2
> Imaging-1.1.5
>
> It working it a charm
>
> Randy Bush wrote:
>> # /usr/local/etc/rc.d/jabber-pyaim-transport start
>> Starting jabber_pyaim.
>> Could not find the XML DOM. If you're using Twisted 2.x make sure  
>> you have twisted.words installed.
>> Traceback (most recent call last):
>>   File "/usr/local/lib/jabber/pyaim/PyAIMt.py", line 11, in ?
>>     import main
>>   File "/usr/local/lib/jabber/pyaim/src/main.py", line 4, in ?
>>     import utils
>>   File "/usr/local/lib/jabber/pyaim/src/utils.py", line 12, in ?
>>     from tlib.twistwrap import Element, SuxElementStream
>>   File "/usr/local/lib/jabber/pyaim/src/tlib/twistwrap.py", line  
>> 68, in ?
>>     from twisted.xish.domish import SuxElementStream, Element,  
>> unescapeFromXml, elementStream
>> ImportError: No module named xish.domish
>>
>> freebsd-current
>>
>> # ls -dc1 /var/db/pkg/py*
>> /var/db/pkg/py24-twistedCore-2.4.0
>> /var/db/pkg/py24-twistedWeb-0.6.0_1
>> /var/db/pkg/py24-twistedWords-0.4.0
>> /var/db/pkg/py24-zopeInterface-3.0.1
>> /var/db/pkg/python-2.4.3
>>
>> and my jabber-pyaim.xml, tryin to use the legacy jabber spool.
>>
>> <pyaimt>
>> 	<!-- The JabberID of the transport. -->
>> 	<jid>aim.psg.com</jid>
>>
>> 	<!-- The JabberID of the conference room handler. -->
>> 	<!-- GROUPCHAT IS NOT STABLE YET -->
>> 	<confjid>conference.psg.com</confjid>
>>
>> 	<!-- The component JID of the transport. Unless you're doing  
>> clustering, leave this alone -->
>> 	<!-- <compjid>aim1</compjid> -->
>>
>> 	<!-- The location of the spool directory.. if relative, relative  
>> to -->
>> 	<!-- the src dir.  Do not include the jid of the transport. -->
>> 	<spooldir>/var/spool/jabberd</spooldir>
>>
>> 	<!-- The location of the PID file.. if relative, relative to the  
>> src dir. -->
>> 	<!-- Comment out if you do not want a PID file -->
>> 	<pid>/var/run/PyAIMt.pid</pid>
>>
>> 	<!-- The IP address of the main Jabber server -->
>> 	<mainServer>147.28.0.35</mainServer>
>>
>> 	<!-- The JID of the main Jabber server -->
>> 	<mainServerJID>jabber.psg.com</mainServerJID>
>>
>> 	<!-- The website of the Jabber service -->
>> 	<website>http://psg.com/</website>
>>
>> 	<!-- The TCP port to connect to the Jabber server on -->
>> 	<!-- (this is the default for Jabberd2) -->
>> 	<port>5347</port>
>>
>> 	<!-- The TCP port that the web admin interface will answer on -->
>> 	<!-- (uncomment to enable) -->
>> 	<!-- <webport>12345</webport> -->
>>
>> 	<!-- The authentication token to use when connecting to the  
>> Jabber server -->
>> 	<secret>you are kidding, right?</secret>
>>
>> 	<!-- The default language to use (for error/status messages) -->
>> 	<lang>en</lang>
>>
>> 	<!-- The hostname of the AOL login server you wish to connect to -->
>> 	<aimServer>login.oscar.aol.com</aimServer>
>>
>> 	<!-- The port of the AOL server you wish to connect to -->
>> 	<aimPort>5190</aimPort>
>>
>> 	<!-- The name of Socks Proxy if connecting thru a proxy -->
>> 	<!-- <socksProxyServer>im-proxy2</socksProxyServer> -->
>>
>> 	<!-- The Socks Proxy port to use when connecting thru a proxy -->
>> 	<!-- <socksProxyPort>1080</socksProxyPort> -->
>>
>> 	<!-- Send greeting on login (enter text to be sent to users here)  
>> -->
>> 	<!-- <sessionGreeting>enter message here</sessionGreeting> -->
>>
>> 	<!-- Send message on successful registration -->
>> 	<!-- <registerMessage>You have successfully registered with  
>> PyAIMt</registerMessage> -->
>>
>> 	<!-- Allow users of AIM gateway to chat with ICQ users -->
>> 	<!-- (uncomment to enable) -->
>> 	<!-- <crossChat/> -->
>>
>> 	<!-- Disable registration with the transport -->
>> 	<!-- (uncomment to disable) -->
>> 	<!-- <disableRegister/> -->
>>
>> 	<!-- Enable automatic invitation to reconnect on restart -->
>> 	<!-- (uncomment to enable) -->
>> 	<!-- <enableAutoInvite/> -->
>>
>> 	<!-- Disable xhtml support (messages with fonts and colors) -->
>> 	<!-- (uncomment to disable) -->
>> 	<!-- <disableXHTML/> -->
>>
>> 	<!-- Disable mail notifications -->
>> 	<!-- (uncomment to disable) -->
>> 	<!-- <disableMailNotifications/> -->
>>
>> 	<!-- Disable use of default avatar if none is specified -->
>> 	<!-- (uncomment to disable) -->
>> 	<!-- <disableDefaultAvatar/> -->
>>
>> 	<!-- You can choose which users you wish to have as  
>> administrators. These users can perform some tasks with Ad-Hoc  
>> commands that others cannot -->
>> 	<admins>
>> 	<jid>randy at jabber.psg.com</jid>-->
>> 	</admins>
>>
>>
>> 	<!-- You can select which event loop PyAIMt will use. It's  
>> probably safe to leave this as the default -->
>>
>> 	<!-- Use epoll for high-load Linux servers running kernel 2.6 or  
>> above -->
>> 	<!--<reactor>epoll</reactor>-->
>>
>> 	<!-- Use kqueue for high-load FreeBSD servers -->
>> 	<!--<reactor>kqueue</reactor>-->
>> 	<reactor>kqueue</reactor>
>>
>> 	<!-- Use poll for high-load Unix servers -->
>> 	<!--<reactor>poll</reactor>-->
>>
>> 	<!-- You can select which spool storage method you wish to use -->
>> 	<!-- Available methods are: -->
>> 	<!-- xmlfiles: single xml files in the spool directory in hashed  
>> dirs (default)-->
>> 	<!-- legacyaimtransport: compatible with c-based aim transport,  
>> less functionality -->
>> 	<!-- mysql: registration information stored in a MySQL database -->
>> 	<!--<xdbDriver>xmlfiles</xdbDriver>-->
>>
>> 	<!-- For MySQL -->
>> 	<!--<xdbDriver>mysql</xdbDriver>-->
>> 	<!--<xdbDriver_mysql>-->
>> 	<!--<username>pyaimt</username>-->
>> 	<!--<password>pyaimt</password>-->
>> 	<!--<database>pyaimt</database>-->
>> 	<!--<server>localhost</server>-->
>> 	<!--</xdbDriver_mysql>-->
>>
>> 	<!-- For XMLFiles -->
>> 	<!--<xdbDriver>xmlfiles</xdbDriver>-->
>> 	<!--<xdbDriver_xmlfiles>-->
>> 	<!--<format>encrypted</format>--> <!-- Enable encryption of  
>> passwords -->
>> 	<!--</xdbDriver_xmlfiles>-->
>>
>> 	<xdbDriver>legacyaimtransport</xdbDriver>
>>
>> 	<!-- Only grab avatars when a chat is initiated. -->
>> 	<!-- NOT IMPLEMENTED YET -->
>> 	<!-- <avatarsOnlyOnChat/> -->
>>
>> 	<!-- Disable all avatar functionality. Might be necessary if you -->
>> 	<!-- do not have PIL installed. -->
>> 	<!-- <disableAvatars/> -->
>>
>> 	<!-- Use Jabber.com's XCP component protocol extensions. -->
>> 	<!-- <useXCP/> -->
>>
>> 	<!-- SASL username used to bind to Jabber server. -->
>> 	<!-- secret, above, is used for sasl password -->
>> 	<!-- <saslUsername/> -->
>>
>> 	<!-- Use Jabberd 2's component protocol extensions. -->
>> 	<!-- Requires saslUsername to work. -->
>> 	<!-- <useJ2Component/> -->
>> </pyaimt>
>>
>> randy
>>
>> _______________________________________________
>> ejabberd mailing list
>> ejabberd at jabber.ru
>> http://lists.jabber.ru/mailman/listinfo/ejabberd
>>
>
>
> -- 
> Dr. Rodney G. McDuff                 |Ex ignorantia ad sapientiam
> Manager, Strategic Technologies Group|    Ex luce ad tenebras
> Information Technology Services      |
> The University of Queensland         |
> EMAIL: mcduff at its.uq.edu.au          |
> TELEPHONE: +61 7 3365 8220           |
>
>
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd



More information about the ejabberd mailing list