GNOME Bugzilla – Bug 739529
creating notes to ownCloud fails.
Last modified: 2018-01-23 04:23:17 UTC
I set the Primary Book to ownCloud. ownCloud is configured in GOA. I create a note, but it is never created. Running from terminal, I get: ** (bijiben:1298): CRITICAL **: ocloud_note_ensure_ressource: assertion 'G_IS_FILE (BIJI_OWN_CLOUD_NOTE (note)->priv->location)' failed Running on 3.14 on Arch.
Might be https://bugzilla.redhat.com/show_bug.cgi?id=1161852 Please try to manually create "Notes" folder on your ownCloud top level folder. I can post a patch regarding this but am also facing new issues that did not appear before, so I want to have a better look before to commit something.
These two below commits should help : they implement what i asked above, create the Notes folder. 695b4b837ac74ab441af20d997e53ef44068aa75 Author: Pierre-Yves Luyten <py@luyten.fr> Date: Sun Nov 9 00:22:15 2014 +0100 Date: Sun Nov 9 00:22:15 2014 +0100 ownCloud : create the Note directory (local) In case ownCloud Client is used and not webdav, create the Notes folder on local filesystem. src/libbiji/provider/biji-own-cloud-provider.c | 40 ++++++++++++++++++++------ 1 file changed, 31 insertions(+), 9 deletions(-) 1 file changed, 31 insertions(+), 9 deletions(-) 3d20324f0f15e92eb837825497907b3e136e564f Author: Pierre-Yves Luyten <py@luyten.fr> Date: Sun Nov 9 00:03:51 2014 +0100 Date: Sun Nov 9 00:03:51 2014 +0100 OwnCloud : ensure Notes folder exists (webdav) try to make the directory in case it does not exist. This commit implements this only for the webdav case. src/libbiji/provider/biji-own-cloud-provider.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 1 file changed, 6 insertions(+), 4 deletions(-)
3.14.2 has been released and should fix your issue ; no doubt Arch will follow soon
I do have a Notes folder, and it contains some notes created in ownCloud and some created in the Android MyOwnNotes client. It also syncs fine with my desktop ~/Notes directory. Bijiben doesn't see the notes, nor creates any when I try. Running 3.14.2 at this point.
Here, not using owncloud client and fails... Fedora 21 and ArchLinux: Same result
I've got a similar situation with Owncloud. It looks like the first file fails. Subsequent files are OK. On the owncloud server: You changed the filenames are wrong.txt seconds ago You created the filenames are wrong.txt seconds ago You changed Another note that should show in owncloud.txt seconds ago You created Another note that should show in owncloud.txt and 96647bfd-7096-43ad-83dc-8097fdb057f8.txt 1 minute ago You deleted d7e0e62d-7fa7-4c8e-9d08-a554e98e5340.txt 6 minutes ago You created d7e0e62d-7fa7-4c8e-9d08-a554e98e5340.txt Note how 6 minutes ago the file is created and immediately deleted. The second file ("another note that should show") is created twice. Once with a real name, and once with a UUID. The third file ("the filenames are wrong") appears OK. It really does look like the initial sync fails. Sometimes files appear twice, with a filename and UUID.
*** This bug has been marked as a duplicate of bug 786239 ***