Bug 341414 - New Knotes Can't be Created
Summary: New Knotes Can't be Created
Status: RESOLVED DUPLICATE of bug 339168
Alias: None
Product: knotes
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-29 20:06 UTC by BryanFRitt
Modified: 2014-11-30 16:46 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description BryanFRitt 2014-11-29 20:06:43 UTC
Right click on icon -> New Note ...
Get "An error occures during fetching. Do you want to select an new default collection?"
(including the grammar error(s))
Click Yes -> new dialog pops up with Nothing to choose from
Click No -> the dialogs just goes away

When KNotes gets started it adds in a 'Local Notes * Ready' item in
System Settings -> Common Appearance and Behavior -> Akonadi Resources Configuration -> ...
which has maildir tab -> /home/bryan/.local/share/notes/akonadi_akonotes_resource_731
(Question What are these things added called? The dialogs don't say)

When run from a konsole window knotes says something like:

QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
knotes(31041) NoteShared::LocalResourceCreator::slotSyncDone: Instance synchronized 
knotes(31041)/libakonadi Akonadi::EntityCache<T, FetchJob, FetchScope_>::processResult: "Collection 431 does not exist" 
knotes(31041)/libakonadi Akonadi::EntityCache<T, FetchJob, FetchScope_>::processResult: "Collection 432 does not exist" 
knotes(31041)/libakonadi Akonadi::EntityCache<T, FetchJob, FetchScope_>::processResult: "Collection 433 does not exist" 
 Error during fetch:  "Collection 322 does not exist" 
 Error during fetch:  "Collection 322 does not exist"

note: these numbers may change between runs

--

p.s. When starting knotes after upgrade the old knotes conversion didn't work, and it created lots stuff in /home/bryan/.local/share/notes/akonadi_akonotes_resource_*
(or at least I think that's when those were created)
Comment 1 Wolfgang Bauer 2014-11-30 16:46:35 UTC
Your problems are already reported:
See bug#339168 and bug#339169

To get knotes working, right-click on its icon, choose "Configure KNotes..." and set an existing Akonotes resource as default collection in "Collections".

And you should probably set a different folder than ~/.local/share/local-mail/ for your Akonotes resources in System Settings -> Common Appearance and Behavior ->Akonadi Resources Configuration (a good candidate would probably be ~/.local/share/notes/ or subfolders thereof).

*** This bug has been marked as a duplicate of bug 339168 ***