well, i get this error
Traceback (most recent call last):
File "/opt/web-apps/web2py/gluon/restricted.py", line 212, in restricted
exec ccode in environment
File "/opt/web-apps/web2py/applications/iquanta/controllers/site.py"
<https://192.168.0.8/admin/default/edit/iquanta/controllers/site.py>, line 489,
in <module>
File "/opt/web-apps/web2py/gluon/globals.py", line 193, in <lambda>
self._caller = lambda f: f()
File "/opt/web-apps/web2py/applications/iquanta/controllers/site.py"
<https://192.168.0.8/admin/default/edit/iquanta/controllers/site.py>, line 484,
in site_xml_files_import
id = tFls.insert(input_date=inputDate, modified_date=modDate,
permission=permission, name=fname, ext=fext, type=ftype, description=fdsc,
file=ffile)
File "/opt/web-apps/web2py/gluon/dal.py", line 7916, in insert
self._attempt_upload(fields)
File "/opt/web-apps/web2py/gluon/dal.py", line 7909, in _attempt_upload
raise RuntimeError("Unable to handle upload")
RuntimeError: Unable to handle upload
where line 484 in site.py is
id = db.files.insert(input_date=inputDate, modified_date=modDate,
permission=permission, name=fname, ext=fext, type=ftype, description=fdsc,
file=ffile)
where file is the upload field and i am passing it a string, most of which look
something like
files.file.8710083b15af8a66.5044505f4c756b6163735f4e6f6973652d52656a656374696f6e5f525349312e706466.pdf
so what am i doing wrong? lucas
--