After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 739529 - creating notes to ownCloud fails.
creating notes to ownCloud fails.
Status: RESOLVED DUPLICATE of bug 786239
Product: bijiben
Classification: Applications
Component: Providers
3.14.x
Other Linux
: Normal normal
: ---
Assigned To: Bijiben maintainer(s)
Bijiben maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2014-11-02 12:34 UTC by Juha Siltala
Modified: 2018-01-23 04:23 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Juha Siltala 2014-11-02 12:34:26 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.
Comment 1 Pierre-Yves Luyten 2014-11-08 22:55:46 UTC
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.
Comment 2 Pierre-Yves Luyten 2014-11-08 23:29:53 UTC
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(-)
Comment 3 Pierre-Yves Luyten 2014-11-11 07:04:02 UTC
3.14.2 has been released and should fix your issue ; no doubt Arch will follow soon
Comment 4 Juha Siltala 2014-11-13 06:46:26 UTC
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.
Comment 5 Cédric Bellegarde 2014-11-15 14:57:12 UTC
Here, not using owncloud client and fails...

Fedora 21 and ArchLinux: Same result
Comment 6 Berend De Schouwer 2015-12-13 06:52:45 UTC
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.
Comment 7 Isaque Galdino 2018-01-23 04:23:17 UTC

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