Re: "Open Invitations" and akonadi_search_resource

Sandro Knauß <[email protected]>
Newsgroups gmane.comp.kde.devel.pim
Message-ID <6639054.IiNSWvU7uy@tuxin>
On Sonntag, 17. Juli 2022 16:45:30 CEST Carl Schwan wrote:
> Now it seems that something is not working correctly for me (and a few other
> people) as the internal tab in akonadiconsole is empty. (see attached
> screenshot) For me, the collection also appears empty in korganizer and I'm
> pretty sure I got a lot of invitations to work meetings (too many in my
> opinion).
> 
> I will try to debug this locally, now that I have some overview this might
> be easier ;)

It is also quite useful to ask the Xapian database directly what it knows 
about one Akonadi item. To know if the problem is the indexer or not.
If you know one Invitation, that should be listed:
you have to get the Akonadi ID and than you can query all terms via:

~/.local/share/akonadi/search_db/calendars -r 1234567

Term List for record #1234567: C8 L12043 Lberlin  Oorganizer Ode Omail 
[email protected] [email protected] Streffen Swilli

PS - means part status 
and 0 at the end means status Open

so the Open Invitation query needs to search for [email protected], otherwise 
this item won't be found.

For explanation of the prefixes:
https://invent.kde.org/pim/akonadi-search/-/blob/master/search/calendar/
calendarsearchstore.cpp

and here you see the indexing, whre one event if feeded to xapian.
https://invent.kde.org/pim/akonadi-search/-/blob/master/agent/
calendarindexer.cpp#L122

Maybe this heps you further to debug it on your side.

And than you should check if the query string for Open Invations have all you 
email addresses added, as this is only done if you start KOrganizer. Because 
the SearchCollectionHelper is responsible to create/update the query for all 
your mail addresses.

Regards,

Sandro
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEOewRoCAWtykmSRoG462wCFBgVjYFAmLVprEACgkQ462wCFBg
VjYcCg/+Ph7rmEjunK0wMjjomcdEH5/vNwqMDU6ZaNgJ5AoDv4aZxuWz+MLsd+0x
FPhW46bm+LPdvldUmJMoMD/PoBV3SbCfU/XffwJznwXelVG6VatPf5kVI9TPt2VU
UQl+i+IUnIM1j69hqh0HSr/1a/5hD7DriQ8Oda0Bjq1CllSzm3x4+wnoxHDgFsPZ
kDjmlpZZjojXPWR6hSjq3dOsShGraPGMUik+0Jb8Uovw7GphAbkwLehilOukdbHQ
/cN6yAo26ueP6M9ad9nPE5x+4/h/QUr5EMxQ12Ltt8X+guX/BB1I+Kx4lIkQ0YOQ
Oc/5lo/5tHA5VW6QrhoFxth2WkAORnRcKZcjOe5PtGjv3tcyescBiAjXgngF6/tM
9ASVzqSfu1pFDjgHq+Rv7n153W9lZgYz8Eky/i0JGMcuR3OQGfpnIt9gR+zTaz30
9HDoz3lu14qky1ydEzlYkeA0f9SSH5+ikRcUgFIB3MnqqT8mQHFaUM/VAzu+o+js
99fWO/Bo1UZ7Rh+E5FSwjaUeFo52GWdc+myz5W23EADnBxAhqThYkRPhfU0eTEnq
tKaVfGPT8OY6vmIQONcywsrMSJHZq+98U3vjbMWY5liBXBeO+I//aJKFt4eSoeLq
ou37xfJozKjx2keNwSekAeJOc99xL4rQnjGD0sKAYgNhlKWVLoo=
=ZleM
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.