Ok...
Fixed that problem. Sorry about that was just going from
config_example.xml which also has it defined twice but commented out. I
now have compjid set to 'yahoolinker-1.jabber'
The second one was for the chat rooms, but I really don't care about
those at the moment I would just like to get this running.
I got some kind of stanza unsupported error after fixing compjid but I
uncommented <useRouteWrap/> and I'm now getting a different error.


Now getting the following error when I try to 'register' the service
'yahoolinker'


DEBUG: socket       got   <iq
from='[EMAIL PROTECTED]/JBother' id='T7In8-271'
to='yahoolinker' type='get'>
  <query xmlns='jabber:iq:register'/>
  </iq>
Wed 28 Feb 2007 13:49:47 - CVS 1.65
Traceback (most recent call last):
  File "./yahoo.py", line 1312, in <module>
    connection.Process(1)
  File
"/home/jabber/python/lib/python2.5/site-packages/xmpp/dispatcher.py",
line 122, in Process
    self.Stream.Parse(data)
  File
"/home/jabber/python/lib/python2.5/site-packages/xmpp/simplexml.py",
line 351, in endtag
    self.dispatch(self._mini_dom)
  File
"/home/jabber/python/lib/python2.5/site-packages/xmpp/dispatcher.py",
line 253, in dispatch
    raise UnsupportedStanzaType(name)
UnsupportedStanzaType: iq


Any idea what would be causing this? I saw some notes in the CVS about
this being fixed so I downloaded the latest version. Am I doing
something wrong?


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Safford,
Brian
Sent: Wednesday, February 28, 2007 1:32 PM
To: PyTransports Discussion
Subject: Re: [py-transports] Help with PyYIMt and Jabber XCP

Seems you have compjid defined twice ...

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nate
Pinchot
Sent: Wednesday, February 28, 2007 12:52 PM
To: py-transports@blathersource.org
Subject: [py-transports] Help with PyYIMt and Jabber XCP

Hello,
If anybody can shed any light on the problems I'm running into with
PyYIMt and Jabber XCP 5.2 (latest version) it would be greatly
appreciated.

I downloaded the CVS for PyYIMt a few days ago and redownloaded again
today since I noticed there were some changes.
I'm pretty much at the point of extreme frustration due to lack of XCP
documentation on what I need to "do" in order to get it to recognize the
transport.
I have set up an OpenPort component in XCP with an id that matches the
'compjid' setting in config.xml.
I downloaded a java based client called JBother and am using that to
test. If there is a better client I should be using please let me know.
I am not getting any errors but I am not getting anything good either.
The XCP control panel shows the component as stopped. When I try to do a
service discovery there are no extra services. When I try to do a
register service directly to 'yahoolinker' or 'yahoolinker-1' or
'yahoolinker.jabber' etc, I just get a message in the XCP logs that
says:

[info] deliver.c:1733 20070228T17:24:24 Queueing message until
'yahoolinker-1.jabber' is available


Here is my config.xml file for PyYIMt:

<?xml version="1.0" ?>
<pyyimt>
    <jid>yahoolinker.jabber</jid>
    <compjid>yahoolinker-1</compjid>
    <confjid>chat-yahoolinker.jabber</confjid>
    <compjid>chat-yahoolinker-1</compjid>
    <discoName>Yahoo! Transport</discoName>
    <spoolFile>yahoouser.dbm</spoolFile>
    <pid>PyYIMt.pid</pid>
    <mainServer>127.0.0.1</mainServer>
    <mainServerJID>servername.mydomain.com</mainServerJID>
    <port>7400</port>
    <secret>secret</secret>
    <allowRegister/>
    <admins>
    </admins>
    <debugFile>yahooerror.log</debugFile>
    <dumpProtocol/>
</pyyimt>


Also, here is my Jabber XCP OpenPort config file for 'yahoolinker-1':

<op:component xmlns:op="http://www.jabber.com/config/open-port";
xmlns:config="http://www.jabber.com/config"; config:description="Yahoo!"
config:id="yahoolinker-1" config:runlevel="70"
config:shutdown-timeout="60" config:version="10"
xmlns="http://www.jabber.com/config";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://www.jabber.com/config/open-port
/opt/jabber/XCP_5.2/schemas/xsd/config/open-port/open-port.xsd">
  <properties xmlns="http://www.jabber.com/config";>
    <queue-size>512</queue-size>
    <bounce>1</bounce>
  </properties>
  <service xmlns="http://www.jabber.com/config";>
    <hosts>
      <host>*</host>
    </hosts>
  </service>
  <op:config xmlns:op="http://www.jabber.com/config/open-port"/>
</op:component>



Again, any help would be greatly appreciated. I may be doing something
very wrong and stupid, this is the first time I have set up both Jabber
XCP and PyYIMt. Thanks.

Nate
_______________________________________________
py-transports mailing list
py-transports@blathersource.org
http://lists.modevia.com/cgi-bin/mailman/listinfo/py-transports
_______________________________________________
py-transports mailing list
py-transports@blathersource.org
http://lists.modevia.com/cgi-bin/mailman/listinfo/py-transports
_______________________________________________
py-transports mailing list
py-transports@blathersource.org
http://lists.modevia.com/cgi-bin/mailman/listinfo/py-transports

Reply via email to