When you start knotes the first time after upgrading to 4.13 (or remove knotes-migratorrc), it migrates the old notes to akonadi. This works fine now, but instead of starting afterwards, it just quits. Konsole output: Reproducible: Always Steps to Reproduce: 1. remove knotes-migratorrc to force the notes migration 2. run knotes 3. choose "Migrate now" in the dialog that appears Actual Results: The notes are migrated successfully, but knotes just quits with the following message: m_agentInstance.identifier() : "akonadi_akonotes_resource_5" And after a while this appears in addition: knotes(10492)/libakonadi Akonadi::EntityTreeModelPrivate::firstFetchJobDone: "Unknown error." Expected Results: knotes shout start and show its icon in the system tray after the successful migration. If I start knotes again afterwards, it works fine. This only happens when the migrator runs.
That's the full output after enabling all akonadi related debug output in kdebugdialog: knotes(11113)/libakonadi Akonadi::Firstrun::Firstrun: knotes(11113)/libakonadi Akonadi::Firstrun::Firstrun: () knotes(11113)/kdeui (KNotification) KNotificationManager::notificationClosed: 179 knotes(11113) KNoteUtils::migrateToAkonadi: Performing Akonadi migration. Good luck! knotesmigrator(11118)/libakonadi Akonadi::Firstrun::Firstrun: knotesmigrator(11118)/libakonadi Akonadi::Firstrun::Firstrun: D-Bus lock found, so someone else does the work for us already. knotesmigrator(11118)/libakonadi Akonadi::Control::start: Server is already running knotesmigrator(11118)/libakonadi Akonadi::Firstrun::~Firstrun: done knotesmigrator(11118)/kdepimlibs (kcal) KCal::ICalFormat::load: "/home/wolfi/.kde4/share/apps/knotes/notes.ics" m_agentInstance.identifier() : "akonadi_akonotes_resource_6" knotesmigrator(11118)/libakonadi Akonadi::SessionPrivate::init: "" knotesmigrator(11118)/libakonadi Akonadi::SessionPrivate::reconnect: connectToServer "/tmp/akonadi-wolfi.lrq3N3/akonadiserver.socket" knotesmigrator(11118)/libakonadi Akonadi::SessionPrivate::dataReceived: Server protocol version is: 37 knotesmigrator(11118)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file "/usr/share/kde4/apps/akonadi/plugins/serializer/akonadi_serializer_contactgroup.desktop" for ("application/x-vnd.kde.contactgroup") @ ("legacy", "default", "KABC::ContactGroup") knotesmigrator(11118)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file "/usr/share/kde4/apps/akonadi/plugins/serializer/akonadi_serializer_bookmark.desktop" for ("application/x-xbel") @ ("legacy", "default", "KBookmark") knotesmigrator(11118)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file "/usr/share/kde4/apps/akonadi/plugins/serializer/akonadi_serializer_mail.desktop" for ("message/rfc822", "message/news", "text/x-vnd.akonadi.note") @ ("legacy", "default", "KMime::Message*") knotesmigrator(11118)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file "/usr/share/kde4/apps/akonadi/plugins/serializer/akonadi_serializer_socialnotification.desktop" for ("text/x-vnd.akonadi.socialnotification") @ ("KFbAPI::NotificationInfo") knotesmigrator(11118)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file "/usr/share/kde4/apps/akonadi/plugins/serializer/akonadi_serializer_socialfeeditem.desktop" for ("text/x-vnd.akonadi.socialfeeditem") @ ("Akonadi::SocialFeedItem") knotesmigrator(11118)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file "/usr/share/kde4/apps/akonadi/plugins/serializer/akonadi_serializer_kcal.desktop" for ("text/calendar", "application/x-vnd.akonadi.note", "application/x-vnd.kde.notes") @ ("legacy", "KCal::Incidence*") knotesmigrator(11118)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file "/usr/share/kde4/apps/akonadi/plugins/serializer/akonadi_serializer_kcalcore.desktop" for ("text/calendar", "application/x-vnd.akonadi.note", "application/x-vnd.kde.notes") @ ("default", "KCalCore::Incidence*") knotesmigrator(11118)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file "/usr/share/kde4/apps/akonadi/plugins/serializer/akonadi_serializer_addressee.desktop" for ("text/vcard", "text/directory") @ ("legacy", "default", "KABC::Addressee") knotesmigrator(11118)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file "/usr/share/kde4/apps/akonadi/plugins/serializer/akonadi_serializer_microblog.desktop" for ("application/x-vnd.kde.microblog") @ ("legacy", "default", "Microblog::StatusItem") knotesmigrator(11118)/libkdepim Akonadi::PluginLoader::scan: registering Desktop file "/usr/share/kde4/apps/akonadi/plugins/serializer/akonadi_serializer_kalarm.desktop" for ("application/x-vnd.kde.alarm", "application/x-vnd.kde.alarm.active", "application/x-vnd.kde.alarm.archived", "application/x-vnd.kde.alarm.template") @ ("default", "KAlarmCal::KAEvent") knotesmigrator(11118)/libakonadi Akonadi::PluginRegistry::PluginRegistry: ItemSerializerPluginLoader: found 46 plugins. knotes(11113) KNoteUtils::migrateToAkonadi: Akonadi migration has been successful knotes(11113)/libakonadi Akonadi::SessionPrivate::init: "KNotes Session" knotes(11113)/libakonadi Akonadi::SessionPrivate::reconnect: connectToServer "/tmp/akonadi-wolfi.lrq3N3/akonadiserver.socket" knotes(11113)/libakonadi Akonadi::SessionPrivate::init: "" knotes(11113)/libakonadi Akonadi::SessionPrivate::reconnect: connectToServer "/tmp/akonadi-wolfi.lrq3N3/akonadiserver.socket" knotes(11113)/kdeui (KNotification) KStatusNotifierItemDBus::KStatusNotifierItemDBus: service is "org.kde.StatusNotifierItem-11113-1" knotes(11113)/kdeui (KNotification) KStatusNotifierItemPrivate::registerToDaemon: Registering a client interface to the KStatusNotifierWatcher knotes(11113)/libakonadi Akonadi::Firstrun::~Firstrun: done knotes(11113)/libakonadi Akonadi::EntityTreeModelPrivate::startFirstListJob: GEN true false true knotes(11113)/libakonadi Akonadi::SessionPrivate::dataReceived: Server protocol version is: 37 knotes(11113)/libakonadi Akonadi::SessionPrivate::dataReceived: Server protocol version is: 37 knotes(11113)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig: wolfi@amiga:~> knotes(11113)/libakonadi Akonadi::EntityTreeModelPrivate::firstFetchJobDone: "Unknown error."
Dear Bug Submitter, This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond. Thank you for helping us make KDE software even better for everyone!
AFAICT, current knotes does not migrate notes from before 4.13 at all anymore. So this bug report is no longer relevant as such I suppose...
FTR, these are the commits that removed the migration: https://cgit.kde.org/kdepim.git/commit/?id=2ca7061850e7ffe4696486e4b3994f0afcb8b620 https://cgit.kde.org/kdepim-runtime.git/commit/?id=d6209cc300ed7f506b5a49c4df5672eeb3bb482b