Bug 298755

Summary: Kjots not creating new pages or new book
Product: [Unmaintained] kjots Reporter: Nishanth <nishanthsshetty>
Component: generalAssignee: Stephen Kelly <steveire>
Status: RESOLVED WORKSFORME    
Severity: major CC: gabrielmarianogt, latyvel, lissa1301, lloncosky, mbriza, mystica, rod.jamieson, tomislav.adamic
Priority: NOR    
Version: 4.3.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Nishanth 2012-04-24 16:52:43 UTC
I have installed kjots on fedora16.
On launching kjots, the GUI comes up, but i am unable to create a new book or a new page. I have tried this with both GNOME as well as KDE, there is no difference. 
On running from the command line below is the error message i get:

$ /usr/bin/kjots
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Comment 1 Martin Bříza 2012-04-26 07:50:37 UTC
This bug was also reported by me in the Fedora Bugzilla here: https://bugzilla.redhat.com/show_bug.cgi?id=813255 for Fedora 17, but the issue remains the same.
Interesting fact is that in my Fedora 16 I'm running on my laptop, Kjots is perfectly fine.
I suppose there is a problem with kjotsmigrator tool (that starts on first run of Kjots) which is provided by kdepim-runtime package.
Comment 2 Martin Bříza 2012-04-26 08:00:24 UTC
I see there is a bug already opened for the migrator: https://bugs.kde.org/show_bug.cgi?id=297914 maybe even https://bugs.kde.org/show_bug.cgi?id=277378 but I'm not sure if it is related...
Comment 3 Gabriel 2012-04-29 19:03:02 UTC
I have the same problem, but I have opensuse 12.1-kde4.8.2 installed on a compaq mini cq10-a, for now it is impossible to create new notes or book. I hope this problem can be fixed soon.
Comment 4 Mike H 2012-06-26 17:34:22 UTC
I've experienced the same issue coming into a fresh KDE 4.8.3 install in Funtoo Linux.  Brand new install, and kjots never would work properly.. The migrator seems to do nothing, but of course, there is nothing to migrate being a fresh install.

I found a workaround while looking at the akonadiconsole.

Delete all "Local Notes" agent instances. 
Open kjots.
Click on the newly created "Local Notes" agent instance.
Click "Configure" > "configure remotely"\
Click "apply configuration"

This somehow smacks kjots around enough to be able to create its configuration structure/note storage pool.

All I can ask further, is what is wrong with Akonadi making it near impossible to start from scratch and expect things to work?
Comment 5 PK1 2012-07-06 08:42:51 UTC
It doesn't work on Linux Mint Xfce with KDE installed(I Use KDE)
Comment 6 Rod J 2012-07-24 07:03:26 UTC
Kjots doesn't work in Kubuntu 12.04 either.
Comment 7 Rod J 2012-08-07 11:57:57 UTC
I got Kjots working satisfactorily after getting a clue from Mike H's comment#4 above.

I had a look in the Akonadi Resources configuration tab, click on "Local Notes", click "Modify..." and I noticed that the path was wrong. It was: 

"/home/rod/.local/share//notes/ULR7X46V0Z/"

Simply deleting the extraneous "/" after "share" worked wonders! Kjots now is working just fine after a reboot.
Comment 8 Tomislav Adamic 2012-10-09 17:18:52 UTC
I can confirm this behavior but it doesn't solve all problems. 

After konfiguring KJots this way it is able to create new books and notes but each time I do that, notiffication popup shos with message that som folder can't be found. More specifficaly popup says:

Notes: Maildir '/home/my_user/.local/share/.notes.directory/NFnOWrsW3z' for collection 'NFnOWrsW3z' is invalid.
Comment 9 Martin Bříza 2013-07-04 10:17:29 UTC
Fixed now in Fedora 19 with 4.10.4. Didn't really investigate how and why, sorry.
Comment 10 Christoph Feck 2013-07-12 14:30:47 UTC
If anyone else can confirm it is fixed, please close this entry.
Comment 11 Lee Loncosky 2014-09-02 19:42:38 UTC
This is not fixed, there is still no way to create new books on the main branch by using the app, only the two books that come as standard can be used. You can create books under other books with no problems. I am using KDE 4.14 on Kubuntu 14.04.

There is a work around, you can create a Akonadi resource >> AkoNotes local maildir resource and point it to ~/.local/share/notes/XXXXX where XXXXX is the name of the book you want and it will show up in Kjots as a book.
However I have noticed that it is supposed to create a legit maildir hierarchy  and so far it on my test it has not.  I created a "knote" folder to be used by knotes and it shows up in kjots and knotes uses it but the actual folder in ~/.local/notes/knotes is completely empty. I hate to think where my knotes are actually going or residing.
Comment 12 Andrew Crouthamel 2018-11-12 02:46:47 UTC
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!
Comment 13 Andrew Crouthamel 2018-11-21 04:30:11 UTC
Dear Bug Submitter,

This is a reminder that 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? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 14 Rod J 2018-11-22 11:46:22 UTC
I've just tested KJots 5.0.2 in Kubuntu 18.04 and it appears to be working OK now. I managed to create several new KJots books under "Notes" and a few pages in each book, it seems to be saving them automatically and I can reopen them subsequently after closing KJots and restarting it.

I can also see the the notes externally to KJots in the folder:

/home/rod/.local/share/notes/akonadi_akonotes_resource_0/

so backing them up should be possible too.

I'd say the bug has been fixed. Thanks!
Comment 15 Justin Zobel 2023-01-18 02:40:54 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 16 Bug Janitor Service 2023-02-02 05:00:33 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 17 Bug Janitor Service 2023-02-17 03:48:25 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!