Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload pic broken (on live osdemo) #436

Open
balat opened this issue Feb 20, 2017 · 2 comments
Open

Upload pic broken (on live osdemo) #436

balat opened this issue Feb 20, 2017 · 2 comments

Comments

@balat
Copy link
Member

balat commented Feb 20, 2017

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
Copy link
Contributor

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

@314uto
Copy link

314uto commented Nov 27, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants