Erlang Mailing Lists

Author Message

<  Ejabberd mailing list  ~  still stuck

Guest
Posted: Fri Oct 06, 2006 1:09 am Reply with quote
Guest
# /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@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@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post recived from mailinglist
Guest
Posted: Fri Oct 06, 2006 1:21 am Reply with quote
Guest
What verison of PyAIMt is this? Until 0.8, Twisted 2.4 was not
supported/did not work, so for your setup, PyAIMt 0.8 is going to be
a requirement.

Daniel

On Oct 5, 2006, at 9:06 PM, 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@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@jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd

_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post recived from mailinglist
Guest
Posted: Fri Oct 06, 2006 3:36 am Reply with quote
Guest
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@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@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@its.uq.edu.au |
TELEPHONE: +61 7 3365 8220 |


_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post recived from mailinglist
Guest
Posted: Fri Oct 06, 2006 3:46 am Reply with quote
Guest
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@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@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@its.uq.edu.au |
> TELEPHONE: +61 7 3365 8220 |
>
>
> _______________________________________________
> ejabberd mailing list
> ejabberd@jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd

_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post recived from mailinglist
Guest
Posted: Fri Oct 06, 2006 4:29 pm Reply with quote
Guest
with

i did

pkg_deinstall py24-twisted* jabber-pyaim-transport-0.7d_1 p py24-zopeInterface-3.0.1
cd /usr/ports/net-im/jabber-pyaim
make -DWITH_EJABBERD -DWITH_TWISTED1
make install -DWITH_EJABBERD -DWITH_TWISTED1

result

# /usr/local/etc/rc.d/jabber-pyaim-transport start
Starting jabber_pyaim.
/usr/local/lib/python2.4/site-packages/twisted/words/__init__.py:21: UserWarning: twisted.words will be undergoing a rewrite at some point in the future.
warnings.warn("twisted.words will be undergoing a rewrite at some point in the future.")
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 98, in ?
from twisted.internet import kqreactor
File "/usr/local/lib/python2.4/site-packages/twisted/internet/kqreactor.py", line 81, in ?
from kqsyscall import *
ImportError: No module named kqsyscall

---

i did

pkg_deinstall py24-twisted* jabber-pyaim-transport-0.7d_1 p py24-zopeInterface-3.0.1
cd /usr/ports/net-im/jabber-pyaim
make -DWITH_EJABBERD
make install -DWITH_EJABBERD

result

# /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

randy

_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post recived from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum