WebDAV exception when creating folders from some apps


I found to have some apps which are accessing my Seafile via WebDAV. While some apps work without issues others seem not to be able to create folders. Apps that fail are causing following exception log in seafdav.log

[2017-09-12 18:42:00,248]: ErrorPrinter: caught Exception
[2017-09-12 18:42:00,248]: Traceback (most recent call last):
File “/home/seafile/6.1.2/seahub/thirdpart/wsgidav/error_printer.py”, line 43, in call
for v in app_iter:
File “/home/seafile/6.1.2/seahub/thirdpart/wsgidav/request_resolver.py”, line 201, in call
for v in app_iter:
File “/home/seafile/6.1.2/seahub/thirdpart/wsgidav/request_server.py”, line 113, in call
app_iter = method(environ, start_response)
File “/home/seafile/6.1.2/seahub/thirdpart/wsgidav/request_server.py”, line 631, in doPUT
elif not parentRes.isCollection: # TODO: allow parentRes==None?
AttributeError: ‘NoneType’ object has no attribute ‘isCollection’

Looks like it could be an issue in Seafile. Happens on Community Versions 6.1.1 and 6.1.2. On iOS for example Noteability fails on creating folders while PDF Expert just works.


I’m running ino exactly the same issue on Seafile Pro Server 6.2.4 and can’t use Notability AutoBackup for exactly the same reason.

@daniel.pan - do you have any idea?

Any news on this? I’ve got the same problem with Notability as well.

1 Like