Bug 337585 - folders do not get populated after initial fetch.
Summary: folders do not get populated after initial fetch.
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Gmail resource (show other bugs)
Version: GIT (master)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Daniel Vrátil
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-18 15:37 UTC by Luis Silva
Modified: 2016-04-11 21:41 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
console debug output (6.07 KB, text/plain)
2014-07-23 12:44 UTC, Jacopo De Simoi
Details
akonadi console debug output (85.97 KB, text/plain)
2014-07-23 12:46 UTC, Jacopo De Simoi
Details
akonadi output (86.84 KB, text/plain)
2014-07-23 18:37 UTC, Luis Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luis Silva 2014-07-18 15:37:14 UTC
I am compiling the whole kdepim from source (master). This includes akonadi, libkgapi, kdepimlibs, kdepim, kdepim-runtime, etc.

After fetching the "All mail" folder only the spam and bin folders get populated. All other folders are shown in both kmail and akonadiconsole but are empty. I get new mail notifications so the emails are being fetched alright but folders never get linked to tags after the initial fetch. There is also no way to manually triger the linking job.
Comment 1 Daniel Vrátil 2014-07-22 13:29:10 UTC
Please enable "akonadi_gmail_resource*" and "kimap" in kdebugdialog, restart Akonadi from terminal (akonadictl restart) and try to reproduce, then please provide the output from Akonadi - there might be some useful information as to why the linking has failed.
Comment 2 Jacopo De Simoi 2014-07-23 12:44:21 UTC
Created attachment 87899 [details]
console debug output
Comment 3 Jacopo De Simoi 2014-07-23 12:46:45 UTC
Created attachment 87900 [details]
akonadi console debug output
Comment 4 Jacopo De Simoi 2014-07-23 16:00:15 UTC
(my previous message got somehow deleted)
I can reproduce: only the Trash folder is populated and other ones are empty.
Comment 5 Luis Silva 2014-07-23 18:37:15 UTC
Created attachment 87907 [details]
akonadi output

Here is the console output.
Note that I deleted a few of the lines containing things like
akonadi_gmail_resource_9(26417)/kdepimlibs (kimap) RetrieveCollectionMetadataTask::doStart: "/NPower"
as they contained personal information.
I also deleted references to other resources for clarity.

The output corresponds to a clean insertion of the resource, that is, I removed any gmail resource I had, restarted akonadi, ran 'akonadictl fsck; akonadictl vacuum'. Then I restarted akonadi again, at which point this log starts, fired kmail and added the resource. I used only the default values. The resource was added, performed an initial fetch and was marked as offline in kmail. I had to manually trigger a fetch from kmail in order for all the folders and the resource to go online. Not all the folders were fetched on the first attempt and not all of the folders were mentioned in the second fetch.
Comment 6 Luis Silva 2016-04-11 21:41:48 UTC
This bug no longer happens in current master.