You are not logged in.
Hi, since a few days checkgmail is not working anymore. It gives a ERROR 200 OK. Any ideas? (I'm using checkgmail from community, have also tried the AUR svn package with no success).
Last edited by rogorido (2013-01-19 15:50:43)
Offline
rogorido,
I am using checkgmail 1.13-7.
However for some reason I don't remember, I have to start it with:
checkgmail -no_cookies
Checkgmail depends on
perl-crypt-blowfish
perl-crypt-simple
perl-freezethaw
perl-gtk2-trayicon
perl-lwp-protocol-https
perl-xml-simple
perl-gtk2-sexy (optional)
Try reinstalling.
Mektub
Follow me on twitter: https://twitter.com/johnbina
Offline
exactly. With the option -no_cookies it's working again... maybe some change made by google?
Thnaks!
Offline
Something did change with GMail.
Re-installing and clearing config didn't help. Disabling cookies takes care of it.
--
JSkier
Offline
Without cookies, checkgmail is just another email notifier. No "Mark as read, Archive" etc.
Γίνε ρεαλιστής, μείνε ονειροπόλος ...
Offline
There is a proper solution in the comments for the bug report on SourceForge.
The brief summary of that is that you need to edit /usr/bin/checkgmail and replace https://www.google.com/accounts/ with https://accounts.google.com/, which should be three occurrences.
Offline
There is a proper solution in the comments for the bug report on SourceForge.
The brief summary of that is that you need to edit /usr/bin/checkgmail and replace https://www.google.com/accounts/ with https://accounts.google.com/, which should be three occurrences.
Solves problem. Thanks, jtaylor
Mektub
Follow me on twitter: https://twitter.com/johnbina
Offline
This solves really the problem. Thnaks.
Offline
jtaylor wrote:There is a proper solution in the comments for the bug report on SourceForge.
The brief summary of that is that you need to edit /usr/bin/checkgmail and replace https://www.google.com/accounts/ with https://accounts.google.com/, which should be three occurrences.
Solves problem. Thanks, jtaylor
Mektub
I'm trying to follow the advice on that page, but when I ran:
# patch checkgmail checkgmail.patch
I got:
# patching file checkgmail
Reversed (or previously applied) patch detected! Assume -R? [n]
I still have my console up and I haven't responded to the console prompt until I get some advice here.
Last edited by bpont (2013-04-18 13:58:22)
Offline
# patching file checkgmail
Reversed (or previously applied) patch detected! Assume -R? [n]
Why is this error appearing?
-R or --reverse
Assume that this patch was created with the old and new files swapped. (Yes, I'm afraid that does happen occasionally, human
nature being what it is.) patch attempts to swap each hunk around before applying it. Rejects come out in the swapped format.
The -R option does not work with ed diff scripts because there is too little information to reconstruct the reverse operation.If the first hunk of a patch fails, patch reverses the hunk to see if it can be applied that way. If it can, you are asked if you
want to have the -R option set. If it can't, the patch continues to be applied normally. (Note: this method cannot detect a
reversed patch if it is a normal diff and if the first command is an append (i.e. it should have been a delete) since appends
always succeed, due to the fact that a null context matches anywhere. Luckily, most patches add or change lines rather than
delete them, so most reversed normal diffs begin with a delete, which fails, triggering the heuristic.)
Assume that this patch was created with the old and new files swapped.
By this I'm assuming the -R switch thinks that it's dealing with a newer version of the executable in which the patch had already been applied versus a version of the executable in which the patch hadn't been applied?
(Yes, I'm afraid that does happen occasionally, human
nature being what it is.) patch attempts to swap each hunk around before applying it. Rejects come out in the swapped format.
I'm not really understanding what's being described here.
The -R option does not work with ed diff scripts because there is too little information to reconstruct the reverse operation.
OK
If the first hunk of a patch fails, patch reverses the hunk to see if it can be applied that way. If it can, you are asked if you
want to have the -R option set.
So I should assume this is exactly what happened and that's why I was prompted if I wanted to apply the -R switch? If so, since it reversed the first hunk and was applied successfully, should I assume that I have a version of the executable in which the patch was already applied?
If it can't, the patch continues to be applied normally. (Note: this method cannot detect a
reversed patch if it is a normal diff and if the first command is an append (i.e. it should have been a delete) since appends
always succeed, due to the fact that a null context matches anywhere. Luckily, most patches add or change lines rather than
delete them, so most reversed normal diffs begin with a delete, which fails, triggering the heuristic.)
I don't understand this part, but don't think it really applies to this particular issue.
Offline
checkgmail -no_cookies & in autostart or a shell alias will suffice, fixes it for me on 2 arch installs. the method above replacing 3x URL entries didnt work for me, the -no_cookies switch did.
Ancestoral Clan https://cirrus.freevar.com/mclean.html
Offline
Replacing URLs does work for me, while no_cookies destroys functionality of checkgmail.
Offline
Some additional information that's SORT OF related to this issue:
I use the "check Gmail" Bash script found here in the wiki: https://wiki.archlinux.org/index.php/Co … er_Methods I noticed it stopped working reliably around the time that this thread was created.
Thanks to the information in this thread, I tried changing the wget command by adding "--no-cookies" to it, and it seems to work better now. After I learn a bit more about the recent changes to Gmail and this situation, I'll update the wiki.
Offline
Speaking of checkgmail, I am really surprised no-one is developing or at least maintaining it since a long time, because this is by far and away THE BEST gmail notificator available for linux.
Offline
Speaking of checkgmail, I am really surprised no-one is developing or at least maintaining it since a long time, because this is by far and away THE BEST gmail notificator available for linux.
Oh my gosh... It hasn't had a code commit in three years?? I'm amazed that it still works!
As for my comment above, I just want to further clarify that I don't really know what I'm doing. I'm still looking into my problem. And now I'll stop hijacking this thread. Maybe.
Offline
I don't think this is officially solved because I just installled this program today and I am stuck with the -no-cookies option because the url change didn't fix the ERROR 200 OK issue for me. Anyone still working on or dealing with this? I'm using the version of checkgmail from the main repos, not AUR...
Help grow the dev population... have your tech trained and certified!
Offline
There is a proper solution in the comments for the bug report on SourceForge.
The brief summary of that is that you need to edit /usr/bin/checkgmail and replace https://www.google.com/accounts/ with https://accounts.google.com/, which should be three occurrences.
This helps for me.
Thanks,
Tomaqa
Offline
Hi,
If you want a checkgmail adapted to the colors of your desktop theme, you can visit Rcspam's Blog
This version correct some little bugs and you can launch it without adding "--no-cookies".
Last edited by rcspam (2014-10-14 15:29:05)
Offline
It is a pity the buttons to manage mail no longer work even with this version.
Offline
It is a pity the buttons to manage mail no longer work even with this version.
Apparently, it's possible to code this with 'imaplib' and 'email' python libraries but i have no time to learn it. If anyone could do it, he will be my undying gratitude
Last edited by rcspam (2014-10-01 11:43:48)
Offline
Hi, I think I got the buttons working again. There were - again - outdated urls in the script.
I'm not experienced in Perl scripts so I hope the simple url replacement is enough.
You can try and see if it works here:
https://aur.archlinux.org/packages/checkgmail-svn/
I also added a 2 factor auth patch which was floating around and seems to work fine for me
Last edited by monojp (2014-10-11 18:30:27)
Offline
Hi monojp
Good Job, peharps we can join your "button back again" version and my "themable" version in one
I had re-write the themable version based on your hack, the script is here
This version resolve the "icon background color setting" bug.
As i see your are a perl hacker, perhaps you can write a part to change colors directly in the preferences window. The variables are already in the beginning of the script (line ~230 )
Cheers
Last edited by rcspam (2014-10-14 16:01:40)
Offline
Hi, I think I got the buttons working again. There were - again - outdated urls in the script.
I'm not experienced in Perl scripts so I hope the simple url replacement is enough.You can try and see if it works here:
https://aur.archlinux.org/packages/checkgmail-svn/I also added a 2 factor auth patch which was floating around and seems to work fine for me
@monojp,
You have my great gratitude for taking over maintenance of this forgotten piece of irreplaceable software.
Offline
Does somebody of you want to takeover the modified checkgmail? I'm afraid I'm not using it anymore (chromium extensions work well and better..) It's currently on https://github.com/monojp/checkgmail
Apparently the official homepage and sourceforge still seem to exist and are delivering the old and broken version. A new, cleaner approach in Python or something more readable would be better I guess. I'm not experienced in Perl myself, but the source code of checkgmail is really not easy to maintain.
Offline