Hello,

I migrated ejabberd from jabberd 1.4 to ejabberd.
Now, I'm trying to get PyYIMt running but I can't find anythink that
seems like documentation ;-)

I have converted my spool to an used dbm file then I've tried to run
yahoo.py but I have an error :

Traceback (most recent call last):
  File "./yahoo.py", line 1166, in ?
    connection =
client.Component(hostname,port,component=component,domains=[hostname,chathostname])
TypeError: __init__() got an unexpected keyword argument 'domains'


Any idea ?
From [EMAIL PROTECTED]  Tue May 16 16:04:58 2006
From: [EMAIL PROTECTED] (S. Tailor)
Date: Tue May 16 16:05:06 2006
Subject: [py-transports] more Google Talk issues...
Message-ID: <[EMAIL PROTECTED]>

a couple of things guys and gals...

a) is Google Talk's "now-typing" notifier a Jabber standard? either
way, any chance of bridging it to MSN in future versions of PyMSN?

b) some some of my buddies' avatars are still black. perhaps I'm the
only one with this issue but if not, it would be nice to have a fix.

muchos gracias,
st

P.S. I'm using msn.jabber.no (ejabberd; pymsn 0.11a)
From [EMAIL PROTECTED]  Tue May 16 16:32:16 2006
From: [EMAIL PROTECTED] (Mike Shnayderman)
Date: Tue May 16 16:32:23 2006
Subject: [py-transports] MSN Transport Specifics
Message-ID: <[EMAIL PROTECTED]>

I am trying to develop a Jabber based Service.  While my prototype
functions very well with
AIM and Yahoo.  MSN does not work.  I am programatically handling
presence requests of type subscribe and that works fine with Yahoo and
AIM, but MSN seems to cause issues.
I am not sure of specific handling of XMPP for MSN transport;  I am
generally new to XMPP, but so far MSN is the only one that seems to
need some extra XMPP handling.  All I am trying is to establish
on-line presence for anyone tring to add user registered with MSN
transport.

Regards, Mikhail.
From [EMAIL PROTECTED]  Tue May 16 16:35:09 2006
From: [EMAIL PROTECTED] (Lars T. Mikkelsen)
Date: Tue May 16 16:35:16 2006
Subject: [py-transports] more Google Talk issues...
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

On Tue, May 16, 2006 at 05:04:58PM +0100, S. Tailor wrote:
> b) some some of my buddies' avatars are still black. perhaps I'm the
> only one with this issue but if not, it would be nice to have a fix.

I posted some patches [1] some time ago to fix issues with avatars in
Google Talk, and James applied them to SVN. However, there hasn't been
made a release including the fixes yet.

> P.S. I'm using msn.jabber.no (ejabberd; pymsn 0.11a)

Perhaps we can talk Stian, who operates msn.jabber.no, into applying the
patches or run PyMSNt from SVN. :-)

Best regards,
Lars

[1] http://www.modevia.com/pipermail/py-transports/2006-April/002514.html
From [EMAIL PROTECTED]  Tue May 16 17:13:29 2006
From: [EMAIL PROTECTED] (Alexey Nezhdanov)
Date: Tue May 16 17:13:36 2006
Subject: [py-transports] PyYIMt with ejabberd ?
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

On Tuesday 16 May 2006 19:37, Lionel Dricot wrote:
> Hello,
>
> I migrated ejabberd from jabberd 1.4 to ejabberd.
> Now, I'm trying to get PyYIMt running but I can't find anythink that
> seems like documentation ;-)
>
> I have converted my spool to an used dbm file then I've tried to run
> yahoo.py but I have an error :
>
> Traceback (most recent call last):
>   File "./yahoo.py", line 1166, in ?
>     connection =
> client.Component(hostname,port,component=component,domains=[hostname,chatho
>stname]) TypeError: __init__() got an unexpected keyword argument 'domains'
>
>
> Any idea ?
looks like your xmpppy library is outdated. try 0.3.1 

-- 
Respectfully
Alexey Nezhdanov
From [EMAIL PROTECTED]  Tue May 16 17:21:41 2006
From: [EMAIL PROTECTED] (Lionel Dricot)
Date: Tue May 16 17:21:45 2006
Subject: [py-transports] PyYIMt with ejabberd ?
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

I've only apt-getted the testing version of python-xmpp (0.3.1). Nothing more.

On 5/16/06, Alexey Nezhdanov <[EMAIL PROTECTED]> wrote:
> On Tuesday 16 May 2006 19:37, Lionel Dricot wrote:
> > Hello,
> >
> > I migrated ejabberd from jabberd 1.4 to ejabberd.
> > Now, I'm trying to get PyYIMt running but I can't find anythink that
> > seems like documentation ;-)
> >
> > I have converted my spool to an used dbm file then I've tried to run
> > yahoo.py but I have an error :
> >
> > Traceback (most recent call last):
> >   File "./yahoo.py", line 1166, in ?
> >     connection =
> > client.Component(hostname,port,component=component,domains=[hostname,chatho
> >stname]) TypeError: __init__() got an unexpected keyword argument 'domains'
> >
> >
> > Any idea ?
> looks like your xmpppy library is outdated. try 0.3.1
>
> --
> Respectfully
> Alexey Nezhdanov
> _______________________________________________
> py-transports mailing list
> [email protected]
> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
>
From [EMAIL PROTECTED]  Tue May 16 17:47:08 2006
From: [EMAIL PROTECTED] (Alexey Nezhdanov)
Date: Tue May 16 17:47:13 2006
Subject: [py-transports] PyYIMt with ejabberd ?
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

On Tuesday 16 May 2006 21:21, Lionel Dricot wrote:
> I've only apt-getted the testing version of python-xmpp (0.3.1). Nothing
> more.
oh. Then do not know why.
Norman, any suggestions?

-- 
Respectfully
Alexey Nezhdanov
From [EMAIL PROTECTED]  Tue May 16 17:57:52 2006
From: [EMAIL PROTECTED] (Lionel Dricot)
Date: Tue May 16 17:57:57 2006
Subject: [py-transports] PyYIMt with ejabberd ?
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

I found it ! I had to apt-get python2.4-xmpp.
Now, I got it running, wich is fine, thanks for the work.

Any idea on how I can daemonize it ? (and if possible have a pid file
like other pygateway ?)

On 5/16/06, Alexey Nezhdanov <[EMAIL PROTECTED]> wrote:
> On Tuesday 16 May 2006 21:21, Lionel Dricot wrote:
> > I've only apt-getted the testing version of python-xmpp (0.3.1). Nothing
> > more.
> oh. Then do not know why.
> Norman, any suggestions?
>
> --
> Respectfully
> Alexey Nezhdanov
> _______________________________________________
> py-transports mailing list
> [email protected]
> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
>
From [EMAIL PROTECTED]  Tue May 16 18:18:42 2006
From: [EMAIL PROTECTED] (Lars T. Mikkelsen)
Date: Tue May 16 18:18:47 2006
Subject: [py-transports] more Google Talk issues...
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

On Tue, May 16, 2006 at 05:04:58PM +0100, S. Tailor wrote:
> a) is Google Talk's "now-typing" notifier a Jabber standard? either
> way, any chance of bridging it to MSN in future versions of PyMSN?

There are two notification standards, JEP-0022 [1] and JEP-0085 [2]. As
far as I know, PyMSNt only supports JEP-0022 and Google Talk only
supports JEP-0085.

Best regards,
Lars

[1] http://www.jabber.org/jeps/jep-0022.html
[2] http://www.jabber.org/jeps/jep-0085.html
From [EMAIL PROTECTED]  Tue May 16 19:28:26 2006
From: [EMAIL PROTECTED] (Norman Rasmussen)
Date: Tue May 16 19:28:41 2006
Subject: [py-transports] PyYIMt with ejabberd ?
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

On 5/16/06, Lionel Dricot <[EMAIL PROTECTED]> wrote:
> Any idea on how I can daemonize it ? (and if possible have a pid file
> like other pygateway ?)

you can the startup scripts I use here:
    http://darkskies.za.net/~norman/jabber/xmpp-irc
    http://darkskies.za.net/~norman/jabber/xmpp-yahoo

-- 
- Norman Rasmussen
 - Email: [EMAIL PROTECTED]
 - Home page: http://norman.rasmussen.co.za/
From [EMAIL PROTECTED]  Tue May 16 19:29:15 2006
From: [EMAIL PROTECTED] (Norman Rasmussen)
Date: Tue May 16 19:29:19 2006
Subject: [py-transports] MSN Transport Specifics
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

On 5/16/06, Mike Shnayderman <[EMAIL PROTECTED]> wrote:
> I am trying to develop a Jabber based Service.  While my prototype
> functions very well with
> AIM and Yahoo.  MSN does not work.  I am programatically handling
> presence requests of type subscribe and that works fine with Yahoo and
> AIM, but MSN seems to cause issues.
> I am not sure of specific handling of XMPP for MSN transport;  I am
> generally new to XMPP, but so far MSN is the only one that seems to
> need some extra XMPP handling.  All I am trying is to establish
> on-line presence for anyone tring to add user registered with MSN
> transport.

At a guess you need to handle disco#info for the client.  I thought
the yahoo transport requires that too, so it might be something else.
(are you using the c or python yahoo transport?)

-- 
- Norman Rasmussen
 - Email: [EMAIL PROTECTED]
 - Home page: http://norman.rasmussen.co.za/
From [EMAIL PROTECTED]  Tue May 16 19:36:59 2006
From: [EMAIL PROTECTED] (Pedro Melo)
Date: Tue May 16 19:37:16 2006
Subject: [py-transports] pyMSNT: JEP8 support [PATCH]
Message-ID: <[EMAIL PROTECTED]>

Hi,

attached my initial version of a patch to support JEP8 in pyMSNt.  
Although JEP8 is deprecated, some servers don't support VCard-based  
avatars, so this might be useful to others.

It's in the "works sometimes"-state, and has a LOT of debug information.

I'll be working on this one a bit more during the day tomorrow. If  
anybody could look over the code and suggest improvements, thanks in  
advance.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: jep8-20060516.patch
Type: application/octet-stream
Size: 7392 bytes
Desc: not available
Url : 
http://modevia.com/pipermail/py-transports/attachments/20060516/cff119e7/jep8-20060516.obj
-------------- next part --------------


Best regards,
--
HIId: Pedro Melo
SMTP: [EMAIL PROTECTED]
XMPP: [EMAIL PROTECTED]
From [EMAIL PROTECTED]  Tue May 16 20:03:53 2006
From: [EMAIL PROTECTED] (Pedro Melo)
Date: Tue May 16 20:03:58 2006
Subject: [py-transports] pyMSNt: traceback and possible patch
Message-ID: <[EMAIL PROTECTED]>

Hi,

got this traceback:

[2006-05-16 20:55:54] Traceback (most recent call last):
           File "/usr/lib/python2.3/site-packages/twisted/python/ 
log.py", line 56, in callWithLogger
             return callWithContext({"system": lp}, func, *args, **kw)
           File "/usr/lib/python2.3/site-packages/twisted/python/ 
log.py", line 41, in callWithContext            return context.call 
({ILogContext: newCtx}, func, *args, **kw)
           File "/usr/lib/python2.3/site-packages/twisted/python/ 
context.py", line 52, in callWithContext            return  
self.currentContext().callWithContext(ctx, func, *args, **kw)
           File "/usr/lib/python2.3/site-packages/twisted/python/ 
context.py", line 31, in callWithContext            return func 
(*args,**kw)
         --- <exception caught here> ---
           File "/usr/lib/python2.3/site-packages/twisted/internet/ 
pollreactor.py", line 160, in _doReadOrWrite
             why = selectable.doRead()
           File "/usr/lib/python2.3/site-packages/twisted/internet/ 
tcp.py", line 351, in doRead            return  
self.protocol.dataReceived(data)
           File "/usr/lib/python2.3/site-packages/twisted/protocols/ 
basic.py", line 221, in dataReceived            why =  
self.lineReceived(line)
           File "/servers/pymsnt/src/tlib/msn/msn.py", line 825, in  
lineReceived
             try: handler(params.split(' '))
           File "/servers/pymsnt/src/tlib/msn/msn.py", line 2226, in  
handle_ANS            self.loggedIn()
           File "/servers/pymsnt/src/tlib/msn/msnw.py", line 678, in  
loggedIn            self._ready()
           File "/servers/pymsnt/src/tlib/msn/msnw.py", line 646, in  
_ready            self.userJoined(user)
           File "/servers/pymsnt/src/tlib/msn/msnw.py", line 698, in  
userJoined            d = self.sendAvatarRequest()
           File "/servers/pymsnt/src/tlib/msn/msnw.py", line 745, in  
sendAvatarRequest            msnContacts = self.msncon.getContacts()
         exceptions.AttributeError: 'NoneType' object has no  
attribute 'getContacts'

Possible patch:

--- src/tlib/msn/msnw.py        (revision 874)
+++ src/tlib/msn/msnw.py        (local)
@@ -742,6 +742,7 @@
         CAPS = msn.MSNContact.MSNC1 | msn.MSNContact.MSNC2 |  
msn.MSNContact.MSNC3 | msn.MSNContact.MSNC4
         def sendAvatarRequest(self):
                 if not self.ready: return
+    if not self.msncon: return
                 msnContacts = self.msncon.getContacts()
                 if not msnContacts: return
                 msnContact = msnContacts.getContact(self.remoteUser)

(ignore revision in header, I'm using svk).

Best regards,
--
HIId: Pedro Melo
SMTP: [EMAIL PROTECTED]
XMPP: [EMAIL PROTECTED]

Reply via email to