Hi there, I recently upgraded Kubuntu to 13.04 and it lost kjots fully. I have even tried to migrate the notes using kjotsmigrator but it didn't help. Its showing a pop up warning each time i access Kjots / run kjotsmigrator "Local Notes: Unknown resource". So i access my Kjots it will load only below 3 things Local Notes Local Notes (don't know why it has 2 instance of Local Notes) akonadi_akonotes_resource_0 :( I have lost all my details i have saved so far though i have the files in my backend. 68M /home/XXX/.kde/share/apps/kjots Reproducible: Always Steps to Reproduce: 1.On Kubundu 13.04 2 Open Kjots 4.10.5 3.it will display "Local Notes: Unknown resource" and won't load the notes. Actual Results: it will display "Local Notes: Unknown resource" and won't load the notes. Expected Results: it should be loading my notes as it should be FYI $ akonadiserver --version Akonadi 1.9.1 $ kjots -v Qt: 4.8.4 KDE Development Platform: 4.10.5 KJots: 4.10.5
I have been waiting for *years*, since Fedora 16 came out, for kjots migration to be fixed. I have a *very large number* of entries in my Fedora 15 .book files which I am both loathe to lose and reluctant enough to rekey that I am *still* running F15 on my primary system. If kjots has been completely abandoned then it would be best if someone had the courage to simply say so. The book files are simple XML. How bloody difficult can it be to import that data? 'kjotsmigrator --interactive' does see the .book file if I put it in the right place and akonadi seems in the mood to see it, and it even claims to complete the migration. But all it *ever* does is create a uselessly named subdirectory containing the three empty directories /cur, /new, and /tmp. Every time kjotsmigrator is run it creates another set of the same thing. The migration.log -- dating now on one system from Fedora 16 onward to Fedora 19 -- shows dozens and dozens of entries where migration claims to have completed, with the target book file either mentioned or ignored depending upon some variables I have not been able to nail down. They look like this: [Wed Oct 30 16:50:20 2013] Info : Starting migration... |----<repeating prefix omitted>-----| : Beginning KJots migration... : Creating instance of type akonadi_akonotes_resource : Created local notes resource. : Instance "akonadi_akonotes_resource_35" synchronized <-- number incremented by 1 per run : New resource is rooted at Collection(62) <--number incremented by 2 per run : Migrating "myfilename.book"... <--this line may not appear in any given run : Opened file: /home/username/.kde/share/apps/kjots/myfilename.book <--this line may not appear : KJots notes migration finished : Migration finished. Akonadi Configuration dialog will show as many 'Local Notes' entries as you are willing to let it create before deleting the useless lot of them. None of them contain any data. Kjots will show each of these useless empty 'Local Notes' entries until you delete them. Fedora 15: $ kjots -v Qt: 4.7.4 KDE Development Platform: 4.7.4 (4.7.4) KJots: 4.7.4 $ akonadiserver --version Akonadi 1.6.2 Fedora 19: $ kjots -v Qt: 4.8.5 KDE Development Platform: 4.11.2 KJots: 4.11.2 $ akonadiserver --version Akonadi 1.10.9
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!
At risk of violating some rule, I am pasting an IRC conversation snippet showing how I finally resolved the kjots .book file import problem, years later, on 20 February 2018. This was to migrate a version of the .book file stored on a Fedora 21 system to a Fedora 27 system. I don't remember how I managed to migrate from Fedora 15 to (eventually) Fedora 21. The trick to migrate from F21 to F27 was to install akonadiconsole, which is not an easy package to find, and which eluded all my attempts to search for anything related to kjots. So, apparently, the import issue has been solved. It *may* be necessary to copy the old-version-to-be-imported subtree to the new system in order to be able to navigate to it using the akonadiconsole GUI (with 'show hidden files' enabled). <argonel> maybe so.. dnf install akonadiconsole <Acrophosist> Okay, I do now. Nice of them to let me know what the name is ;-) <Acrophosist> I mean, I searched that <Acrophosist> Good grief. It's under 'Development' category <argonel> oh you're using a gui tool of some kind? <Acrophosist> This is probably what I needed. It even has kjots and Notes categories <Acrophosist> Well, yeah, the akonadiconsole, now <argonel> well, maybe you can use it directly dunno <argonel> because i don't know what i'm doing i'm just having you repeat what i did :) <Acrophosist> argonel: Marry me! ;-) <Acrophosist> It *worked* <argonel> lol cool! <Acrophosist> I have been trying to get this done for... geez. Years! <argonel> what did you do in akonadiconsole to actually get it to load the data? <Acrophosist> I literally ( and I use that term in its most literal sense ) cannot thank you enough <Acrophosist> Navigated to the copy of the directory containing the F21 book that I had pasted into ~/.local/share/notes/.aPAZXfDvf4c.directory/<nameofbook> and the console said it was a valid maildir, so I clicked go and it did it <argonel> Acrophosist: navigated how? <Acrophosist> Specifically, in akonadiconsole, selected Agents/kjots, Configure, Configure Natively, Maildir, (navigated to ~/.local dir abovementioned), clicked OK, done <Acrophosist> There's a browse button at the end of the location bar <Acrophosist> You have to right-click to select 'show hidden folders' and then drill down again <jankusanagi_> \o/ <Acrophosist> ^ whs <argonel> you have a kjots agent? <Acrophosist> It's listed in the akonadiconsole gui <Acrophosist> Both kjots and Notes ... which helps clear up some conflation from previous versions <argonel> ok weird, i don't have kjots <Acrophosist> When you find the directory containing valid data .. I still don't know if it will read .book files but I will check tomorrow and report back .. it will tell you 'The selected path contains valid Maildir folders.' <Acrophosist> You might need to install kjots separately, or depending upon distro, some package that contains kjots in the PIM packages <argonel> this sort of thing is where akonadi gets its reputation. i *have* kjots, and with data in it :) <Acrophosist> # dnf list | grep -i kjots ... kjots.x86_64 5.0.2-7.fc27 @updates
Thanks for the update!