Hello,
I have a question regarding how Pydal can accept remote filesystem thru pyfilesystem.
According to the web2py documentation
http://www.web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#Field-constructor
I need to put uploadfs = # pyfilesystem object in field definition.
After doing so, at upload, pyfilesystem complains that “paths must be unicode (not str)”
The source code for pyfilesystem is here (search for "def validatepath")
https://github.com/PyFilesystem/pyfilesystem2/blob/master/fs/base.py
So I conclude pydal pass file path in python2 byte string, and pyfilesystem only accepts Unicode in python2.
Do you have any suggestion/workaround for this issue?
Thanks in advance.