On Sat, Aug 27, 2005 at 01:14:02PM +1000, James Bunton wrote:
> It should work with latest Gaim & PyMSNt avatars CVS.

With Gaim 1.5.0 I need the attached patch to get avatars working (both
sending and receiving).

Best regards,
Lars
-------------- next part --------------
Index: msnp2p.py
===================================================================
RCS file: /home/cvs/msn-transport/PyMSNt/src/tlib/Attic/msnp2p.py,v
retrieving revision 1.1.2.32
diff -u -r1.1.2.32 msnp2p.py
--- msnp2p.py   27 Aug 2005 03:06:00 -0000      1.1.2.32
+++ msnp2p.py   27 Aug 2005 11:23:41 -0000
@@ -355,8 +355,8 @@
                                self.setError("field6," + str(binaryFields[6]) 
+ "," + str(self.lastSentFields[1]))
                                return
                        if(binaryFields[7] != self.lastSentFields[6]):
-                               self.setError("field7," + str(binaryFields[7]) 
+ "," + str(self.lastSentFields[6]))
-                               return
+                               self.warn("field7," + str(binaryFields[7]) + 
"," + str(self.lastSentFields[6]))
+                       #       return
 
                        self.lastFields = binaryFields
                        self.baseID.next()
@@ -525,8 +525,8 @@
                                        self.setError("field3," + 
str(binaryFields[3]) + "," + str(self.lastSentFields[3]))
                                        return
                                if(binaryFields[7] != self.lastSentFields[6]):
-                                       self.setError("field7," + 
str(binaryFields[7]) + "," + str(self.lastSentFields[6]))
-                                       return
+                                       self.warn("field7," + 
str(binaryFields[7]) + "," + str(self.lastSentFields[6]))
+                               #       return
                                if(binaryFields[8] != self.lastSentFields[3]):
                                        self.setError("field8," + 
str(binaryFields[8]) + "," + str(self.lastSentFields[3]))
                                        return
From [EMAIL PROTECTED]  Sat Aug 27 12:30:36 2005
From: [EMAIL PROTECTED] (Lars T. Mikkelsen)
Date: Sat Aug 27 12:30:49 2005
Subject: [py-transports] PyMSNt 0.9.4 released, PyMSNt 0.10-rc1 available,
        epoll-0.5 released!
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

On Sat, Aug 27, 2005 at 07:27:46PM +1000, James Bunton wrote:
> PyMSNt 0.10 release candidate 1 is available. This is the latest 
> branch, with avatars, ad-hoc commands, entity capabilities and all 
> sorts of other goodies available. You can now view MSN avatars with 
> JEP-0008.
> See the developer documentation for more details on things that are 
> available.
> If there's no complains about rc1 there'll be 0.10 in a few days time.

The attached patch is needed to avoid this exception:

Traceback (most recent call last):
[snip]
  File "[...]/PyMSNt/src/disco.py", line 103, in onIq
    self.nodes[to][node][0](el)
  File "[...]/PyMSNt/src/misciq.py", line 154, in incomingIq
    elif(child.name == "query" and xmlns == disco.ITEMS):
exceptions.AttributeError: 'module' object has no attribute 'ITEMS'

Best regards,
Lars
-------------- next part --------------
Index: misciq.py
===================================================================
RCS file: /home/cvs/msn-transport/PyMSNt/src/misciq.py,v
retrieving revision 1.4.2.26
diff -u -r1.4.2.26 misciq.py
--- misciq.py   27 Aug 2005 07:31:15 -0000      1.4.2.26
+++ misciq.py   27 Aug 2005 12:24:49 -0000
@@ -151,7 +151,7 @@
                                if(node and self.commands.has_key(node) and 
(itype == "get")):
                                        self.sendCommandInfoResponse(to=fro, 
ID=ID)
                                        handled = True
-                       elif(child.name == "query" and xmlns == disco.ITEMS):
+                       elif(child.name == "query" and xmlns == 
disco.DISCO_ITEMS):
                                if(node and self.commands.has_key(node) and 
(itype == "get")):
                                        self.sendCommandItemsResponse(to=fro, 
ID=ID)
                                        handled = True
From [EMAIL PROTECTED]  Sat Aug 27 13:12:57 2005
From: [EMAIL PROTECTED] (Sander Devrieze)
Date: Sat Aug 27 13:12:59 2005
Subject: [py-transports] PyMSNt 0.9.4 released, PyMSNt 0.10-rc1 available,
        epoll-0.5 released!
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

Op zaterdag 27 augustus 2005 11:27, schreef James Bunton:
<snip>
> PyMSNt 0.10 release candidate 1 is available. This is the latest
> branch, with avatars, ad-hoc commands, entity capabilities and all
> sorts of other goodies available. You can now view MSN avatars with
> JEP-0008.

For the Dutch translation in the repository:
command_Done = "Commando be?indigd."
command_ConnectUsers = u"Alle geregistreerde gebruikers verbinden"

If you more like to add translations just before a new release, just ignore 
this and ask again when you want them. :-)

<snip>

-- 
Mvg, Sander Devrieze.
xmpp:[EMAIL PROTECTED]

ejabberd, the expandable Jabber daemon. --
http://ejabberd.jabber.ru/
From [EMAIL PROTECTED]  Sat Aug 27 15:32:01 2005
From: [EMAIL PROTECTED] (James Bunton)
Date: Sat Aug 27 15:32:19 2005
Subject: [py-transports] PyMSNt 0.9.4 & 0.10 testing
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

Yup. That will fix it, but the problem was actually in Gaim. It's 
already fixed in Gaim CVS.

---

James



On 27/08/2005, at 9:29 PM, Lars T. Mikkelsen wrote:

> On Sat, Aug 27, 2005 at 01:14:02PM +1000, James Bunton wrote:
>> It should work with latest Gaim & PyMSNt avatars CVS.
>
> With Gaim 1.5.0 I need the attached patch to get avatars working (both
> sending and receiving).
>
> Best regards,
> Lars
> <Gaim-avatar.patch>_______________________________________________
> py-transports mailing list
> py-transports@blathersource.org
> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports

Reply via email to