View Single Post
caco3's Avatar
Posts: 560 | Thanked: 423 times | Joined on May 2010 @ Switzerland
#12
Thank you very much for this great app!

I tried to get it (vserion 2.15) working with my OwnCloud 4.5.2, but did not success.
I get the following error when I try your default Host/URL scheme (Host: http://www.***.ch/ , path: /owncloud/files/webdav.php):
Code:
2012-11-16 20:51:21,231: DEBUG: Time delta: -3601.000000
isConnected:  True
2012-11-16 20:51:22,543: ERROR: Method Not Allowed
Traceback (most recent call last):
  File "/opt/khtnotes/sync.py", line 456, in _check_khtnotes_folder_and_lock
    webdavConnection.addCollection(self._remoteDataFolder + '/')
  File "/opt/khtnotes/webdav/WebdavClient.py", line 606, in addCollection
    self.connection.mkcol(self.path + name, header)
  File "/opt/khtnotes/davlib.py", line 216, in mkcol
    return self._request('MKCOL', url, extra_hdrs=extra_hdrs)
  File "/opt/khtnotes/webdav/Connection.py", line 124, in _request
    return self.__evaluateResponse(method, response)
  File "/opt/khtnotes/webdav/Connection.py", line 142, in __evaluateResponse
    raise WebdavError(reason, status)
WebdavError: Method Not Allowed

Traceback (most recent call last):
  File "/opt/khtnotes/sync.py", line 150, in _sync_files
    self._check_khtnotes_folder_and_lock(webdavConnection)
  File "/opt/khtnotes/sync.py", line 456, in _check_khtnotes_folder_and_lock
    webdavConnection.addCollection(self._remoteDataFolder + '/')
  File "/opt/khtnotes/webdav/WebdavClient.py", line 606, in addCollection
    self.connection.mkcol(self.path + name, header)
  File "/opt/khtnotes/davlib.py", line 216, in mkcol
    return self._request('MKCOL', url, extra_hdrs=extra_hdrs)
  File "/opt/khtnotes/webdav/Connection.py", line 124, in _request
    return self.__evaluateResponse(method, response)
  File "/opt/khtnotes/webdav/Connection.py", line 142, in __evaluateResponse
    raise WebdavError(reason, status)
WebdavError: Method Not Allowed




I am wondering, why you use a non-default path as preset.
On a normal OwnCloud installation, the webdav is available under http://****.ch/owncloud/remote.php/webdav/

Or is it not the same as in a web browser?
Anyway, changing the path to /owncloud/remote.php/webdav/ brings the following error:
Code:
2012-11-16 20:58:05,681: ERROR: <class 'webdav.Connection.WebdavError'>:Moved Permanently
<class 'webdav.Connection.WebdavError'>:Moved Permanently
2012-11-16 20:58:05,986: ERROR: <class 'webdav.Connection.WebdavError'>:Moved Permanently
<class 'webdav.Connection.WebdavError'>:Moved Permanently
2012-11-16 20:58:06,294: ERROR: <class 'webdav.Connection.WebdavError'>:Moved Permanently
<class 'webdav.Connection.WebdavError'>:Moved Permanently
isConnected:  False
is favorited : Bb.txt
False

If you want, I can create you a test account on my owncloud installation.
__________________
On N9 check out this:
CacheMe 4 the N9, a geocaching client / MiniBible, a bible viewer / TheWord brings daily bible verses onto your phone / BatteryGraph to monitor the battery drainage / doublepress2unlock to unlock your phone with a double press onto the power button / GPRS Data Usage to monitor your GPRS data usage /
and more...

On N900 check out this: SleepAnalyser to analyse your sleep movements / PasswordMaker a for a password generator