Bug 288816 - After configuring Kmail - using Gmail.Error pop-up at the Rt.Lower corner stating "Google mail :Unknown error - unable to append item flags.
Summary: After configuring Kmail - using Gmail.Error pop-up at the Rt.Lower corner st...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 1.99.0
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-12 16:13 UTC by Dr.M.A.Siriwardena
Modified: 2017-01-07 22:19 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dr.M.A.Siriwardena 2011-12-12 16:13:15 UTC
Version:           1.99.0 (using KDE 4.7.3) 
OS:                Linux

The gmail folders do show up but unable to open any of them.
I was able to send an e-mail but will not receive any.
The error message continues to pop-up very often.
I tried using POP same issue.
I tied using Yahoo mail the same issue shows up.

Reproducible: Always

Steps to Reproduce:
configure gmail using account wizard or manually.

Actual Results:  
Error Message appears at the Rt hand lower corner stating :

"Google Mail:Unknown error - Unable to append item flags"

Expected Results:  
Expected to show my mail in the in-box and also be able to read them.
Also should have been able to read the contents of the other folders such as
Old Mail,Sent mail,mail that was stored in other folders.

OS: Linux (i686) release 3.0.0-14-generic
Compiler: gcc
Comment 1 Laurent Montel 2011-12-12 16:47:39 UTC
pop3 ? imap ?
Comment 2 Dr.M.A.Siriwardena 2011-12-14 16:29:58 UTC
Both IMAP and POP3

Dr.M.A.Siriwardena.

On Mon, Dec 12, 2011 at 11:47 AM, Laurent Montel <montel@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=288816
>
>
> Laurent Montel <montel@kde.org> changed:
>
>           What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>                 CC|                            |montel@kde.org
>
>
>
>
> --- Comment #1 from Laurent Montel <montel kde org>  2011-12-12 16:47:39
> ---
> pop3 ? imap ?
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug.
> You reported the bug.
>
Comment 3 bosyber 2011-12-30 16:00:38 UTC
I have the same problem - KDE 4.7.4 from the kubuntu ppa, with Kontact 4.7.3.

I have now set Kontact to log errors when retrieving mail to a file, hopefully that will give some more useful messages (or even a clear response kontact gets from the gmail imap server on what is failing?). Is there another way to get these messages to be a bit more verbose and useful for debugging? I have kdepim-dbg installed.
Comment 4 Unknown 2011-12-31 00:44:47 UTC
Seeing the same thing here. Gmail with IMAP over SSL/TLS. Each time KMail checks Gmail (which is 5 minutes), I receive one popup for each folder/label. On the first check, no folders contained messages. On the next check, one folder populated with messages. On some subsequent checks, another folder's messages appeared. There is no apparent consistency to this, however.

* Ubuntu Precise
* KDE installed from Precise repos (i.e., not Kubuntu)
* KMail 4.8 rc1
Comment 5 Unknown 2011-12-31 01:44:45 UTC
Followup... I disabled Akonadi Server, deleted the following files:

  ~/.local/share/akonadi/*
  ~/.kde/share/config/akonadi*
  ~/.config/akonadi/*

Then I restarted the server and allowed it to create its default set of files.

Next I opened KMail and recreated my Gmail settings. Last time, when I was encountering the problem reported in this bug, I had configured this IMAP server:

  imap.gmail.com

This time, I used the following server instead:

  imap.googlemail.com

KMail is now very happy with Gmail.
Comment 6 bosyber 2012-01-02 09:19:49 UTC
Steve's workaround led me to look at my akonadiserver configuration again too. Apparently my backup hadn't added the right config files, so I returned them to the correct config file ~/.config/akonadi/akonadiserverrc:
----
[%General]
Driver=QMYSQL

[QMYSQL]
Name=akonadi
Host=localhost
Options="MYSQL_OPT_RECONNECT=1"
ServerPath=/usr/sbin/mysqld
StartServer=false
<snip username,password>
----
This cured the issue for me.

However, given comment #5 by Steve, it might just be due to changing the configuration.

That's especially as he uses a default setting while I use the already running mysqld (the OPT_RECONNECT=1 to avoid errors with timouts) on my system now.

I tried returning to the previous configuration, but now my gmail imap folders are up to date, so the error doesn't return. I'd have to remove the current db, at least, but I don't have time to do that today.
Comment 7 Unknown 2012-01-03 04:05:34 UTC
Upon further experimentation, I'm convinced that starting with a fresh database is the key, not simply changing which IMAP server one uses.

However, I'm encountering other problems, and I can no longer say KMail is very happy with Gmail. Deleting messages, for instances, causes a variety of strange problems. I'll look for another bug or open a new one.
Comment 8 Unknown 2012-01-14 03:51:55 UTC
Gmail appears to be working much better with updated KMail 4.7.97.
Comment 9 Leon Maurer 2012-02-04 23:10:31 UTC
I was having similar problems in 4.8.0, but Steve's workaround seems to have made KMail happy -- at least for the moment...
Comment 10 Denis Kurz 2016-09-24 18:11:38 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 11 Denis Kurz 2017-01-07 22:19:57 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.