Login failure as of 13 Dec 2007

Bug #175973 reported by Samir Nagheenanajar
46
This bug affects 2 people
Affects Status Importance Assigned to Milestone
checkgmail (Ubuntu)
Fix Released
Medium
Emmet Hikory

Bug Description

Binary package hint: checkgmail

Reproduce:

1. Log into gmail via a web browser. Works. Log out
2. Start checkgmail
3. Enter the same details
4. Error: 401 Unauthorised

checkgmail -v output:

I've edited (in case of private information). If you need a complete dump, I'll create a throw away account.

Initialisation complete
Logging in to Gmail ...

New login method: manually following redirect address http://www.google.com.au/accounts/SetSID?ssdc\0...m ...

Saved cookie: SID
D...Q

Saved cookie: GAUSR
mail:<email address hidden>

Saved cookie: LSID
mail|s.AU:D...w

Saved cookie: GoogleAccountsLocale_session
en_AU

Error: 401 Unauthorised

Revision history for this message
Samir Nagheenanajar (nagheenanajarsnagheenanajar) wrote :

BTW, happens with an up to date Gutsy and an up to date Feisty.

Revision history for this message
Cedric Schieli (cschieli) wrote :

Same here with two up to date Hardy

Revision history for this message
Peter Cherriman (pjcherriman) wrote :

I'm getting the same problem on gutsy from this morning also.

Revision history for this message
Peter Cherriman (pjcherriman) wrote :

Partial Solution:

Running with the -no_cookies option, allow you to login, but you can't see the subjects of messages anymore, just if you have mail.

e.g. "checkgmail -no_cookies"

I guess google have tightened the security on their use of cookies on the gmail site.

Revision history for this message
Cedric Schieli (cschieli) wrote :

This patch did it for me

Revision history for this message
ChrisCauser (chy-causer) wrote :

Cedric, you are a legend.

Thank you.

Chris

Revision history for this message
dillonger (dillonger) wrote :

I have the same problem - and running the no cookies optioned work.
Sorry for the ignorance but how do you run patches like the above in Ubuntu ?

Changed in checkgmail:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Damien Cassou (cassou) wrote :

Hi dillonger,

the easiest thing is to download http://checkgmail.svn.sourceforge.net/viewvc/*checkout*/checkgmail/checkgmail, and replace /usr/bin/checkgmail by this file. You can do:

$ cd /tmp
$ wget http://checkgmail.svn.sourceforge.net/viewvc/*checkout*/checkgmail/checkgmail
$ sudo cp checkgmail /usr/bin

Revision history for this message
Gerard Hop (hoppies) wrote :

I have download the software and the checkgmail file is replaced. Checkgmail is starting up now correctly, i can logon, but......when I click on Shutdown, the program freezes.

Revision history for this message
Gerard Hop (hoppies) wrote :

Hello here I am again, in my comment above, I mean Shutdown of CheckGmail, not my computer.

Gerard H.

Revision history for this message
Oebele drijfhout (oebele.drijfhout) wrote :

Hi, I can confirm Damiens solution gives the same results as Gerard, eg. on shutdown of Checkgmail the program freezes. This is on a up-to-date xubuntu 7.10 system.

Revision history for this message
Oebele drijfhout (oebele.drijfhout) wrote :

btw Cedric's patch works perfectly for me

Revision history for this message
paumarc (paumarc) wrote :

if you look at console output it says that an error in a perl library occurs!!

the messatge is:

pau@esberro:~$ checkgmail
Warning: Gtk2::Sexy not found ...

CheckGmail uses Gtk2::Sexy for clickable URLs in mail messages
Please download and install from CPAN (http://search.cpan.org) if you want to use this feature ...

Parsing of undecoded UTF-8 will give garbage when decoding entities at /usr/share/perl5/LWP/Protocol.pm line 114.
Parsing of undecoded UTF-8 will give garbage when decoding entities at /usr/share/perl5/LWP/Protocol.pm line 114.

Revision history for this message
Brett Alton (brett-alton-deactivatedaccount) wrote :

I don't think this technically has to do with checkgmail. Gmail has changed it's backend so that all users who login go to the URL http://mail.google.com/mail/#inbox while the feeds are now found at http://mail.google.com/mail/feed/atom. Those are the URLs it needs to be updated to. I've made the developer aware of this problem, but quickly noticed that on Dec 13, he submitted his own patch. Maybe updating to that latest version in Feisty, Gusty and Hardy are in order.

Revision history for this message
Brett Alton (brett-alton-deactivatedaccount) wrote :

However, I can also confirm that Cedrick's patch works: https://bugs.launchpad.net/ubuntu/+source/checkgmail/+bug/175973/comments/5

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

Subscribing ~ubuntu-universe-sponsors as this has a patch attached.

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :
Revision history for this message
Emmet Hikory (persia) wrote :

I've unsubscribed ubuntu-universe-sponsors, as the patch is not in debdiff format. If someone could wrap the patch, or alternately grab a new upstream including the fix, please resubscribe ubuntu-universe-sponsors to request upload.

Revision history for this message
Cedric Schieli (cschieli) wrote :
Revision history for this message
Cedric Schieli (cschieli) wrote :

Here is the debdiff between hardy's version and mine

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

Looks sane to me, except that the version string should be 1.12+svn... instead of 1.12.1+svn, as 1.12.1+svn is greater than 1.12.1, which hasn't been released yet.

Revision history for this message
Emmet Hikory (persia) wrote :

Cedric, thanks for the debdiff. Emilio, thanks for the version catch: I'll s/+/~/ when sponsoring to ensure that 1.12.1 can override this.

Changed in checkgmail:
assignee: nobody → persia
status: Confirmed → In Progress
Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

BTW could you submit the patch upstream? I've done a quick look at the SF project and couldn't find it reported.

Revision history for this message
Emmet Hikory (persia) wrote :

Uploaded as checkgmail_1.12.1~svn20080102-0ubuntu1. Thanks.

Changed in checkgmail:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package checkgmail - 1.12.1~svn20080102-0ubuntu1

---------------
checkgmail (1.12.1~svn20080102-0ubuntu1) hardy; urgency=low

  * New upstream snapshot (LP: #175973)
  * debian/patches/permission-fix.dpatch: refreshed

 -- Cedric Schieli <email address hidden> Wed, 02 Jan 2008 11:50:38 +0100

Changed in checkgmail:
status: Fix Committed → Fix Released
Revision history for this message
Brett Alton (brett-alton-deactivatedaccount) wrote :

Has this fix been released to Gusty? https://launchpad.net/ubuntu/+source/checkgmail/1.12.1~svn20080102-0ubuntu1

Gutsy is still broken unless I run this patch: https://bugs.launchpad.net/ubuntu/+source/checkgmail/+bug/175973/comments/5

Up-to-date as of 2008-01-15

Revision history for this message
bloody (bloodynuker) wrote :

no new fix released ? my checkgmail is still no working.......

Revision history for this message
Vratislav Podzimek (vratislav-podzimek) wrote :

My checkgmail was working some time after installing it but it hasn't been working at least last two weaks.

Changed in checkgmail (Ubuntu):
status: Fix Released → Incomplete
Revision history for this message
Sonny (aadityabhatia) wrote :

Vratislav: This bug was fixed in early 2008. The current problem is being tracked in a separate bug (#433497) and has been fixed apparently.

https://bugs.launchpad.net/ubuntu/+source/checkgmail/+bug/433497

Changed in checkgmail (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.