ocsigen-start icon indicating copy to clipboard operation
ocsigen-start copied to clipboard

Upload pic broken (on live osdemo)

Open balat opened this issue 8 years ago • 2 comments

Uploading a pic on http://ocsigen.org/ocsigen-start/demo/settings fails. Nothing happens when submitting the picture. Error message in browser console:

Eliom_client_value.Exception_on_server("(Failure int_of_string)")

balat avatar Feb 20 '17 10:02 balat

I will try to reproduce the issue locally, and we will see.

vasilisp avatar Feb 20 '17 12:02 vasilisp

I uploaded a picture with success on a local computer but on google cloud server I got the same issue.

It seems to be related to Os_uploader.record_image because I replace "Os_uploader.record_image avatar_dir ~ratio:1. ~cropping photo" by "Os_uploader.record_image avatar_dir photo" in the file projectname_handlers.eliom and it works.

314uto avatar Nov 27 '17 11:11 314uto