I haven't see this one before:
--- <exception caught here> ---
File "/usr/lib/python2.3/site-packages/twisted/python/log.py",
line 53, in callWithLogger
return callWithContext({"system": lp}, func, *args, **kw)
File "/usr/lib/python2.3/site-packages/twisted/python/log.py",
line 38, in callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File "/usr/lib/python2.3/site-packages/twisted/python/context.py",
line 59, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/usr/lib/python2.3/site-packages/twisted/python/context.py",
line 37, in callWithContext
return func(*args,**kw)
File
"/usr/lib/python2.3/site-packages/twisted/internet/pollreactor.py",
line 172, in _doReadOrWrite
self._disconnectSelectable(selectable, why, inRead)
File "/usr/lib/python2.3/site-packages/twisted/internet/posixbase.py",
line 253, in _disconnectSelectable
selectable.connectionLost(f)
File "/usr/lib/python2.3/site-packages/twisted/internet/tcp.py",
line 557, in connectionLost
Connection.connectionLost(self, reason)
File "/usr/lib/python2.3/site-packages/twisted/internet/tcp.py",
line 403, in connectionLost
protocol.connectionLost(reason)
File "/home/norman/src/svn/PyMSNt/src/tlib/msn/msnw.py",
line 481, in connectionLost
self.ident = (self.ident[0], self.ident[1] + " Disconnected!")
exceptions.TypeError: unsupported operand type(s) for +:
'instance' and 'str'
--
- Norman Rasmussen
- Email: [EMAIL PROTECTED]
- Home page: http://norman.rasmussen.co.za/
From [EMAIL PROTECTED] Mon May 22 13:39:55 2006
From: [EMAIL PROTECTED] (Norman Rasmussen)
Date: Mon May 22 13:39:58 2006
Subject: [py-transports] pyaimt google and avatars
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
On 5/22/06, Daniel Henninger <[EMAIL PROTECTED]> wrote:
> Does it not work with a Google Talk account, or does it not work with
> the GTalk client? I have heard that the GTalk client only supports
> one form of avatars (iq-based? don't recall).
GTalk only uses vcard avatars, but it wants the base64 encoding
without newlines.
--
- Norman Rasmussen
- Email: [EMAIL PROTECTED]
- Home page: http://norman.rasmussen.co.za/
From [EMAIL PROTECTED] Mon May 22 14:16:24 2006
From: [EMAIL PROTECTED] (Lars T. Mikkelsen)
Date: Mon May 22 14:16:31 2006
Subject: [py-transports] pyaimt google and avatars
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
On Mon, May 22, 2006 at 03:39:55PM +0200, Norman Rasmussen wrote:
> On 5/22/06, Daniel Henninger <[EMAIL PROTECTED]> wrote:
> >Does it not work with a Google Talk account, or does it not work with
> >the GTalk client? I have heard that the GTalk client only supports
> >one form of avatars (iq-based? don't recall).
>
> GTalk only uses vcard avatars, but it wants the base64 encoding
> without newlines.
Furthermore, the Google Talk server uses XML namespaces, hence presence
stanzas will look like this:
<presence>
<upd:x xmlns:upd='vcard-temp:x:update'>
<upd:photo>6f95d9f0b2bd164f19a281f975b036fe30393131</upd:photo>
</upd:x>
</presence>
In PyMSNt, this was solved by doing a s/defaultUri/uri/ on the entire
source.
Best regards,
Lars
From [EMAIL PROTECTED] Mon May 22 14:24:37 2006
From: [EMAIL PROTECTED] (Daniel Henninger)
Date: Mon May 22 14:25:50 2006
Subject: [py-transports] pyaimt google and avatars
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
oh? awesome, thanks for the tip! I'm switching that in my source as
we speak. I'm not touching the twisted pieces though. (domish.py as
it stands in tlib) Hoping that's not necessary. ;D Next commit for
both will include this patch. (which will be in a few minutes)
Daniel
On May 22, 2006, at 10:16 AM, Lars T. Mikkelsen wrote:
> On Mon, May 22, 2006 at 03:39:55PM +0200, Norman Rasmussen wrote:
>> On 5/22/06, Daniel Henninger <[EMAIL PROTECTED]> wrote:
>>> Does it not work with a Google Talk account, or does it not work
>>> with
>>> the GTalk client? I have heard that the GTalk client only supports
>>> one form of avatars (iq-based? don't recall).
>>
>> GTalk only uses vcard avatars, but it wants the base64 encoding
>> without newlines.
>
> Furthermore, the Google Talk server uses XML namespaces, hence
> presence
> stanzas will look like this:
>
> <presence>
> <upd:x xmlns:upd='vcard-temp:x:update'>
> <upd:photo>6f95d9f0b2bd164f19a281f975b036fe30393131</upd:photo>
> </upd:x>
> </presence>
>
> In PyMSNt, this was solved by doing a s/defaultUri/uri/ on the entire
> source.
>
> Best regards,
> Lars
> _______________________________________________
> py-transports mailing list
> [email protected]
> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports