ocsigen / ocsigen-start

Ocsigen-start: Higher-level library to develop Web and mobile applications with users, (pre)registration, notifications, etc.
Other
75 stars 31 forks source link

Upload pic broken (on live osdemo) #436

Open balat opened 7 years ago

balat commented 7 years ago

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)")
vasilisp commented 7 years ago

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

314uto commented 6 years ago

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.