On 6/26/06, Stian B. Barmen <[EMAIL PROTECTED]> wrote:
> Both transports have the same priority, but different resource names.
> Seems the one (darkstar) always is above the other (gajim_kontoret) in
> pri. If one of these two goes away and the other is online then the
> transport should be available in my humble opinion.

RFC3921, Section 11.1.4.1:

           For message stanzas, the server SHOULD deliver the stanza to
           the highest-priority available resource (if the resource did
           not provide a value for the <priority/> element, the server
           SHOULD consider it to have provided a value of zero).  If two
           or more available resources have the same priority, the
           server MAY use some other rule (e.g., most recent connect
           time, most recent activity time, or highest availability as
           determined by some hierarchy of <show/> values) to choose
           between them or MAY deliver the message to all such
           resources.

(FYI: Google ignore the SHOULD, and always deliver (undirected)
stanza's to all connected resources.)

What's the logic in the transport at the moment with multiple
resources? I assume it takes the highest resource's priority for the
legacy status.  The question is: what does it do with multiple clients
with the same priority (like google talk for example)?

Surely it should remain available if _any_ of the highest priority
clients are available.  If they're all away, then maybe use the
oldest?

FYI: The irc and yahoo transports use: highest, then oldest (i.e.
connected the longest) - and ignore the status entirely.

-- 
- Norman Rasmussen
 - Email: [EMAIL PROTECTED]
 - Home page: http://norman.rasmussen.co.za/
From [EMAIL PROTECTED]  Tue Jun 27 17:00:10 2006
From: [EMAIL PROTECTED] (Adam Thorsen)
Date: Tue Jun 27 17:00:15 2006
Subject: [py-transports] pyyim-t offline msg not getting through.
Message-ID: <[EMAIL PROTECTED]>

Hi all.  Got a question about pyyim-t
It is doing a good job of notifying me when contacts come online, but
not when they go offline.
When I look at the input using the XML console in psi, the offline
message just isn't getting through.

This is the output of pyyim-t when a yim user goes offline:

('YMSG', 0, 39, 2, 1, -1818524633) {0: {10: '0', 13: '0', 138: '1', 7:
'adam_thorsen'}} 59
('YMSG', 0, 39, 2, 1, -1802126735) {0: {10: '0', 13: '0', 138: '1', 7:
'adam_thorsen'}} 59

However, nothing seems to happen on the client side behind the transport.

Any ideas what's going on?
From [EMAIL PROTECTED]  Tue Jun 27 19:07:42 2006
From: [EMAIL PROTECTED] (Norman Rasmussen)
Date: Tue Jun 27 19:07:47 2006
Subject: [py-transports] pyyim-t offline msg not getting through.
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

On 6/27/06, Adam Thorsen <[EMAIL PROTECTED]> wrote:
> It is doing a good job of notifying me when contacts come online, but
> not when they go offline.
> When I look at the input using the XML console in psi, the offline
> message just isn't getting through.
> Any ideas what's going on?

Hrm, this seems to work for me - at least I have yahoo users that go
offline without any troubles.

What server are you using?

-- 
- Norman Rasmussen
 - Email: [EMAIL PROTECTED]
 - Home page: http://norman.rasmussen.co.za/
From [EMAIL PROTECTED]  Tue Jun 27 19:08:11 2006
From: [EMAIL PROTECTED] (Norman Rasmussen)
Date: Tue Jun 27 19:08:14 2006
Subject: [py-transports] pyyim-t offline msg not getting through.
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

On 6/27/06, Norman Rasmussen <[EMAIL PROTECTED]> wrote:
> What server are you using?

also which version of yahoo.py (should be listen on the 2nd line).

-- 
- Norman Rasmussen
 - Email: [EMAIL PROTECTED]
 - Home page: http://norman.rasmussen.co.za/
From [EMAIL PROTECTED]  Tue Jun 27 19:13:16 2006
From: [EMAIL PROTECTED] (Adam Thorsen)
Date: Tue Jun 27 19:13:20 2006
Subject: [py-transports] pyyim-t offline msg not getting through.
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

I'm using ejabberd from svn.  I've noticed that, after restarting
pyyim, pyyim will successfully send 1 offline message from a user, but
none there after.  Also, whenever a yim user comes online after that,
it sends the status as "away" rather than available.

Thanks,
-Adam

On 6/27/06, Norman Rasmussen <[EMAIL PROTECTED]> wrote:
> On 6/27/06, Adam Thorsen <[EMAIL PROTECTED]> wrote:
> > It is doing a good job of notifying me when contacts come online, but
> > not when they go offline.
> > When I look at the input using the XML console in psi, the offline
> > message just isn't getting through.
> > Any ideas what's going on?
>
> Hrm, this seems to work for me - at least I have yahoo users that go
> offline without any troubles.
>
> What server are you using?
>
> --
> - 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
>
From [EMAIL PROTECTED]  Tue Jun 27 20:02:35 2006
From: [EMAIL PROTECTED] (Adam Thorsen)
Date: Tue Jun 27 20:02:40 2006
Subject: [py-transports] pyyim-t offline msg not getting through.
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

This is from my yahoo.py:

# $Id: yahoo.py,v 1.26 2006/01/03 18:31:15 normanr Exp $
version = '0.3'


On 6/27/06, Norman Rasmussen <[EMAIL PROTECTED]> wrote:
> On 6/27/06, Norman Rasmussen <[EMAIL PROTECTED]> wrote:
> > What server are you using?
>
> also which version of yahoo.py (should be listen on the 2nd line).
>
> --
> - 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
>
From [EMAIL PROTECTED]  Tue Jun 27 20:14:29 2006
From: [EMAIL PROTECTED] (Magnus Henoch)
Date: Tue Jun 27 20:14:52 2006
Subject: [py-transports] PyMSN: no new avatars
Message-ID: <[EMAIL PROTECTED]>

It seems that the MSN transport no longer fetches new avatars; only
existing ones are displayed.  Has anyone else seen this?  Many of our
users have reported this.

Magnus
From [EMAIL PROTECTED]  Tue Jun 27 20:47:50 2006
From: [EMAIL PROTECTED] (Norman Rasmussen)
Date: Tue Jun 27 20:47:56 2006
Subject: [py-transports] pyyim-t offline msg not getting through.
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

On 6/27/06, Adam Thorsen <[EMAIL PROTECTED]> wrote:
> I'm using ejabberd from svn.  I've noticed that, after restarting
> pyyim, pyyim will successfully send 1 offline message from a user, but
> none there after.  Also, whenever a yim user comes online after that,
> it sends the status as "away" rather than available.

Hrm, odd.  This needs investigating.  If I find some time I might have a look.

-- 
- Norman Rasmussen
 - Email: [EMAIL PROTECTED]
 - Home page: http://norman.rasmussen.co.za/
From [EMAIL PROTECTED]  Thu Jun 29 08:30:52 2006
From: [EMAIL PROTECTED] (David E Freitas)
Date: Thu Jun 29 08:30:59 2006
Subject: [py-transports] AttributeError exception in 0.9.5
Message-ID: <[EMAIL PROTECTED]>

Hi,

We too get this exception, frequently, with PyMSN 0.9.5:
(Has it been fixed since that version?)

<log>
06/29/06 - 08:32:58 - Discovery: Iq received "
[EMAIL PROTECTED]/resource" "None". Looking for handler
06/29/06 - 08:32:58 - Discovery: Handler found "jabber:iq:register" "<bound
method RegisterManager.incomingRegisterIq of
<register.RegisterManagerinstance at 0x84cde4c>>"
06/29/06 - 08:32:58 - RegisterManager: In-band registration type "set"
received
06/29/06 - 08:32:58 - RegisterManager: updateRegistration() for "
[EMAIL PROTECTED]/resource" "None"
06/29/06 - 08:32:58 - RegisterManager: Invalid registration data was sent to
us. Or the removal failed.
06/29/06 - 08:32:58 - Traceback (most recent call last):
06/29/06 - 08:32:58 -   File
"/usr/local/lib/python2.4/site-packages/twisted/internet/kqreactor.py", line
178, in doKEvent
06/29/06 - 08:32:58 -     log.callWithLogger(selectable, _drdw, selectable,
fd, filter)
06/29/06 - 08:32:58 -   File
"/usr/local/lib/python2.4/site-packages/twisted/python/log.py", line 65, in
callWithLogger
06/29/06 - 08:32:58 -     callWithContext({"system": lp}, func, *args, **kw)
06/29/06 - 08:32:58 -   File
"/usr/local/lib/python2.4/site-packages/twisted/python/log.py", line 52, in
callWithContext
06/29/06 - 08:32:58 -     return context.call({ILogContext: newCtx}, func,
*args, **kw)
06/29/06 - 08:32:58 -   File
"/usr/local/lib/python2.4/site-packages/twisted/python/context.py", line 43,
in callWithContext
06/29/06 - 08:32:58 -     return func(*args,**kw)
06/29/06 - 08:32:58 - --- <exception caught here> ---
06/29/06 - 08:32:58 -   File
"/usr/local/lib/python2.4/site-packages/twisted/internet/kqreactor.py", line
183, in _doWriteOrRead
06/29/06 - 08:32:58 -     why = selectable.doRead()
06/29/06 - 08:32:58 -   File
"/usr/local/lib/python2.4/site-packages/twisted/internet/tcp.py", line 255,
in doRead
06/29/06 - 08:32:58 -     return self.protocol.dataReceived(data)
06/29/06 - 08:32:58 -   File "/usr/local/PyMSNt-0.9.5/src/tlib/xmlstream.py",
line 159, in dataReceived
06/29/06 - 08:32:58 -     self.stream.parse(buf)
06/29/06 - 08:32:58 -   File "/usr/local/PyMSNt-0.9.5/src/tlib/domish.py",
line 598, in parse
06/29/06 - 08:32:58 -     self.parser.Parse(buffer)
06/29/06 - 08:32:58 -   File "/usr/local/PyMSNt-0.9.5/src/tlib/domish.py",
line 635, in _onEndElement
06/29/06 - 08:32:58 -     self.ElementEvent(self.currElem)
06/29/06 - 08:32:58 -   File "/usr/local/PyMSNt-0.9.5/src/tlib/xmlstream.py",
line 180, in onElement
06/29/06 - 08:32:58 -     self.dispatch(element)
06/29/06 - 08:32:58 -   File
"/usr/local/lib/python2.4/site-packages/twisted/xish/utility.py", line 139,
in dispatch
06/29/06 - 08:32:58 -     callbacklist.callback(object)
06/29/06 - 08:32:58 -   File
"/usr/local/lib/python2.4/site-packages/twisted/xish/utility.py", line 50,
in callback
06/29/06 - 08:32:58 -     methodwrapper(*args, **kwargs)
06/29/06 - 08:32:58 -   File
"/usr/local/lib/python2.4/site-packages/twisted/xish/utility.py", line 34,
in __call__
06/29/06 - 08:32:58 -     self.method(*nargs, **nkwargs)
06/29/06 - 08:32:58 -   File "/usr/local/PyMSNt-0.9.5/src/disco.py", line
92, in onIq
06/29/06 - 08:32:58 -     handler(el)
06/29/06 - 08:32:58 -   File "/usr/local/PyMSNt-0.9.5/src/register.py", line
72, in incomingRegisterIq
06/29/06 - 08:32:58 -     self.updateRegistration(incoming)
06/29/06 - 08:32:58 -   File "/usr/local/PyMSNt-0.9.5/src/register.py", line
158, in updateRegistration
06/29/06 - 08:32:58 -     self.badRequestReply(incoming)
06/29/06 - 08:32:58 -   File "/usr/local/PyMSNt-0.9.5/src/register.py", line
170, in badRequestReply
06/29/06 - 08:32:58 -     self.pytrans.send(reply)
06/29/06 - 08:32:58 -   File
"/usr/local/PyMSNt-0.9.5/src/tlib/jabber/component.py",
line 96, in send
06/29/06 - 08:32:58 -     self.parent.send(obj)
06/29/06 - 08:32:58 -   File
"/usr/local/PyMSNt-0.9.5/src/tlib/jabber/component.py",
line 162, in send
06/29/06 - 08:32:58 -     self.xmlstream.send(obj)
06/29/06 - 08:32:58 -   File "/usr/local/PyMSNt-0.9.5/src/tlib/xmlstream.py",
line 193, in send
06/29/06 - 08:32:58 -     obj = obj.toXml()
06/29/06 - 08:32:58 -   File "/usr/local/PyMSNt-0.9.5/src/tlib/domish.py",
line 399, in toXml
06/29/06 - 08:32:58 -     s.serialize(self, closeElement)
06/29/06 - 08:32:58 -   File "/usr/local/PyMSNt-0.9.5/src/tlib/domish.py",
line 90, in serialize
06/29/06 - 08:32:58 -     write(" %s:%s='%s'" % (self.getPrefix(k[0]), k[1],
escapeToXml(v, 1)).encode("utf-8"))
06/29/06 - 08:32:58 - exceptions.AttributeError: 'tuple' object has no
attribute 'encode'
</log>




-David

> Looks like somebody sent some XML to PyMSNt that it didn't understand
> very well.
>
>Thanks for the report. If you find out how to reproduce it I'd love to
> know what XML caused this.

>---

>James



On 09/09/2005, at 3:37 PM, Matthew Nourse wrote:

> Hi,
>
> I found the error below on the terminal shortly after starting PyMSNt
> 0.9.5.  I haven't been able to duplicate the problem yet.
>
>
>
> Exception occured! Check the log!
> Traceback (most recent call last):
>  File "/usr/lib/python2.3/site-packages/twisted/internet/default.py",
> line 526, in doSelect
>    _logrun(selectable, _drdw, selectable, method, dict)
>  File "/usr/lib/python2.3/site-packages/twisted/python/log.py", line
> 65, in callWithLogger
>    callWithContext({"system": lp}, func, *args, **kw)
>  File "/usr/lib/python2.3/site-packages/twisted/python/log.py", line
> 52, in callWithContext
>    return context.call({ILogContext: newCtx}, func, *args, **kw)
>  File "/usr/lib/python2.3/site-packages/twisted/python/context.py",
> line 43, in callWithContext
>    return func(*args,**kw)
> --- <exception caught here> ---
>  File "/usr/lib/python2.3/site-packages/twisted/internet/default.py",
> line 535, in _doReadOrWrite
>    why = getattr(selectable, method)()
>  File "/usr/lib/python2.3/site-packages/twisted/internet/tcp.py", line
> 255, in doRead
>    return self.protocol.dataReceived(data)
>  File "/opt/jabber-transports/PyMSNt/src/tlib/xmlstream.py", line 159,
> in dataReceived
>    self.stream.parse(buf)
>  File "/opt/jabber-transports/PyMSNt/src/tlib/domish.py", line 598, in
> parse
>    self.parser.Parse(buffer)
>  File "/opt/jabber-transports/PyMSNt/src/tlib/domish.py", line 635, in
> _onEndElement
>    self.ElementEvent(self.currElem)
>  File "/opt/jabber-transports/PyMSNt/src/tlib/xmlstream.py", line 180,
> in onElement
>    self.dispatch(element)
>  File "/usr/lib/python2.3/site-packages/twisted/xish/utility.py", line
> 139, in dispatch
>    callbacklist.callback(object)
>  File "/usr/lib/python2.3/site-packages/twisted/xish/utility.py", line
> 50, in callback
>    methodwrapper(*args, **kwargs)
>  File "/usr/lib/python2.3/site-packages/twisted/xish/utility.py", line
> 34, in __call__
>    self.method(*nargs, **nkwargs)
>  File "/opt/jabber-transports/PyMSNt/src/disco.py", line 92, in onIq
>    handler(el)
>  File "/opt/jabber-transports/PyMSNt/src/register.py", line 72, in
> incomingRegisterIq
>    self.updateRegistration(incoming)
>  File "/opt/jabber-transports/PyMSNt/src/register.py", line 158, in
> updateRegistration
>    self.badRequestReply(incoming)
>  File "/opt/jabber-transports/PyMSNt/src/register.py", line 170, in
> badRequestReply
>    self.pytrans.send(reply)
>  File "/opt/jabber-transports/PyMSNt/src/tlib/jabber/component.py",
> line 96, in send
>    self.parent.send(obj)
>  File "/opt/jabber-transports/PyMSNt/src/tlib/jabber/component.py",
> line 162, in send
>    self.xmlstream.send(obj)
>  File "/opt/jabber-transports/PyMSNt/src/tlib/xmlstream.py", line 193,
> in send
>    obj = obj.toXml()
>  File "/opt/jabber-transports/PyMSNt/src/tlib/domish.py", line 399, in
> toXml
>    s.serialize(self, closeElement)
>  File "/opt/jabber-transports/PyMSNt/src/tlib/domish.py", line 90, in
> serialize
>    write(" %s:%s='%s'" % (self.getPrefix(k[0]), k[1], escapeToXml(v,
> 1)).encode("utf-8"))
> exceptions.AttributeError: 'tuple' object has no attribute 'encode'
>
>
> It looks to me like line 90 of domish.py is unchanged in the latest
> source.  I don't speak Python well enough to contribute a patch, my
> apologies.
>
> Best Regards,
> Matt
>
>
> _______________________________________________
> py-transports mailing list
> py-transports at blathersource.org
> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://modevia.com/pipermail/py-transports/attachments/20060629/f2c1a434/attachment.htm
From [EMAIL PROTECTED]  Thu Jun 29 13:38:47 2006
From: [EMAIL PROTECTED] (David E Freitas)
Date: Thu Jun 29 13:38:54 2006
Subject: [py-transports] PYMSN 0.9.5 TraceBacks Exceptions - 'NoneType'
        object has no attribute 'replace' and exceptions.KeyError: ##
Message-ID: <[EMAIL PROTECTED]>

Hi,

Just in case this hasn't been fixed:
(pymsn 0.9.5
python 2.4.2
twisted 1.3.0 _2)

Here are a few seperate Tracebacks/Exceptions:
==========================================

06/29/06 - 08:30:18 - Discovery: Iq received "
[EMAIL PROTECTED]/resource" "None". Looking for handler
06/29/06 - 08:30:18 - Discovery: Handler found "jabber:iq:register" "<bound
method RegisterManager.incomingRegisterIq of
<register.RegisterManagerinstance at 0x84cde4c>>"
06/29/06 - 08:30:18 - RegisterManager: In-band registration type "get"
received
06/29/06 - 08:30:18 - RegisterManager: sendRegistrationFields() for "
[EMAIL PROTECTED]/resource" "None"
06/29/06 - 08:30:18 - RegisterManager: getRegInfo("
[EMAIL PROTECTED]")
06/29/06 - 08:30:18 - RegisterManager: getRegInfo("
[EMAIL PROTECTED]") - not registered!
06/29/06 - 08:30:18 - Traceback (most recent call last):
06/29/06 - 08:30:18 -   File
"/usr/local/lib/python2.4/site-packages/twisted/internet/kqreactor.py", line
178, in doKEvent
06/29/06 - 08:30:18 -     log.callWithLogger(selectable, _drdw, selectable,
fd, filter)
06/29/06 - 08:30:18 -   File
"/usr/local/lib/python2.4/site-packages/twisted/python/log.py", line 65, in
callWithLogger
06/29/06 - 08:30:18 -     callWithContext({"system": lp}, func, *args, **kw)
06/29/06 - 08:30:18 -   File
"/usr/local/lib/python2.4/site-packages/twisted/python/log.py", line 52, in
callWithContext
06/29/06 - 08:30:18 -     return context.call({ILogContext: newCtx}, func,
*args, **kw)
06/29/06 - 08:30:18 -   File
"/usr/local/lib/python2.4/site-packages/twisted/python/context.py", line 43,
in callWithContext
06/29/06 - 08:30:18 -     return func(*args,**kw)
06/29/06 - 08:30:18 - --- <exception caught here> ---
06/29/06 - 08:30:18 -   File
"/usr/local/lib/python2.4/site-packages/twisted/internet/kqreactor.py", line
183, in _doWriteOrRead
06/29/06 - 08:30:18 -     why = selectable.doRead()
06/29/06 - 08:30:18 -   File
"/usr/local/lib/python2.4/site-packages/twisted/internet/tcp.py", line 255,
in doRead
06/29/06 - 08:30:18 -     return self.protocol.dataReceived(data)
06/29/06 - 08:30:18 -   File "/usr/local/PyMSNt-0.9.5/src/tlib/xmlstream.py",
line 159, in dataReceived
06/29/06 - 08:30:18 -     self.stream.parse(buf)
06/29/06 - 08:30:18 -   File "/usr/local/PyMSNt-0.9.5/src/tlib/domish.py",
line 598, in parse
06/29/06 - 08:30:18 -     self.parser.Parse(buffer)
06/29/06 - 08:30:18 -   File "/usr/local/PyMSNt-0.9.5/src/tlib/domish.py",
line 635, in _onEndElement
06/29/06 - 08:30:18 -     self.ElementEvent(self.currElem)
06/29/06 - 08:30:18 -   File "/usr/local/PyMSNt-0.9.5/src/tlib/xmlstream.py",
line 180, in onElement
06/29/06 - 08:30:18 -     self.dispatch(element)
06/29/06 - 08:30:18 -   File
"/usr/local/lib/python2.4/site-packages/twisted/xish/utility.py", line 139,
in dispatch
06/29/06 - 08:30:18 -     callbacklist.callback(object)
06/29/06 - 08:30:18 -   File
"/usr/local/lib/python2.4/site-packages/twisted/xish/utility.py", line 50,
in callback
06/29/06 - 08:30:18 -     methodwrapper(*args, **kwargs)
06/29/06 - 08:30:18 -   File
"/usr/local/lib/python2.4/site-packages/twisted/xish/utility.py", line 34,
in __call__
06/29/06 - 08:30:18 -     self.method(*nargs, **nkwargs)
06/29/06 - 08:30:18 -   File "/usr/local/PyMSNt-0.9.5/src/disco.py", line
92, in onIq
06/29/06 - 08:30:18 -     handler(el)
06/29/06 - 08:30:18 -   File "/usr/local/PyMSNt-0.9.5/src/register.py", line
70, in incomingRegisterIq
06/29/06 - 08:30:18 -     self.sendRegistrationFields(incoming)
06/29/06 - 08:30:18 -   File "/usr/local/PyMSNt-0.9.5/src/register.py", line
101, in sendRegistrationFields
06/29/06 - 08:30:18 -     self.pytrans.send(reply)
06/29/06 - 08:30:18 -   File
"/usr/local/PyMSNt-0.9.5/src/tlib/jabber/component.py",
line 96, in send
06/29/06 - 08:30:18 -     self.parent.send(obj)
06/29/06 - 08:30:18 -   File
"/usr/local/PyMSNt-0.9.5/src/tlib/jabber/component.py",
line 162, in send
06/29/06 - 08:30:18 -     self.xmlstream.send(obj)
06/29/06 - 08:30:18 -   File "/usr/local/PyMSNt-0.9.5/src/tlib/xmlstream.py",
line 193, in send
06/29/06 - 08:30:18 -     obj = obj.toXml()
06/29/06 - 08:30:18 -   File "/usr/local/PyMSNt-0.9.5/src/tlib/domish.py",
line 399, in toXml
06/29/06 - 08:30:18 -     s.serialize(self, closeElement)
06/29/06 - 08:30:18 -   File "/usr/local/PyMSNt-0.9.5/src/tlib/domish.py",
line 92, in serialize
06/29/06 - 08:30:18 -     write((" %s='%s'" % ( k, escapeToXml(v,
1))).encode("utf-8"))
06/29/06 - 08:30:18 -   File "/usr/local/PyMSNt-0.9.5/src/tlib/domish.py",
line 202, in escapeToXml
06/29/06 - 08:30:18 -     text = text.replace("&", "&amp;")
06/29/06 - 08:30:18 - exceptions.AttributeError: 'NoneType' object has no
attribute 'replace'

==========================================
06/29/06 - 08:40:09 - jabw: Sending a Jabber message "
[EMAIL PROTECTED]/resource" [EMAIL PROTECTED] "ani...e-mailnya tapi ani adi
nya" "chat"
Traceback (most recent call last):
06/29/06 - 08:40:10 -   File "main.py", line 323, in ?
06/29/06 - 08:40:10 -     reactor.run()
06/29/06 - 08:40:10 -   File
"/usr/local/lib/python2.4/site-packages/twisted/internet/default.py", line
126, in run
06/29/06 - 08:40:10 -     self.mainLoop()
06/29/06 - 08:40:10 - --- <exception caught here> ---
06/29/06 - 08:40:10 -   File
"/usr/local/lib/python2.4/site-packages/twisted/internet/default.py", line
137, in mainLoop
06/29/06 - 08:40:10 -     self.doIteration(t)
06/29/06 - 08:40:10 -   File
"/usr/local/lib/python2.4/site-packages/twisted/internet/kqreactor.py", line
177, in doKEvent
06/29/06 - 08:40:10 -     selectable = selectables[fd]
06/29/06 - 08:40:10 - exceptions.KeyError: 51

(many of these exceptions.KeyError: ####)!!!different numbers every time
==========================================


06/29/06 - 09:56:34 - SwitchboardClient:
"<legacy.msnw.SwitchboardSessioninstance at 0xb08f24c>" - destroyed
06/29/06 - 09:56:34 - Traceback (most recent call last):
06/29/06 - 09:56:34 -   File "main.py", line 323, in ?
06/29/06 - 09:56:34 -     reactor.run()
06/29/06 - 09:56:34 -   File
"/usr/local/lib/python2.4/site-packages/twisted/internet/default.py", line
126, in run
06/29/06 - 09:56:34 -     self.mainLoop()
06/29/06 - 09:56:34 -   File
"/usr/local/lib/python2.4/site-packages/twisted/internet/default.py", line
134, in mainLoop
06/29/06 - 09:56:34 -     self.runUntilCurrent()
06/29/06 - 09:56:34 - --- <exception caught here> ---
06/29/06 - 09:56:34 -   File
"/usr/local/lib/python2.4/site-packages/twisted/internet/base.py", line 423,
in runUntilCurrent
06/29/06 - 09:56:34 -     call.func(*call.args, **call.kw)
06/29/06 - 09:56:34 -   File "/usr/local/PyMSNt-0.9.5/src/legacy/msnw.py",
line 710, in wait
06/29/06 - 09:56:34 -     self.switchboardSession.userLeft(userHandle)
06/29/06 - 09:56:34 - exceptions.AttributeError: 'NoneType' object has no
attribute 'userLeft'



==========================================--------------------


06/29/06 - 11:10:06 - SwitchboardSession: "[EMAIL PROTECTED]" "
[EMAIL PROTECTED]" "resourcename" created
06/29/06 - 11:10:06 - Traceback (most recent call last):
06/29/06 - 11:10:06 -   File "/usr/local/PyMSNt-0.9.5/src/tlib/msn.py", line
1020, in handle_REA
06/29/06 - 11:10:06 -     self._fireCallback(id, int(params[1]),
unquote(params[3]))
06/29/06 - 11:10:06 -   File "/usr/local/PyMSNt-0.9.5/src/tlib/msn.py", line
586, in _fireCallback
06/29/06 - 11:10:06 -     self.ids[id][0].callback(args)
06/29/06 - 11:10:06 -   File
"/usr/local/lib/python2.4/site-packages/twisted/internet/defer.py", line
252, in callback
06/29/06 - 11:10:06 -     self._startRunCallbacks(result)
06/29/06 - 11:10:06 -   File
"/usr/local/lib/python2.4/site-packages/twisted/internet/defer.py", line
313, in _startRunCallbacks
06/29/06 - 11:10:06 -     self._runCallbacks()
06/29/06 - 11:10:06 - --- <exception caught here> ---
06/29/06 - 11:10:06 -   File
"/usr/local/lib/python2.4/site-packages/twisted/internet/defer.py", line
338, in _runCallbacks
06/29/06 - 11:10:06 -     self.result = callback(self.result, *args, **kw)
06/29/06 - 11:10:06 -   File "/usr/local/PyMSNt-0.9.5/src/tlib/msn.py", line
1632, in _cb
06/29/06 - 11:10:06 -     if(self.factory.contacts):
self.factory.contacts.version = r[0]
06/29/06 - 11:10:06 - exceptions.AttributeError: 'NoneType' object has no
attribute 'contacts'

-------

-David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://modevia.com/pipermail/py-transports/attachments/20060629/4078399f/attachment.html
From [EMAIL PROTECTED]  Fri Jun 30 07:12:09 2006
From: [EMAIL PROTECTED] (David E Freitas)
Date: Fri Jun 30 07:12:14 2006
Subject: [py-transports] TCP Traceback - openSSL
Message-ID: <[EMAIL PROTECTED]>

Hi,

This traceback was the last thing before the gateway crashed/stopped
responding:


06/29/06 - 08:30:18 - RegisterManager: getRegInfo("[EMAIL PROTECTED]")
- not registered!
06/30/06 - 03:14:39 - Traceback (most recent call last):
06/30/06 - 03:14:39 -   File
"/usr/local/lib/python2.4/site-packages/twisted/python/log.py", line 65, in
callWithLogger
06/30/06 - 03:14:39 -     callWithContext({"system": lp}, func, *args, **kw)
06/30/06 - 03:14:39 -   File
"/usr/local/lib/python2.4/site-packages/twisted/python/log.py", line 52, in
callWithContext
06/30/06 - 03:14:39 -     return context.call({ILogContext: newCtx}, func,
*args, **kw)
06/30/06 - 03:14:39 -   File
"/usr/local/lib/python2.4/site-packages/twisted/python/context.py", line 43,
in callWithContext
06/30/06 - 03:14:39 -     return func(*args,**kw)
06/30/06 - 03:14:39 -   File
"/usr/local/lib/python2.4/site-packages/twisted/internet/kqreactor.py", line
183, in _doWriteOrRead
06/30/06 - 03:14:39 -     why = selectable.doRead()
06/30/06 - 03:14:39 - --- <exception caught here> ---
06/30/06 - 03:14:39 -   File
"/usr/local/lib/python2.4/site-packages/twisted/internet/tcp.py", line 98,
in doRead
06/30/06 - 03:14:39 -     return Connection.doRead(self)
06/30/06 - 03:14:39 -   File
"/usr/local/lib/python2.4/site-packages/twisted/internet/tcp.py", line 239,
in doRead
06/30/06 - 03:14:39 -     data = self.socket.recv(self.bufferSize)
06/30/06 - 03:14:39 - OpenSSL.SSL.SysCallError: (54, 'Connection reset by
peer')


Thanks,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://modevia.com/pipermail/py-transports/attachments/20060630/6ce44cb4/attachment.htm
From [EMAIL PROTECTED]  Fri Jun 30 12:52:05 2006
From: [EMAIL PROTECTED] (David E Freitas)
Date: Fri Jun 30 12:52:09 2006
Subject: [py-transports] tracebacks - pyMSNt 0.11a
Message-ID: <[EMAIL PROTECTED]>

Hi,

More TraceBacks:

pymsnt-0.11a
twisted 2.4


[2006-06-30 11:32:58] Stopping factory
<tlib.msn.msn.DispatchFactoryinstance at 0x013449B8>
[2006-06-30 11:33:09] Traceback (most recent call last):
   File "PyMSNt.py", line 12, in ?
     main.main()
   File "C:\Documents and Settings\username\My Documents\pyMSN\pymsnt-
0.11\src\main.py", line 382, in main
     reactor.run()
   File "c:\Python24\lib\site-packages\twisted\internet\posixbase.py", line
218, in run
     self.mainLoop()
   File "c:\Python24\lib\site-packages\twisted\internet\posixbase.py", line
226, in mainLoop
     self.runUntilCurrent()
 --- <exception caught here> ---
   File "c:\Python24\lib\site-packages\twisted\internet\base.py", line 555,
in runUntilCurrent
     call.func(*call.args, **call.kw)
   File "C:\Documents and Settings\username\My Documents\pyMSN\pymsnt-
0.11\src\tlib\msn\msnw.py", line 54, in timeout
     d.errback()
   File "c:\Python24\lib\site-packages\twisted\internet\defer.py", line 249,
in errback
     fail = failure.Failure(fail)
   File "c:\Python24\lib\site-packages\twisted\python\failure.py", line 114,
in __init__
     raise NoCurrentExceptionError()
 twisted.python.failure.NoCurrentExceptionError:


---------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://modevia.com/pipermail/py-transports/attachments/20060630/a0c8151b/attachment.html
From [EMAIL PROTECTED]  Fri Jun 30 13:05:13 2006
From: [EMAIL PROTECTED] (Norman Rasmussen)
Date: Fri Jun 30 13:05:18 2006
Subject: [py-transports] tracebacks - pyMSNt 0.11a
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

I got this is r177:

[2006-06-30 02:11:37] Traceback (most recent call last):
          File "src/main.py", line 396, in main
            reactor.run()
          File "/usr/lib/python2.3/site-packages/twisted/internet/posixbase.py",
line 218, in run
            self.mainLoop()
          File "/usr/lib/python2.3/site-packages/twisted/internet/posixbase.py",
line 229, in mainLoop
            self.doIteration(t)
          File 
"/usr/lib/python2.3/site-packages/twisted/internet/pollreactor.py",
line 144, in doPoll
            log.callWithLogger(selectable, _drdw, selectable, fd,
event, POLLIN, POLLOUT, log)
        --- <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 649, in connectionLost
            self.timeout.cancel()
          File "/usr/lib/python2.3/site-packages/twisted/internet/base.py",
line 78, in cancel
            raise error.AlreadyCalled
        twisted.internet.error.AlreadyCalled: Tried to cancel an
already-called event.


-- 
- Norman Rasmussen
 - Email: [EMAIL PROTECTED]
 - Home page: http://norman.rasmussen.co.za/
From [EMAIL PROTECTED]  Thu Jun 22 13:11:47 2006
From: [EMAIL PROTECTED] (David E Freitas)
Date: Wed Jul 12 14:40:29 2006
Subject: [py-transports] PyMSNt - disabling sub-sync
Message-ID: <[EMAIL PROTECTED]>

Greetings,

Thank you for pyMSNt!

I would like to know what the correct way to disable roster-subsync would
be?
Shouldn't there be a option that can be set that can disable subsync for
those who do not want the facility?


Sincerely,


David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://modevia.com/pipermail/py-transports/attachments/20060622/d9612c63/attachment.html
From [EMAIL PROTECTED]  Fri Jun 30 12:50:52 2006
From: [EMAIL PROTECTED] (David E Freitas)
Date: Wed Jul 12 14:40:31 2006
Subject: [py-transports] Traceback - PyMSNt 0.11
Message-ID: <[EMAIL PROTECTED]>

Hi,

More TraceBacks:

pymsnt-0.11a
twisted 2.4


[2006-06-30 11:32:58] Stopping factory
<tlib.msn.msn.DispatchFactoryinstance at 0x013449B8>
[2006-06-30 11:33:09] Traceback (most recent call last):
   File "PyMSNt.py", line 12, in ?
     main.main()
   File "C:\Documents and Settings\username\My Documents\pyMSN\pymsnt-
0.11\src\main.py", line 382, in main
     reactor.run()
   File "c:\Python24\lib\site-packages\twisted\internet\posixbase.py", line
218, in run
     self.mainLoop()
   File "c:\Python24\lib\site-packages\twisted\internet\posixbase.py", line
226, in mainLoop
     self.runUntilCurrent()
 --- <exception caught here> ---
   File "c:\Python24\lib\site-packages\twisted\internet\base.py", line 555,
in runUntilCurrent
     call.func(*call.args, **call.kw)
   File "C:\Documents and Settings\username\My Documents\pyMSN\pymsnt-
0.11\src\tlib\msn\msnw.py", line 54, in timeout
     d.errback()
   File "c:\Python24\lib\site-packages\twisted\internet\defer.py", line 249,
in errback
     fail = failure.Failure(fail)
   File "c:\Python24\lib\site-packages\twisted\python\failure.py", line 114,
in __init__
     raise NoCurrentExceptionError()
 twisted.python.failure.NoCurrentExceptionError:


---------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://modevia.com/pipermail/py-transports/attachments/20060630/b09eef88/attachment.htm

Reply via email to