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

Internal Server Error: /ts_om_edit/1666/healthsystem/ #69

Open
Baguage opened this issue May 31, 2017 · 0 comments
Open

Internal Server Error: /ts_om_edit/1666/healthsystem/ #69

Baguage opened this issue May 31, 2017 · 0 comments

Comments

@Baguage
Copy link
Member

Baguage commented May 31, 2017

Internal Server Error: /ts_om_edit/1666/healthsystem/
Traceback (most recent call last):
File "/opt/venvs/om.vecnet.org/lib/python2.7/site-packages/django/core/handlers/base.py", line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/opt/venvs/om.vecnet.org/lib/python2.7/site-packages/django/views/generic/base.py", line 71, in view
return self.dispatch(request, *args, **kwargs)
File "/opt/venvs/om.vecnet.org/lib/python2.7/site-packages/django/views/generic/base.py", line 89, in dispatch
return handler(request, *args, **kwargs)
File "/opt/venvs/om.vecnet.org/lib/python2.7/site-packages/django/views/generic/edit.py", line 215, in post
return self.form_valid(form)
File "/opt/portal/om.vecnet.org/website/apps/ts_om_edit/views/ScenarioHealthSystemView.py", line 72, in form_valid
prob_total = get_prob_from_percentage(int(form.cleaned_data["perc_total_treated"]))
ValueError: invalid literal for int() with base 10: '22.3'

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

1 participant