well, as far as I know, $proxy is just the name of the object that does the
transport, so it could be
ProxyDirect (for direct connections) or ProxyHTTP.. but it's a good bet here to
check your proxy settings, maybe
you need to use a proxy and you only got one account configured for it...
now, I realized by reading a forum post that the login screen might have a
'bug', now I have even more proof..
here's the thing, two possibilities for the authInit to return -1 :
if using direct connect or socks :
1 - you don't have tls installed, in which case the autoupdate will pop up the
'install tls screen' before
returning -1
2 - we can't register the https protocol to the http package.. this could be
either because you don't have the
'http' package, or you have a very old version.. (but we ship it ourselves
already, no ? ) or because it never
got 'package required', or the require failed, maybe because 'conflicting
versions'
now, if you use an http proxy, or the msn http gateway :
1 - the same tls thing..
2 - the same https register thing
3 - we fail to get the login url from the nexus.passport.com thing.. (mainly,
if we fail to resolve the
hostname, since it's async)
so.. you could try on the console to type 'package require tls' to see if it
works, then try 'package require
http' to see if it works.. then maybe add 'puts' everywhere in authInit of
proxy.tcl (two places, ProxyDirect is
for socks and direct, ProxyHTTP for http proxies) to see what makes it fail...
now, the 'bug' I told you about on the login screen is this :
what if we get disconnected ? shouldn't it show "reconnecting" ? I don't think
it does.. in the same spirit,
without the login screen, you would have seen the reconnecting screen showing
you 'proxy error :$res' so you
could know what the error is.. but with the login screen.. it doesn't!
there are too many difficulties here, I think the best thing to do is find a
better way to implement this...
just the way to show/hide the login screen.
and btw, about the mac problem, making the login screen widget
destroyed/recreated each time? we can do it
without loosing our event hooks.. just make the methods as 'typemethod's then
register the event as LoginScreen
loggedIn, instead of $self LoggedIn...
hope it helps
KaKaRoTo
On Tue, Mar 13, 2007 at 11:52:37AM +0000, [EMAIL PROTECTED] wrote:
> On 11/03/07, Youness Alaoui <[EMAIL PROTECTED]> wrote:
> >
> >Hello, I can't reproduce.. from what I noticed, the CloseSB and ClearSB
> >and whatever are called when the user is
> >inactive (when testing amsn2, I saw those outputs whenever a failed CHG
> >AWY was on the protocol log), maybe the
> >idle event handler has a defect ?
>
>
> Well, I did some testing, and it doesn't log in because ::MSN::connect
> returns -1, which means it's hitting this block of code:
>
> #Call the pre authentication
> set proxy [ns cget -proxy]
> if { [$proxy authInit] < 0 } {
> return -1
> }
>
> so is it something wrong with my proxy? This problem did only appear after I
> came to University, I never used a proxy at home and it worked fine... with
> the old login screen, amsn used to try and login but after a while on the
> conection screen it froze. Now it just goes straigfht back to the login
> screen
>
>
>
> [snip]
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Amsn-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/amsn-devel
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Amsn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amsn-devel