On 9/21/06, Les Seigneur <[EMAIL PROTECTED]> wrote:
> Here is the transport version from yahoo.py:
> # $Id: yahoo.py,v 1.47 2006/08/24 13:33:50 normanr Exp $

latest CVS = good

> > Very strange, this should not have effected Exodus, but not Psi -
> > maybe the transport restart fixed it?
>  I suspect the transport restart fixed it.  I have found that I can't
> always add a Yahoo user reliably in Exodus or Psi.  Sometimes the Yahoo
> contact never gets the subscription request.  However, when this happens I
> can log off the PyYIMt Transport, log back into the Transport and add the
> Yahoo contact and the Yahoo user does get the subscription request.

Yea, I reckon the restart was the fix.  Sounds like jabberd2 is
dropping packets.  Which version of jabberd2 are you using, on which
os, etc?

> I am using jabberd2 and I have the <mainServerJID> set to the DNS name of
> the Jabber server which is 'jabberserver.uark.edu'. But I still see "Yahoo
> Transport Chatrooms chat.yim" in Psi and I just noticed that I also see
> "Yahoo Transport Chatrooms" in the Browser window in Exodus too.  Sorry, I
> did not notice this is Exodus before. Is there something else I need to do
> so that disco does not show Yahoo chatrooms when I am not using them?

you should have it set to 'jabbermouth.uark.edu' (instead of
'jabberserver.uark.edu').

> Here is a snippet of debug XML from Exodus and Psi when I add a Yahoo
> contact. Notice the "Unknown notify event: /presence/subscription" error in
> the Exodus XML and notice that there is no such error in Psi.  BTW even when
> I see the Unknown notify event in Exodus I can still sometimes add the Yahoo
> contact so this may be a mute point.  Does it look like this error is being
> caused by bad XML in Exodus?
>
> BTW both of these XML statements are the last statements I see in the debug
> window of each client after I add a Yahoo contact.
>
> Exodus:
>
> <presence xmlns='jabber:client' to='[EMAIL PROTECTED]'
> from='[EMAIL PROTECTED]' id='229' type='subscribe'/>
> Unknown notify event: /presence/subscription
>
> Psi:
>
> <presence from="[EMAIL PROTECTED]" type="subscribed"
> id="168" to="[EMAIL PROTECTED]" />

I assume Psi shows the 'subscribe' too?  My guess would be that Exodus
is being silly here.

-- 
- Norman Rasmussen
 - Email: [EMAIL PROTECTED]
 - Home page: http://norman.rasmussen.co.za/
From [EMAIL PROTECTED]  Fri Sep 22 09:37:10 2006
From: [EMAIL PROTECTED] (Norman Rasmussen)
Date: Fri Sep 22 09:37:16 2006
Subject: [py-transports] PyMSNt errors
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

various other messages (r266):

          File "/home/norman/src/svn/PyMSNt/src/legacy/msn/msn.py",
line 819, in lineReceived
            try: handler(params.split(' '))
          File "/home/norman/src/svn/PyMSNt/src/legacy/msn/msn.py",
line 2206, in handle_JOI
            self.userJoined(params[0], unquote(params[1]))
          File "/home/norman/src/svn/PyMSNt/src/legacy/msn/msnw.py",
line 717, in userJoined
            self._switchToMulti(remoteUser)
          File "/home/norman/src/svn/PyMSNt/src/legacy/msn/msnw.py",
line 679, in _switchToMulti
            del self.msncon.switchboardSessions[self.remoteUser]
        exceptions.KeyError: '[EMAIL PROTECTED]'

and three times:

          File "/home/norman/src/svn/PyMSNt/src/jabw.py", line 175, in
sendRosterImport
            self.sendPresence(to=self.jabberID, fro=jid, ptype=ptype,
payload=[x])
          File "/home/norman/src/svn/PyMSNt/src/jabw.py", line 160, in
sendPresence
            sendPresence(self.pytrans, to, fro, show, status,
priority, ptype, avatarHash, nickname, payload)
          File "/home/norman/src/svn/PyMSNt/src/jabw.py", line 39, in
sendPresence
            fro = internJID(fro).userhost()
          File 
"/usr/lib/python2.4/site-packages/twisted/words/protocols/jabber/jid.py",
line 89, in internJID
            j = JID(str)
          File 
"/usr/lib/python2.4/site-packages/twisted/words/protocols/jabber/jid.py",
line 104, in __init__
            user, host, res = parse(str)
          File 
"/usr/lib/python2.4/site-packages/twisted/words/protocols/jabber/jid.py",
line 47, in parse
            return prep(user, server, resource)
          File 
"/usr/lib/python2.4/site-packages/twisted/words/protocols/jabber/jid.py",
line 56, in prep
            raise InvalidFormat, "Invalid character in username"
        twisted.words.protocols.jabber.jid.InvalidFormat: Invalid
character in username


-- 
- Norman Rasmussen
 - Email: [EMAIL PROTECTED]
 - Home page: http://norman.rasmussen.co.za/
From [EMAIL PROTECTED]  Fri Sep 22 15:56:20 2006
From: [EMAIL PROTECTED] (Les Seigneur)
Date: Fri Sep 22 15:56:26 2006
Subject: [py-transports] PyYIMt setup problems - cont.
In-Reply-To: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Norman
Rasmussen
Sent: Thursday, September 21, 2006 3:36 PM
To: PyTransports Discussion
Subject: Re: [py-transports] PyYIMt setup problems - cont.

On 9/21/06, Les Seigneur <[EMAIL PROTECTED]> wrote:
> Here is the transport version from yahoo.py:
> # $Id: yahoo.py,v 1.47 2006/08/24 13:33:50 normanr Exp $

latest CVS = good

> > Very strange, this should not have effected Exodus, but not Psi -
> > maybe the transport restart fixed it?
>  I suspect the transport restart fixed it.  I have found that I can't
> always add a Yahoo user reliably in Exodus or Psi.  Sometimes the Yahoo
> contact never gets the subscription request.  However, when this happens I
> can log off the PyYIMt Transport, log back into the Transport and add the
> Yahoo contact and the Yahoo user does get the subscription request.

Yea, I reckon the restart was the fix.  Sounds like jabberd2 is
dropping packets.  Which version of jabberd2 are you using, on which
os, etc?

  I am using Jabberd2, version: jabberd sm 2.0s8 on Red Hat Enterprise Linux
4.

> I am using jabberd2 and I have the <mainServerJID> set to the DNS name of
> the Jabber server which is 'jabberserver.uark.edu'. But I still see "Yahoo
> Transport Chatrooms chat.yim" in Psi and I just noticed that I also see
> "Yahoo Transport Chatrooms" in the Browser window in Exodus too.  Sorry, I
> did not notice this is Exodus before. Is there something else I need to do
> so that disco does not show Yahoo chatrooms when I am not using them?

you should have it set to 'jabbermouth.uark.edu' (instead of
'jabberserver.uark.edu').

  Actually I do have <mainServerJID> set to 'jabbermouth.uark.edu'.  I was
trying to protect the name of my jabber server so I called it
'jabberserver.uark.edu' for the purpose of the e-mail to the list.  Guess I
didn't proof read well enough before sending to the list the last time. :-(
So I guess my question about disco and Yahoo chatrooms still applies.  BTW I
do have the <confjid> tag commented out.

> Here is a snippet of debug XML from Exodus and Psi when I add a Yahoo
> contact. Notice the "Unknown notify event: /presence/subscription" error
in
> the Exodus XML and notice that there is no such error in Psi.  BTW even
when
> I see the Unknown notify event in Exodus I can still sometimes add the
Yahoo
> contact so this may be a mute point.  Does it look like this error is
being
> caused by bad XML in Exodus?
>
> BTW both of these XML statements are the last statements I see in the
debug
> window of each client after I add a Yahoo contact.
>
> Exodus:
>
> <presence xmlns='jabber:client' to='[EMAIL PROTECTED]'
> from='[EMAIL PROTECTED]' id='229' type='subscribe'/>
> Unknown notify event: /presence/subscription
>
> Psi:
>
> <presence from="[EMAIL PROTECTED]" type="subscribed"
> id="168" to="[EMAIL PROTECTED]" />

I assume Psi shows the 'subscribe' too?  My guess would be that Exodus
is being silly here.

  Yes Psi does show the 'subscribe' too. With no "Unknown notify event:.."
message like Exodus shows.  

<presence from="[EMAIL PROTECTED]" type="subscribe"
id="93" to="[EMAIL PROTECTED]" />



-- 
- Norman Rasmussen
 - Email: [EMAIL PROTECTED]
 - Home page: http://norman.rasmussen.co.za/
_______________________________________________
py-transports mailing list
[email protected]
http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports

Reply via email to