[Bug 227282] New: migration fails if $KDEHOME/share/apps/knotes/notes.ics doesn't exist.

Christophe Giboudeaux cgiboudeaux at gmail.com
Tue Feb 16 21:36:12 GMT 2010


https://bugs.kde.org/show_bug.cgi?id=227282

           Summary: migration fails if
                    $KDEHOME/share/apps/knotes/notes.ics doesn't exist.
           Product: Akonadi
           Version: 4.5
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: Migration
        AssignedTo: vkrause at kde.org
        ReportedBy: cgiboudeaux at gmail.com
                CC: steveire at gmail.com, kdepim-bugs at kde.org


Created an attachment (id=40863)
 --> (http://bugs.kde.org/attachment.cgi?id=40863)
kres-migrator error window.

Using trunk (r1091072).

After running KJots, the migration tool successfully imported the books but
tries to migrate the notes in share/apps/knotes.

It fails and leaves an error window opened if there's no notes to migrate (ss
attached)

Log:


# kjots
Connecting to deprecated signal
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kjots(15475)/libakonadi Akonadi::Firstrun::Firstrun: ()
kjots(15475)/libakonadi Akonadi::Control::start: Server is already running
kjots(15475)/libakonadi Akonadi::SessionPrivate::init: ""
kjots(15475)/libakonadi Akonadi::SessionPrivate::reconnect: connectToServer
"/home/krop/.local/share/akonadi/akonadiserver.socket"
Object::connect: No such signal KJotsWidget::activeAnchorChanged(const QString
&, const QString &) in /kde/src/KDE/kdepim/kjots/KJotsMain.cpp:90
kjots(15475)/libakonadi Akonadi::Firstrun::~Firstrun: done
kjots(15475)/libakonadi Akonadi::SessionPrivate::dataReceived: Server protocol
version is: 23
kjots(15475) KJotsWidget::migrateNoteData: Performing Akonadi migration. Good
luck!
Connecting to deprecated signal
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kjotsmigrator(15478)/libakonadi Akonadi::Firstrun::Firstrun: ()
kjotsmigrator(15478)/libakonadi Akonadi::Control::start: Server is already
running
kjotsmigrator(15478)/libakonadi Akonadi::Firstrun::~Firstrun: done
kjotsmigrator(15478) InfoDialog::message: "Beginning KJots migration..."
kjotsmigrator(15478) InfoDialog::message: "Creating instance of type
akonadi_akonotes_resource"
kjotsmigrator(15478) InfoDialog::message: "Created local notes resource."
kjotsmigrator(15478) InfoDialog::message: "Instance
"akonadi_akonotes_resource_1" synchronized"
kjotsmigrator(15478)/libakonadi Akonadi::SessionPrivate::init: ""
kjotsmigrator(15478)/libakonadi Akonadi::SessionPrivate::reconnect:
connectToServer "/home/krop/.local/share/akonadi/akonadiserver.socket"
kjotsmigrator(15478)/libakonadi Akonadi::SessionPrivate::dataReceived: Server
protocol version is: 23
kjotsmigrator(15478) InfoDialog::message: "New resource is rooted at
Collection(13)"
kjotsmigrator(15478) InfoDialog::message: "Migrating "A16109.book"..."
kjotsmigrator(15478) InfoDialog::message: "Opened file:
/home/krop/.kde/share/apps/kjots//A16109.book"
kjotsmigrator(15478) EntityTreeCreateJob::collectionCreateJobDone: updating
items
kjotsmigrator(15478)/libakonadi Akonadi::PluginRegistry::PluginRegistry:
ItemSerializerPluginLoader:  found 10 plugins.
kjotsmigrator(15478)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to
open ksycoca from  "/var/tmp/kdecache-krop/ksycoca4"
kjotsmigrator(15478)/libakonadi Akonadi::ItemSerializer::pluginForMimeType: Did
not find exactly matching serializer plugin for type "text/x-vnd.akonadi.note"
, taking "message/rfc822" as the closest match
kjotsmigrator(15478) InfoDialog::message: "Migrating "AH6035.book"..."
kjotsmigrator(15478) InfoDialog::message: "Opened file:
/home/krop/.kde/share/apps/kjots//AH6035.book"
kjotsmigrator(15478) EntityTreeCreateJob::collectionCreateJobDone: updating
items
kjotsmigrator(15478) EntityTreeCreateJob::collectionCreateJobDone: updating
items
kjotsmigrator(15478) InfoDialog::message: "Migrating "B31245.book"..."
kjotsmigrator(15478) InfoDialog::message: "Opened file:
/home/krop/.kde/share/apps/kjots//B31245.book"
kjotsmigrator(15478) EntityTreeCreateJob::collectionCreateJobDone: updating
items
kjotsmigrator(15478) EntityTreeCreateJob::collectionCreateJobDone: updating
items
kjotsmigrator(15478) EntityTreeCreateJob::collectionCreateJobDone: updating
items
kjotsmigrator(15478) EntityTreeCreateJob::collectionCreateJobDone: updating
items
kjotsmigrator(15478) EntityTreeCreateJob::collectionCreateJobDone: updating
items
kjotsmigrator(15478) EntityTreeCreateJob::collectionCreateJobDone: updating
items
kjotsmigrator(15478) EntityTreeCreateJob::collectionCreateJobDone: updating
items
kjotsmigrator(15478) EntityTreeCreateJob::collectionCreateJobDone: updating
items
kjotsmigrator(15478) EntityTreeCreateJob::collectionCreateJobDone: updating
items
kjotsmigrator(15478) EntityTreeCreateJob::collectionCreateJobDone: updating
items
kjotsmigrator(15478) EntityTreeCreateJob::collectionCreateJobDone: updating
items
kjotsmigrator(15478) EntityTreeCreateJob::collectionCreateJobDone: updating
items
kjotsmigrator(15478) InfoDialog::message: "Migrating "dC6035.book"..."
kjotsmigrator(15478) InfoDialog::message: "Opened file:
/home/krop/.kde/share/apps/kjots//dC6035.book"
kjotsmigrator(15478) EntityTreeCreateJob::collectionCreateJobDone: updating
items
kjotsmigrator(15478) EntityTreeCreateJob::collectionCreateJobDone: updating
items
kjotsmigrator(15478) EntityTreeCreateJob::collectionCreateJobDone: updating
items
kjotsmigrator(15478) InfoDialog::message: "Migrating "G12528.book"..."
kjotsmigrator(15478) InfoDialog::message: "Opened file:
/home/krop/.kde/share/apps/kjots//G12528.book"
kjotsmigrator(15478) EntityTreeCreateJob::collectionCreateJobDone: updating
items
kjotsmigrator(15478) EntityTreeCreateJob::collectionCreateJobDone: updating
items
kjotsmigrator(15478) EntityTreeCreateJob::collectionCreateJobDone: updating
items
kjotsmigrator(15478) EntityTreeCreateJob::collectionCreateJobDone: updating
items
kjotsmigrator(15478) InfoDialog::message: "Migrating "G14908.book"..."
kjotsmigrator(15478) InfoDialog::message: "Opened file:
/home/krop/.kde/share/apps/kjots//G14908.book"
kjotsmigrator(15478) EntityTreeCreateJob::collectionCreateJobDone: updating
items
kjotsmigrator(15478) EntityTreeCreateJob::collectionCreateJobDone: updating
items
kjotsmigrator(15478) EntityTreeCreateJob::collectionCreateJobDone: updating
items
kjotsmigrator(15478) EntityTreeCreateJob::collectionCreateJobDone: updating
items
kjotsmigrator(15478) EntityTreeCreateJob::collectionCreateJobDone: updating
items
kjotsmigrator(15478) EntityTreeCreateJob::collectionCreateJobDone: updating
items
kjotsmigrator(15478) EntityTreeCreateJob::collectionCreateJobDone: updating
items
kjotsmigrator(15478) EntityTreeCreateJob::collectionCreateJobDone: updating
items
kjotsmigrator(15478) EntityTreeCreateJob::collectionCreateJobDone: updating
items
kjotsmigrator(15478) EntityTreeCreateJob::collectionCreateJobDone: updating
items
kjotsmigrator(15478) EntityTreeCreateJob::collectionCreateJobDone: updating
items
kjotsmigrator(15478) EntityTreeCreateJob::collectionCreateJobDone: updating
items
kjotsmigrator(15478) EntityTreeCreateJob::collectionCreateJobDone: updating
items
kjotsmigrator(15478) EntityTreeCreateJob::collectionCreateJobDone: updating
items
kjotsmigrator(15478) EntityTreeCreateJob::collectionCreateJobDone: updating
items
kjotsmigrator(15478) InfoDialog::message: "Migrating "j24177.book"..."
kjotsmigrator(15478) InfoDialog::message: "Opened file:
/home/krop/.kde/share/apps/kjots//j24177.book"
kjotsmigrator(15478) EntityTreeCreateJob::collectionCreateJobDone: updating
items
kjotsmigrator(15478) EntityTreeCreateJob::collectionCreateJobDone: updating
items
kjotsmigrator(15478) EntityTreeCreateJob::collectionCreateJobDone: updating
items
kjotsmigrator(15478) InfoDialog::message: "Migrating "k13741.book"..."
kjotsmigrator(15478) InfoDialog::message: "Opened file:
/home/krop/.kde/share/apps/kjots//k13741.book"
kjotsmigrator(15478) EntityTreeCreateJob::collectionCreateJobDone: updating
items
kjotsmigrator(15478) EntityTreeCreateJob::collectionCreateJobDone: updating
items
kjotsmigrator(15478) InfoDialog::message: "Migrating "Y24135.book"..."
kjotsmigrator(15478) InfoDialog::message: "Opened file:
/home/krop/.kde/share/apps/kjots//Y24135.book"
kjotsmigrator(15478) EntityTreeCreateJob::collectionCreateJobDone: updating
items
kjotsmigrator(15478) EntityTreeCreateJob::collectionCreateJobDone: updating
items
kjotsmigrator(15478) EntityTreeCreateJob::collectionCreateJobDone: updating
items
kjotsmigrator(15478) InfoDialog::message: "KJots notes migration finished"
kjots(15475) KJotsWidget::migrateNoteData: Akonadi migration has been
successful
kjots(15475) KJotsWidget::migrateNoteData: Performing Akonadi migration. Good
luck!
Connecting to deprecated signal
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kres-migrator(15484)/libakonadi Akonadi::Firstrun::Firstrun: ()
kres-migrator(15484)/libakonadi Akonadi::Control::start: Server is already
running
kres-migrator(15484)/libakonadi Akonadi::Firstrun::~Firstrun: done
kres-migrator(15484)/kresources KRES::Factory::self:
kres-migrator(15484)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to
open ksycoca from  "/var/tmp/kdecache-krop/ksycoca4"
kres-migrator(15484)/kresources KRES::Factory::self: Performing Akonadi
migration. Good luck!
<unknown program name>(15486)/ main: Migrator instance already running for type
 "notes" 
kres-migrator(15484)/kresources KRES::ManagerImpl::ManagerImpl:
kres-migrator(15484)/kresources KRES::ManagerImpl::readConfig:
kres-migrator(15484)/kresources KRES::Factory::self:
kres-migrator(15484)/kresources KRES::ManagerImpl::readResourceConfig:
"3NAcvYD8rY"
kres-migrator(15484)/kresources KRES::Factory::Private::resourceInternal: (
"file" , config )
kres-migrator(15484)/knotes ResourceLocal::ResourceLocal:
ResourceLocal::ResourceLocal()
kres-migrator(15484) InfoDialog::message: "Trying to migrate 'Notes'..."
kres-migrator(15484) InfoDialog::message: "Creating instance of type
akonadi_akonotes_resource"
<unknown program name>(15474)/: Communication problem with  "kjots" , it
probably crashed. 
Error message was:  "org.freedesktop.DBus.Error.NoReply" : " "Did not receive a
reply. Possible causes include: the remote application did not send a reply,
the message bus security policy blocked the reply, the reply timeout expired,
or the network connection was broken." " 

[1]    15474 exit 255   kjots
kres-migrator(15484)/kdepimlibs (kcal) KCal::ICalFormat::load:
"/home/krop/.kde/share/apps/knotes/notes.ics"
kres-migrator(15484)/kdepimlibs (kcal) KCal::ICalFormat::load: load error
kres-migrator(15484): "Migration of 'Notes' to native backend failed: Failed to
open file for reading: file:///home/krop/.kde/share/apps/knotes/notes.ics" 
kres-migrator(15484)/kresources KRES::ManagerImpl::~ManagerImpl:
kjots(15475): Akonadi migration failed! 
kjots(15475): command was:  ("/kde/inst/kdepim-runtime/bin/kres-migrator",
"--interactive-on-change", "--type", "notes") 
kjots(15475): exit code:  0 
kjots(15475): stdout:  "" 
kjots(15475): stderr:  ""

-- 
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.



More information about the Kdepim-bugs mailing list