brvier / ownNotes

a markdown notes taking application with ownCloud/WebDav synchronization.
http://khertan.net/pages/ownnotes.html
GNU General Public License v3.0
30 stars 16 forks source link

owncloud not syncing with 1.8.2 and owncloud 6 #8

Open Ray-Ven opened 10 years ago

Ray-Ven commented 10 years ago

Owncloud won't sync after last update. Other owncloud-apps work though.

File "/usr/share/ownNotes/python/sync.py", line 360, in sync wdc.connect() File "/usr/share/ownNotes/python/sync.py", line 165, in connect self._check_notes_folder() File "/usr/share/ownNotes/python/sync.py", line 178, in _check_notes_folder depth=1) File "/usr/share/ownNotes/python/tinydav/init.py", line 1164, in propfind return self._request("PROPFIND", uri, content, headers) File "/usr/share/ownNotes/python/tinydav/init.py", line 777, in _request raise response tinydav.exception.HTTPUserError: HTTP/1.1 401 Unauthorized

Ray-Ven commented 10 years ago

I'm using subfolders in my notes-folder. This was no problem in 1.5, could it be related to the use of subfolders? (1.5 still works)

ikke-t commented 10 years ago

It does give me the 405. I do have only a folder with no notes. I doubt it is not about subfolders.

Jun 29 23:56:22 Jolla lipstick[962]: 2014-06-29 23:56:22,892 ERROR Traceback (most recent call last): Jun 29 23:56:22 Jolla lipstick[962]: File "/usr/share/ownNotes/python/sync.py", line 360, in sync Jun 29 23:56:22 Jolla lipstick[962]: wdc.connect() Jun 29 23:56:22 Jolla lipstick[962]: File "/usr/share/ownNotes/python/sync.py", line 155, in connect Jun 29 23:56:22 Jolla lipstick[962]: response = self.wc.options('/').headers.get('date') Jun 29 23:56:22 Jolla lipstick[962]: File "/usr/share/ownNotes/python/tinydav/init.py", line 899, in options Jun 29 23:56:22 Jolla lipstick[962]: return self._request("OPTIONS", uri, None, headers) Jun 29 23:56:22 Jolla lipstick[962]: File "/usr/share/ownNotes/python/tinydav/init.py", line 777, in _request Jun 29 23:56:22 Jolla lipstick[962]: raise response Jun 29 23:56:22 Jolla lipstick[962]: tinydav.exception.HTTPUserError: HTTP/1.1 405 Not Allowed Jun 29 23:56:22 Jolla lipstick[962]: <class 'tinydav.exception.HTTPUserError'> : HTTP/1.1 405 Not Allowed Jun 29 23:56:22 Jolla lipstick[962]: Sync Error<class 'tinydav.exception.HTTPUserError'> : HTTP/1.1 405 Not Allowed Jun 29 23:56:22 Jolla lipstick[962]: Sync finished :false Jun 29 23:56:22 Jolla lipstick[962]: listNotes called

ikke-t commented 10 years ago

The server reports this:

OPTIONS / HTTP/1.1" 405 172 "-" "python-requests/2.3.0 CPython/3.4.0 Linux/3.4.87.20140516.2"
brvier commented 9 years ago

No sorry, all my sailfish applications development are suspended currently.