also tried to enter file_size within form when adding the record
if form.process().accepted:
session.flash = 'profile update accepted'
form.vars.file_size = filesize([form.vars.thumbnail])
result was
return os.stat(os.path.join(request.uploadfolder,'uploads'))
File "ntpath.py", line 64, in join
File "ntpath.py", line 114, in splitdrive
TypeError: object of type 'NoneType' has no len()
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.