item in local outbox: rev3, SEEN flag, size 1656, valid remoteid, no attributes
item in imap sent-mail: rev2, SEEN flag, SENT flag, size 870, no remoteid, has attributes
- Feed Queries
- All Stories
- Search
- Feed Search
- Transactions
- Transaction Logs
Apr 1 2016
Mar 31 2016
We just reproduced the problem on a local system (and that's the first time that I've seen that). The mail has been sent though, and simply reappeared in the outbox without attributes.
I confirmed that the affected items don't have any attributes at all in the database. Trying to send the item again worked flawlessly, so the question is how those items ended up in the outbox without any of the necessary attributes.
Mar 30 2016
This problem could be a race condition (the mysql server is external, not on the local machine).
Mar 29 2016
It now reacts to changes within the same process.
Mar 16 2016
Mar 15 2016
Account switching still doesn't properly update the view...
Mar 14 2016
The only possible solution is to install into a prefix. So for every distribution that is on kf5, we'll install everything into /opt/kde4/
It was suggested that the problem was created by mass moving mail to the folder.
There is a general problem that kf5 and non-kf5 versions are not co-installable (so the same probably applies to kdepimlibs and akonadi probably).
Can't reproduce.
We have a workaround in kdepimlibs that fixes the attribute if the name is an exact match. It's not clear how we ended up in this situation in the first place.
That was a false alarm I think (can't reproduce the problem).
Mar 10 2016
Mar 8 2016
In the process monitor we can see that a single akonadi_control process tries to start 4 akonadiserver instances in quick succession (~2s in between). This is probably because the akonadiserver repeatedly crashes for some reason.
[652] QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
[652] kontact(652) class OrgKdeKLauncherInterface *__cdecl KToolInvocation::klauncher(void):
[652] kontact(652)/kdecore (kdelibs) class OrgKdeKLauncherInterface *__cdecl KToolInvocation::klauncher(void): klauncher not running... launching kdeinit
[652] kontact(652) void __cdecl KToolInvocation::startKdeinit(void):
[652] kontact(652) void __cdecl KToolInvocation::startKdeinit(void): Starting "C:/Program Files (x86)/Kontact E14/bin/kdeinit4.EXE" ()
[4024] QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
[652] kontact(652)/kdecore (KSycoca) bool __thiscall KSycocaPrivate::openDatabase(bool): Trying to open ksycoca from "C:/Users/kolab/AppData/Roaming/.kontact/cache-KOLAB-TEST-PC/ksycoca4"
[652] kontact(652)/kontact (core) void __thiscall Kontact::MainWindow::loadPlugins(void): Loading Plugin: "Mail"
[652] kontact(652)/kontact (core) void __thiscall Kontact::MainWindow::loadPlugins(void): LIBNAMEPART: "kmailpart"
[652] kontact(652)/kontact (core) void __thiscall Kontact::MainWindow::loadPlugins(void): Loading Plugin: "Calendar"
[652] kontact(652)/kontact (core) void __thiscall Kontact::MainWindow::loadPlugins(void): LIBNAMEPART: "korganizerpart"
[652] kontact(652)/kontact (core) void __thiscall Kontact::MainWindow::loadPlugins(void): Loading Plugin: "Notes"
[652] kontact(652)/kontact (core) void __thiscall Kontact::MainWindow::loadPlugins(void): LIBNAMEPART: "zanshin-notes_part"
[652] kontact(652)/kontact (core) void __thiscall Kontact::MainWindow::loadPlugins(void): Loading Plugin: "Todo Lists"
[652] kontact(652)/kontact (core) void __thiscall Kontact::MainWindow::loadPlugins(void): LIBNAMEPART: "zanshin-tasks_part"
[652] kontact(652)/kontact (core) void __thiscall Kontact::MainWindow::loadPlugins(void): Loading Plugin: "Special Dates"
[652] kontact(652)/kontact (core) void __thiscall Kontact::MainWindow::loadPlugins(void): LIBNAMEPART: ""
[652] kontact(652)/kontact (core) void __thiscall Kontact::MainWindow::loadPlugins(void): Loading Plugin: "Contacts"
[652] kontact(652)/kontact (core) void __thiscall Kontact::MainWindow::loadPlugins(void): LIBNAMEPART: "kaddressbookpart"
[652] kontact(652)/kontact (core) void __thiscall Kontact::MainWindow::loadPlugins(void): Loading Plugin: "Summary"
[652] kontact(652)/kontact (core) void __thiscall Kontact::MainWindow::loadPlugins(void): LIBNAMEPART: ""
[652] kontact(652)/kontact (core) void __thiscall Kontact::MainWindow::addPlugin(class KontactInterface::Plugin *):
[652] kontact(652)/kontact (core) void __thiscall Kontact::MainWindow::loadPlugins(void): "Plugging New actions" "new_mail"
[652] kontact(652)/kontact (core) void __thiscall Kontact::MainWindow::addPlugin(class KontactInterface::Plugin *):
[652] kontact(652)/kontact (core) void __thiscall Kontact::MainWindow::loadPlugins(void): "Plugging New actions" "new_contact"
[652] kontact(652)/kontact (core) void __thiscall Kontact::MainWindow::loadPlugins(void): "Plugging New actions" "new_contactgroup"
[652] kontact(652)/kontact (core) void __thiscall Kontact::MainWindow::addPlugin(class KontactInterface::Plugin *):
[652] kontact(652)/kontact (core) void __thiscall Kontact::MainWindow::addPlugin(class KontactInterface::Plugin *):
[652] kontact(652)/kontact (core) void __thiscall Kontact::MainWindow::loadPlugins(void): "Plugging New actions" "new_event"
[652] kontact(652)/kontact (core) void __thiscall Kontact::MainWindow::addPlugin(class KontactInterface::Plugin *):
[652] kontact(652)/kontact (core) void __thiscall Kontact::MainWindow::addPlugin(class KontactInterface::Plugin *):
[652] kontact(652)/kontact (core) void __thiscall Kontact::MainWindow::addPlugin(class KontactInterface::Plugin *):
[652] kontact(652)/kutils (KSettings::Dispatcher) void __cdecl KSettings::Dispatcher::registerComponent(const class KComponentData &,class QObject *,const char *): "kontact"
[652] kontact(652)/kontact (interfaces) class KParts::ReadOnlyPart *__thiscall KontactInterface::Core::createPart(const char *): kmailpart
[652] kontact(652)/kontact (interfaces) class KParts::ReadOnlyPart *__thiscall KontactInterface::Core::createPart(const char *): Creating new KPart
[652] kontact(652)/kontact (interfaces) class KParts::ReadOnlyPart *__thiscall KontactInterface::Core::createPart(const char *): "C:/Program Files (x86)/Kontact E14/lib/kde4/kmailpart.dll"
[652] kontact(652) __thiscall KMailPart::KMailPart(class QWidget *,class QObject *,const class QList<class QVariant> &): InstanceName: "kontact"
[652] kontact(652) __thiscall KMailPart::KMailPart(class QWidget *,class QObject *,const class QList<class QVariant> &): InstanceName: "kontact"
[4024] kded(4024)/kdecore (KSycoca) bool __thiscall KSycocaPrivate::openDatabase(bool): Trying to open ksycoca from "C:/Users/kolab/AppData/Roaming/.kontact/cache-KOLAB-TEST-PC/ksycoca4"
[4024] QWindowsFileSystemWatcherEngine: unknown message '
[4024] QWindowsFileSystemWatcherEngine: unknown message '
[4024] QWindowsFileSystemWatcherEngine: unknown message '
[4024] QWindowsFileSystemWatcherEngine: unknown message '
[4024] QWindowsFileSystemWatcherEngine: unknown message '
[652] kontact(652) __thiscall KMKernel::KMKernel(class QObject *): Starting up...
[4024] QWindowsFileSystemWatcherEngine: unknown message '
[4024] QWindowsFileSystemWatcherEngine: unknown message '
[652] kontact(652)/libakonadi void __thiscall Akonadi::SessionPrivate::init(const class QByteArray &): "KMail Kernel ETM"
[652] kontact(652)/libakonadi bool __cdecl Akonadi::ServerManager::start(void): executing akonadi_control
[4024] QWindowsFileSystemWatcherEngine: unknown message '
[4024] QWindowsFileSystemWatcherEngine: unknown message '
[652] kontact(652)/libakonadi void __thiscall Akonadi::AgentManagerPrivate::createDBusInterface(void): AgentManager failed to get a valid AgentManager DBus interface. Error is: 1 "org.freedesktop.DBus.Error.NameHasNoOwner" "Could not get owner of name 'org.freedesktop.Akonadi.Control': no such name"
[652] kontact(652)/libakonadi void __thiscall Akonadi::SessionPrivate::reconnect(void): connectToServer "Akonadi-S-1-5-21-355159466-2866521284-3243934370-1000"
[652] kontact(652)/libakonadi void __thiscall Akonadi::SessionPrivate::socketError(enum QLocalSocket::LocalSocketError): Socket error occurred: "QLocalSocket::connectToServer: Invalid name"
[652] kontact(652)/libakonadi void __thiscall Akonadi::SessionPrivate::init(const class QByteArray &): ""
[652] kontact(652)/libakonadi void __thiscall Akonadi::SessionPrivate::reconnect(void): connectToServer "Akonadi-S-1-5-21-355159466-2866521284-3243934370-1000"
[652] kontact(652)/libakonadi void __thiscall Akonadi::SessionPrivate::socketError(enum QLocalSocket::LocalSocketError): Socket error occurred: "QLocalSocket::connectToServer: Invalid name"
[652] kontact(652)/kdepimlibs (mailtransport) void __thiscall MailTransport::TransportManagerPrivate::fillTypes(void): Have SMTP, Sendmail, and 0 Akonadi types.
[652] kontact(652)/kdepimlibs (mailtransport) __thiscall MailTransport::Transport::Transport(const class QString &): "31906"
[652] kontact(652)/kdepimlibs (mailtransport) void __thiscall MailTransport::Transport::usrReadConfig(void): type 0
[652] kontact(652)/kdepimlibs (mailtransport) void __thiscall MailTransport::TransportManager::loadPasswordsAsync(void):
[4024] kded(4024)/kded4 class KDEDModule *__thiscall Kded::loadModule(const class KSharedPtr<class KService> &,bool): Successfully loaded module "winstartmenu"
[652] kontact(652) class OrgKdeKLauncherInterface *__cdecl KToolInvocation::klauncher(void):
[3764] Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
[652] kontact(652)/kdeui (Wallet) class OrgKdeKWalletInterface &__thiscall KWallet::KWalletDLauncher::getInterface(void): The kwalletd service has been registered
[652] kontact(652) class KPIMIdentities::IdentityManager *__thiscall KMKernel::identityManager(void):
[652] kontact(652)/libakonadi enum Akonadi::ServerManager::State __cdecl Akonadi::ServerManager::state(void): Akonadi server is already starting up
[652] kontact(652) void __thiscall KMKernel::init(void): KMail init with akonadi server state: 1
[652] kontact(652)/libakonadi enum Akonadi::ServerManager::State __cdecl Akonadi::ServerManager::state(void): Akonadi server is already starting up
[652] kontact(652)/libakonadi enum Akonadi::ServerManager::State __cdecl Akonadi::ServerManager::state(void): Akonadi server is already starting up
[652] kontact(652)/libakonadi enum Akonadi::ServerManager::State __cdecl Akonadi::ServerManager::state(void): Akonadi server is already starting up
[652] kontact(652) __thiscall MessageList::StorageModel::StorageModel(class QAbstractItemModel *,class QItemSelectionModel *,class QObject *): Using model: Akonadi::EntityTreeModel
[652] kontact(652)/libakonadi enum Akonadi::ServerManager::State __cdecl Akonadi::ServerManager::state(void): Akonadi server is already starting up
[652] kontact(652) void __thiscall KDirWatch::removeDir(const class QString &): doesn't know "C:/Users/kolab/AppData/Roaming/.kontact/share/apps/messageviewer/themes/"
[652] kontact(652) void __thiscall KDirWatch::removeDir(const class QString &): doesn't know "C:/Program Files (x86)/Kontact E14/share/apps/messageviewer/themes/"
[652] kontact(652)/libakonadi enum Akonadi::ServerManager::State __cdecl Akonadi::ServerManager::state(void): Akonadi server is already starting up
[652] kontact(652)/libakonadi enum Akonadi::ServerManager::State __cdecl Akonadi::ServerManager::state(void): Akonadi server is already starting up
[4024] kded(4024)/kded4 class KDEDModule *__thiscall Kded::loadModule(const class KSharedPtr<class KService> &,bool): Successfully loaded module "ktimezoned"
[652] kontact(652)/kdecore (K*TimeZone*) class KSystemTimeZonesPrivate *__cdecl KSystemTimeZonesPrivate::instance(void): instance(): ... initialised
[652] kontact(652)/kdecore (K*TimeZone*) void __cdecl KSystemTimeZonesPrivate::readConfig(bool): readConfig(): local zone= "Europe/Berlin"
[652] OFFSET AT ZONE TIME
[652] Found keyname: "W. Europe Standard Time" with keypath: 0x47ebe58 for zone: "Europe/Berlin" , or in Windows: "W. Europe Standard Time"
[652] original time in zone time: QDateTime("Tue 8. Mar 18:01:28 2016")
[652] Converted to system time: QDateTime("Tue 8. Mar 17:01:28 2016")
[652] isDST false
[652] effective offset 3600
[652] secondOffset 0x41cff0
[652] plus 1 QDateTime("Tue 8. Mar 18:01:28 2016")
[652] minus 1 QDateTime("Tue 8. Mar 16:01:28 2016")
[652] zone plus 1 QDateTime("Tue 8. Mar 19:01:28 2016")
[652] zone minus 1 QDateTime("Tue 8. Mar 17:01:28 2016")
[652] utcconverted QDateTime("Tue 8. Mar 18:01:28 2016")
[652] result 3600 second 3600
[652] kontact(652) class QDateTime __thiscall KDateTimePrivate::toUtc(const class KTimeZone &) const: toUtc(): calculated -> QDateTime("Tue 8. Mar 17:01:28 2016")
[652] OFFSET AT ZONE TIME
[652] original time in zone time: QDateTime("Tue 8. Mar 19:01:28 2016")
[652] Converted to system time: QDateTime("Tue 8. Mar 18:01:28 2016")
[652] isDST false
[652] effective offset 3600
[652] secondOffset 0x0
[652] kontact(652)/libakonadi enum Akonadi::ServerManager::State __cdecl Akonadi::ServerManager::state(void): Akonadi server is already starting up
[652] kontact(652)/kdecore (trader) class QList<class KSharedPtr<class KService> > __thiscall KMimeTypeTrader::query(const class QString &,const class QString &,const class QString &) const: query for mimeType "application/pdf" , "KParts/ReadOnlyPart" : returning 0 offers
[652] kontact(652)/libakonadi enum Akonadi::ServerManager::State __cdecl Akonadi::ServerManager::state(void): Akonadi server is already starting up
[652] kontact(652)/kutils (KSettings::Dispatcher) void __cdecl KSettings::Dispatcher::registerComponent(const class KComponentData &,class QObject *,const char *): "kmail2"
[652] kontact(652)/kontact (core) void __thiscall Kontact::MainWindow::slotActivePartChanged(class KParts::Part *): "Part activated:" KMailPart(0x41327a0) "with stack id." 1
[652] kontact(652) void __thiscall KMailPart::guiActivateEvent(class KParts::GUIActivateEvent *):
[652] kontact(652)/libakonadi enum Akonadi::ServerManager::State __cdecl Akonadi::ServerManager::state(void): Akonadi server is already starting up
[652] kontact(652)/libakonadi enum Akonadi::ServerManager::State __cdecl Akonadi::ServerManager::state(void): Akonadi server is already starting up
[652] kontact(652) void __thiscall KMailPart::guiActivateEvent(class KParts::GUIActivateEvent *):
[652] kontact(652) void __thiscall KMailPart::guiActivateEvent(class KParts::GUIActivateEvent *):
[652] kontact(652) void __thiscall KMailPart::guiActivateEvent(class KParts::GUIActivateEvent *):
[652] kontact(652) void __thiscall KMailPart::guiActivateEvent(class KParts::GUIActivateEvent *):
[652] kontact(652) void __thiscall KMailPart::guiActivateEvent(class KParts::GUIActivateEvent *):
[652] kontact(652) void __thiscall KMailPart::guiActivateEvent(class KParts::GUIActivateEvent *):
[3780] QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
[652] kontact(652) void __thiscall MessageList::Core::View::resizeEvent(class QResizeEvent *): Resize event enter (viewport width is 239 )
[652] kontact(652) void __thiscall MessageList::Core::View::resizeEvent(class QResizeEvent *): Resize event enter (viewport width is 779 )
[652] kontact(652) void __thiscall MessageList::Core::View::resizeEvent(class QResizeEvent *): Resize event enter (viewport width is 785 )
[652] kontact(652)/libkdepim void __cdecl KPIM::ReminderClient::startDaemon(void): Couldn't find autostart/korgac.desktop!
[652] QDBusConnection: name 'org.kde.kwalletd' had owner '' but we thought it was ':1.9'
[652] kontact(652)/libakonadi void __thiscall Akonadi::EntityTreeModelPrivate::startFirstListJob(void): GEN true false false
[652] kontact(652)/libakonadi enum Akonadi::ServerManager::State __cdecl Akonadi::ServerManager::state(void): Akonadi server is already starting up
[652] kontact(652)/libakonadi void __thiscall Akonadi::EntityTreeModelPrivate::startFirstListJob(void): GEN true false true
[652] kontact(652)/libakonadi void __thiscall Akonadi::EntityTreeModelPrivate::startFirstListJob(void): GEN true false true
[652] kontact(652)/libakonadi void __thiscall Akonadi::EntityTreeModelPrivate::startFirstListJob(void): GEN true false true
[652] kontact(652)/libakonadi enum Akonadi::ServerManager::State __cdecl Akonadi::ServerManager::state(void): Akonadi server is already starting up
[3780] knotify(3780)/kdecore (KSycoca) bool __thiscall KSycocaPrivate::openDatabase(bool): Trying to open ksycoca from "C:/Users/kolab/AppData/Roaming/.kontact/cache-KOLAB-TEST-PC/ksycoca4"
[652] kontact(652) void __thiscall MessageList::Core::View::resizeEvent(class QResizeEvent *): Resize event enter (viewport width is 785 )
[652] kontact(652)/libakonadi enum Akonadi::ServerManager::State __cdecl Akonadi::ServerManager::state(void): Akonadi server is already starting up
[3764] ProcessControl: Application 'akonadiserver' returned with exit code 1 (Unknown error)
[3764] ProcessControl: Application 'akonadiserver' returned with exit code 1 (Unknown error)
[3764] ProcessControl: Application 'akonadiserver' returned with exit code 1 (Unknown error)
[3764] ProcessControl: Application 'akonadiserver' returned with exit code 1 (Unknown error)
[3764] "akonadiserver" crashed too often and will not be restarted!
[652] kontact(652)/libakonadi void __thiscall Akonadi::EntityTreeModelPrivate::collectionFetchJobDone(class KJob *): Job error: "Unknown error." for collection: ()
[652]
[652] kontact(652)/libakonadi void __thiscall Akonadi::EntityTreeModelPrivate::collectionFetchJobDone(class KJob *): Job error: "Unknown error." for collection: ()
[652]
[652] kontact(652) void __thiscall MessageList::Widget::slotTagsFetched(class KJob *): Failed to load tags "Unknown error."
[652] kontact(652) void __thiscall MailCommon::FilterManager::slotFinishedTagListing(class KJob *): failed to retrieve tags "Unknown error."
[652] kontact(652) void __thiscall KMail::TagActionManager::finishedTagListing(class KJob *): "Unknown error."
[652] kontact(652)/libakonadi void __thiscall Akonadi::EntityTreeModelPrivate::collectionFetchJobDone(class KJob *): Job error: "Unknown error." for collection: ()
[652]
[652] kontact(652)/libakonadi void __thiscall Akonadi::EntityTreeModelPrivate::collectionFetchJobDone(class KJob *): Job error: "Unknown error." for collection: ()
[652]
[652] kontact(652)/libakonadi void __thiscall Akonadi::EntityTreeModelPrivate::collectionFetchJobDone(class KJob *): Job error: "Unknown error." for collection: ()
[652]
[652] kontact(652) void __thiscall KMKernel::akonadiStateChanged(enum Akonadi::ServerManager::State): KMKernel has akonadi state changed to: 4
[652] kontact(652)/libakonadi void __thiscall Akonadi::Control::Private::serverStateChanged(enum Akonadi::ServerManager::State): 4What seems to work reliably to reproduce the problem is:
- Have an existing akonadi db
- reinstall kontact
- start kontact
Of course accounts can be of various granularity:
- there might be vanilla smtp or ldap accounts, that provide nothing else and require full configuration
- there might be a kolab account that comes with imap, smtp, ldap
- there might be a generic imap account that comes with imap and smtp.
- there might be a jmap account that provides everything but communications only over jmap
SMTP should be in Sink because:
- Access is backend specific
- smtp might be replaced with another mailtransport protocol (and the client shouldn't care). E.g. JMAP has a mechanism to send mail
- the sent mail folder is with the resource as well
- mailtransport may move to the server
- The outbox needs to be persistent, and browsable similarly to a folder
LDAP Should be in Sink because:
- Access is backend specific
- It provides contacts in addressbooks (just like a regular addressbooks), so we should have one query API.
- The configuration for ldap belongs to the same service.
Mar 7 2016
Fixed in kdepimlibs 4.13.0.9
Also reproducible on linux when using kontact and waiting for the message to arrive first.
The problem is probably with events automatically being added to the calendar (by wallace). MemoryCalendar::rawIncidences() yields a result, yet the event can't be found in mItemIdByUniqueInstanceIdentifier.
Akonadi::CalendarBasePrivate::item(const class QString &) const: Can't find any incidence with uid "22B992D0634043024F14DBC43D09B8CAD5-B49BE4C6D5B60918"
This means we are looking for the event B992D0634043024F14DBC43D09B8CAD5-B49BE4C6D5B60918 in storage collection 22, but apparently can't find it.
This has been fixed by not listening to the status but for the synchronizationCompleted signal. The script probably aborted prematurely.
This has been fixed by not listening to the status but for the synchronizationCompleted signal.
libkolabxml has been enhanced to detect invalid creation dates. Also, kolab-format has been enhanced to not write out objects that had an error during conversion.
The full message looks like this:
An event has been transformed with empty created date: