I did not explain well what I meant:
File "C:\web2py-1045bab06391\web2py-1045bab06391\gluon\dal.py", line 8258,
in _attempt_upload
raise RuntimeError("Unable to handle upload")
It seems that dal is returning a generic message so my idea was to take out
any exception handling in the dal.py module that does the file writing.
Well, actually there is not such exception handling clause. It's just that
the method called requires that:
a) if the object passed has a file attribute, it is supposed to have a
filename attribute
b) if the object has a .read method, then it looks for a name attribute
Other cases raise the OperationalError output you are getting.
Perhaps this can help debugging the code to create the files.
--
---
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/groups/opt_out.