Hi guys, I am trying to manually upload a file, but this code:
file_store =
db.dar_resource_file.file.store(request.vars.file.file,
request.vars.file.filename)
db.dar_resource_file.update_or_insert(db.dar_resource_file.resorce=resource_id,
resource=resource_id, name=resource_name, file=file_store)
completely hangs web2py, when update_or_insert is called, some kind of
infinite loop starts, and the cpu usage goes to 100% and never finish.
I am using the last web2py version and Python 3.5
Greetings.
--
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.