On 5/2/06, Daniel Henninger <[EMAIL PROTECTED]> wrote:
> > Recently (in the last month or so) I've noticed that when I connect
> > with a second resource PyAIMt doesn't send me presence or anything.
> > Are the PyAIMt and PyICQt transports supposed to handle this?
>
> When you say it doesn't send you presence or anything, do you mean
> the jid of the transport itself, or all of your contacts, or what?

I don't get any presence stanzas for either the contacts or the transport.

> Yes, multiple resources are supposed to work.  =)
cool, so it's probably just my server then.

> > On a slightly different note: If the transport takes a really long
> > time (because of lots of swapping going on - load avg of ~10) to
> > connect to the aim/icq servers, what happens? would this fail
> > silently, or generate an error stanza (like PyMSNt does)?
>
> I haven't the slightest idea really.  It's nothing I've ever been
> able to reproduce so I haven't been able to throw in a patch to fix
> it.  =/

difficult to test :-) having no memory is an easy place to start. 
What about trying to run it under a vm with only 32mb of memory?

> > I think I might be having the same issues with PyAIMt that I was
> > having with PyMSNt before I extended the connect timeout from 30 to
> > 300 seconds.
>
> I must admit I wasn't really paying attention to that thread, can you
> give me a brief summary of what was going on?

My 'server' only has 64mb of memory, so the load average can climb to
over 10 easily.  Making a connection to the MSN server could take
longer than the transport was willing to wait - not because of
network, but because the python process didn't get enough CPU time to
actually do the work.  Extending the timeout has helped, because it
doesn't abort the connection before it's had time to complete.

--
- Norman Rasmussen
 - Email: [EMAIL PROTECTED]
 - Home page: http://norman.rasmussen.co.za/
From [EMAIL PROTECTED]  Tue May  2 09:53:32 2006
From: [EMAIL PROTECTED] (Norman Rasmussen)
Date: Tue May  2 09:53:37 2006
Subject: [py-transports] multiple resources with pyaimt
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

On 5/2/06, Daniel Henninger <[EMAIL PROTECTED]> wrote:
> When you say it doesn't send you presence or anything, do you mean
> the jid of the transport itself, or all of your contacts, or what?

I'm doing single instance stuff atm, still struggling to get me online.

I send <presence type="unavailable" to="aim.jabber.server" /> just to start.
Then I send <presence to="aim.jabber.server" />.

I little while later, I get a type="unavailable" presence storm from
all my aim contacts, and then a iq-disco#info for my client.

My client (Psi-0.9) responds with the #info, (id:client-pc, and
features:bytestreams, si, si/profile/file-transfer, muc).

Nothing happens after that.  I really need to start the transport in
debug mode and log to a file.  Remind me what the cmdline switch
is....

--
- Norman Rasmussen
 - Email: [EMAIL PROTECTED]
 - Home page: http://norman.rasmussen.co.za/
From [EMAIL PROTECTED]  Tue May  2 11:19:06 2006
From: [EMAIL PROTECTED] (Martin Filip)
Date: Tue May  2 11:19:25 2006
Subject: [py-transports] PyICQ-t and multiple subscription confirmations
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

Hi,

not requests, but "You are authorized" messages. In fact, I've got this
problem even on version 0.6. I'm going to send you log and xml dump onto
your private mail. 

thank you ;)

Daniel Henninger p??e v Po 01. 05. 2006 v 18:39 -0400:
> When you add a single client youget 4-8 subscription requests?   
> That's bizarre!  Anyone else seen this?  I can't think of any reason  
> why you should get that many.  Would you mind running in debug mode,  
> adding someone, and sending me a copy of the logs?  (you can add  
> 15755471, me, if you need someone to add)
> 
> Daniel
> 
> On May 1, 2006, at 11:14 AM, Martin Filip wrote:
> 
> > Hi,
> >
> > I've started using this cool family of transports on my personal  
> > jabber
> > server. But after few tests and hours of googling I've not found what
> > I've configured wrong:
> >
> > everything seems to work well, but when I add an ICQ contact, I  
> > recieve
> > many (usualy 4-8) subscription confirmations. It's really annoying.
> >
> > I'm using last stable release (0.7a)
> >
> > Do you have any hint, where to look for an answer?
> >
> > Thanks in advance.
> > Best regards,
> > -- 
> > Martin Filip
> > e-mail: [EMAIL PROTECTED]
> > ICQ#: 31531391
> > jabber: [EMAIL PROTECTED]
> > www: http://www.smoula.net
> >
> >
> > _______________________________________________
> > py-transports mailing list
> > [email protected]
> > http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
> 
> _______________________________________________
> py-transports mailing list
> [email protected]
> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
-- 
Martin Filip
e-mail: [EMAIL PROTECTED]
ICQ#: 31531391
jabber: [EMAIL PROTECTED]
www: http://www.smoula.net

 _______________________________________ 
/ BOFH Excuse #323: Your processor has  \
| processed too many instructions. Turn |
| it off immediately, do not type any   |
\ commands!!                            /
 --------------------------------------- 
       \   ,__,
        \  (oo)____
           (__)    )\
              ||--|| *

Reply via email to