Livemail seems to have changed

Help
2009-02-14
2013-05-28
  • From this morning, Getlive can not log in. I have the message: "could not log in...." . My Livemail Thunderbird add-on is broken too. It seems cookie has changed with a new field UID...
    Please, what's the solution?

     
    • DGFansler
      DGFansler
      2009-02-14

      All accounts are failing with the following error message.

      GetLive died with message: 'Could not log in. Maybe structure has changes or was not
      foreseen. at /usr/local/src/getlive/GetLive line 733.'.

      Jos,

      You can use my account again if you do not have a failing account. You already have the email address and password.

      Darren

       
      • Jos De Laender
        Jos De Laender
        2009-02-14

        All my accounts are failing too. Debug material enough this time.
        I did have a fast first look and it looks more complicated then usual ..
        Someone hints ?
        What's this UID thingie that someone mentioned ?

        Jos

         
    • Jos De Laender
      Jos De Laender
      2009-02-14

      A few good cups of coffee further it seems that revision 1.48 on the CVS is solving all my problems and probably also yours :)

      Jos

      P.S. For photographers amongst you, a shameless plug to another project of mine : http://dlraw.sourceforge.net

       
    • Sorry, but your new script doesn't work for me.
      My message table is like this :

      <table class="Narrow InboxTable" cellspacing="0" cellpadding="0"><colgroup><col class="InboxTableCheckBoxCol"/><col class="InboxTableSentStateCol"/><col class="InboxTableHeaderCol"/></colgroup><tbody onclick="return Control.invoke('MessageList', '_onBodyClick', event);" ondblclick="return Control.invoke('MessageList', '_onDblClick', event);"><tr  class="InboxContentItemUnread" id="cc353c6d-26c6-4d61-8b60-59a1865e758d" msg="msg" mad="0|0|8CB5CB74ACC7310|" ><td class="CheckBoxCol" noOp="noOp"><input type="checkbox" name="msgChk"  title="Select message"/></td><td class="SentStateCol ImgCol"><img src="./clear.gif" class="i_new" alt="Unread"/></div></td><td class="HeaderCol"><div class="DateBox">1:31 PM</div><div class="FromBox">John Smith</div><div class="SubjectBox"><a href="javascript:;">test&#x200f;</a></div></td></tr></tbody></table>

      So, the script can not parse correctly the message table....
      Hope it can help you to debug

       
      • This code seemes to work with me to handle the new message table   I've just posted  before. I only focused on 200902 version. The "Frombox" Field is not available for 200810 version. It should be separated.

           if ($Mode =~ m/(200810)/) { $Column = 4; }
              for (my $Idx=0;$Idx<($Column-1);$Idx++) {
                $MessagesArea =~ m/<td(.*?)>(.*?)<\/td\s*>/i;
                $MessagesArea = $';
                $TdLine = $2;
              }
              my $From = "";
              if ($Mode =~ /200809/) {
                if ($TdLine !~ m/class=\&quot;(truncate)?from\&quot;>(<[^>]+>)?(.*?)<[^>]+>/si) {
                  die "Parse error for 'from'.";
                }
                $From = HtmlUnescape($3);
              } elsif ($Mode =~ /(200810|200902)/ ) {
                if ($MessagesArea !~ m/<div class=\&quot;FromBox\&quot;>(.*?)<\/div>/si) {
                  die "Parse error for 'from'.";
                }
                $From = HtmlUnescape($1);
              }
              Display("From '$From'.\n",MinVerbosity => 10);
              $MessagesFrom[$NrMessagesDetected] = $From;

              # Further to the subject column. There we pick up also the href of the message.
              if ($Mode =~ /200809/) {
                $MessagesArea =~ m/<td(.*?)>(.*?)<\/td\s*>/i;
                $MessagesArea = $';
                $TdLine = $2;
              } elsif ($Mode =~ /200810/) {
                $MessagesArea =~ m/<td class=\&quot;SubjectCol\&quot;>(.*?)<\/td\s*>/i;
                $MessagesArea = $';
                $TdLine = $1;
              } elsif ($Mode =~ /200902/) {
                $MessagesArea =~ m/<div class=\&quot;SubjectBox\&quot;>(.*?)<\/div\s*>/i;
                $MessagesArea = $';
                $TdLine = $1;
              }
              if ($TdLine !~ m/<a href=\&quot;(.*?)\&quot;\s*>(.*?)<\/a>/si) {
                    print "Tdline:$TdLine\n";
                  die "Parse error for 'subject'.";
              }

         
    • rolnxyz
      rolnxyz
      2009-02-15

      I got 2 changes in the last two weeks :this, and  the 1035 bug.

      I find out things don't work after I actually check my account via web, and I am suspicious I am not getting mail from an account...  I am trying to find a way to realize this earlier, because it takes me a while to find out something is wrong. Right now it is ok, but someday I will kill myself when I didn't read a very important e-mail because there was a new change, and I didn't realize on time.

      Is there any debian repo, so I can automatically get cvs updates?
      If there isn't do you know how can I update from cvs everyday?
      Is there any rss I can subscribe too, to find out about changes?

      Thanks, I hope somebody can give me a hand

       
    • Jos De Laender
      Jos De Laender
      2009-02-15

      @mybugaccount :

      I'm not sure I'm with you ... As far as I could understand there is the change that I made yesterday and is in revision 1.48.
      That change is orthogonal to the other ongoing changes, I mean you'll need the revision 1.48, but some of your accounts still will need Mode 200810  others will need 200902. Did you try with both settings ?

      Also,  you will need to make sure there is not again an 'introduction' page on your webmail.

      Cheers,

      Jos

       
      • Hi jdla,
        I have no introduction page. The revision 1.48 works fine with my account in 200902 mode, except the message table that seems to be quite different from yours. After some change in the code I have published in a previous message, it works great. But I don't understand why we have two different message tables. I have never seen mine before with the FromBox end SubjectBox fields. Don't you have this one?

         
    • Jos De Laender
      Jos De Laender
      2009-02-15

      @rolnxyz :

      First of all, I feel like it is worth to point to the usage of GetLive :

      GetLive $Revision: 1.48 $ Copyright (C)2007-2009 Jos De Laender.
      GetLive comes with ABSOLUTELY NO WARRANTY.
      This is free software, and you are welcome to redistribute it
      under certain conditions; see the file License for details.

      So you should not rely on it for anything critical.

      Having said that, I believe a subscription to this help forum might be the most useful. Mostly you find indications that something is going wrong and nearly always the release of a new CVS version is announced here too.

      Doing regular updates from CVS might be a good strategy indeed. A cron script with something along the lines of 'cvs update getlive' should probably do (after setting some dirs and environments).

      Finally, my response time is anything between 1 day and 2 months :)
      It tends to be at the short end if my accounts are failing, or if a user is making available his failing account for debug reasons (Darren's strategy for fast response).

      Cheers,

      Jos

       
    • Fig Wright
      Fig Wright
      2009-02-16

      Hi,
      With 1.48 my accounts are now working again with mode=200810 (but not with mode=200902) :-)

       
    • cca
      cca
      2009-02-16

      With 1.48 I get:

      GetLive $Revision: 1.48 $ Copyright (C)2007-2009 Jos De Laender.
      GetLive comes with ABSOLUTELY NO WARRANTY.
      This is free software, and you are welcome to redistribute it
      under certain conditions; see the file License for details.
      $Name:  $
      $Id: GetLive.pl,v 1.48 2009/02/14 19:34:13 jdla Exp $
      Running at Mon Feb 16 14:27:37 2009 for user ccav2000.
      Logging in.
      Got MainPage.

      Processing folder Inbox.
      Loading folder 'Inbox'.
      Use of uninitialized value in pattern match (m//) at /usr/local/bin/GetLive.pl line 1145.
      GetLive died with message: 'Parse error for 'subject'. at /usr/local/bin/GetLive.pl line 1146.

      mode is set at 200902 in config file

       
      • Jos De Laender
        Jos De Laender
        2009-02-16

        @Costas (is this your first name ?) :

        This behaviour seems typically for an account that still needs mode=200810.
        Please remember that the latest change was needed to log in again correctly but that it is independent of the ongoing 'mode' change. I.e. some accounts need 200810 , others already 200902.

        Hope this helps,

        Jos

         
    • cca
      cca
      2009-02-16

      It is my first name, yes :)

      If I change it to 200810, this is what happens:

      GetLive $Revision: 1.48 $ Copyright (C)2007-2009 Jos De Laender.
      GetLive comes with ABSOLUTELY NO WARRANTY.
      This is free software, and you are welcome to redistribute it
      under certain conditions; see the file License for details.
      $Name:  $
      $Id: GetLive.pl,v 1.48 2009/02/14 19:34:13 jdla Exp $
      Running at Mon Feb 16 18:02:46 2009 for user ccav2000.
      Logging in.
      GetLive died with message: 'Could not log in. Maybe structure has changed or was not foreseen. at /usr/local/bin/GetLive.pl line 740.

      With 200902 at least it was logging in.

       
      • Jos De Laender
        Jos De Laender
        2009-02-16

        Costas,

        Then I would think you need 200810 indeed, but you are still plagued by a 'welcome' page.
        Please go to the webmail interface and see there's no 'welcome' page.
        (For more detail : see the news items)

        Jos

         
        • cca
          cca
          2009-02-16

          Jos,

          You were right, but with a twist!
          Using Mozilla Firefox 3.0.6, that welcome page was NOT displayed, I was getting inbox directly after the initial login.
          So I though maybe I should use Internet Explorer ( which I hate! ). Guess what! A welcome page appeared...

          So all is well now with mode=200810. Damn that microsoft...

           
          • Jos De Laender
            Jos De Laender
            2009-02-16

            Glad you are helped. Weird behaviour indeed.
            For your reference,  GetLive is pretending to be : "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.5) Gecko/20061201 Firefox/2.0.0.5 (Ubuntu-feisty)\&quot;.
            You might want in future test having your browser (firefox) to announce itself like that to see the most corresponding behaviour.
            Jos

             
    • Fig Wright
      Fig Wright
      2009-02-17

      Wierd, my accounts cant seem to make up their mind whether they want mode=200902 or 200810! I set one to 200810 and it worked for a day but then broke again...

       
      • Jos De Laender
        Jos De Laender
        2009-02-17

        @fig :

        That's very weird indeed ! Are you sure about your observations ?

        That means :
          - you use the latest CVS.
          - you check there's no nag screen (btw , if I have somewhere spare time, I might get a solution for the nag screen too).
          - you check there's no reading pane (but I guess that's not the issue here).

        Under those circumstances I would expect that a single account works with 200810 until it fails and then starts working consistently with 200902.
        (I do not claim that all accounts change at the same time, so it really might be different account per account).

        If you're observations are right there's trouble ahead again ... I have many accounts and up to now not a single one is showing behaviour that is inconsistent with above.

        Let me know.

        Jos