optimamodel / optima

Optima HIV software tool
http://optimamodel.com
GNU Lesser General Public License v3.0
7 stars 1 forks source link

Cost function error #1613

Closed robynstuart closed 7 years ago

robynstuart commented 7 years ago
  1. Load up "Generalized example" (one of the demo projects)
  2. Go to Cost functions

Error:


Traceback (most recent call last):
  File "server/webapp/dataio.py", line 257, in _report_exception
    return api_call(*args, **kwargs)
  File "/software/anaconda/lib/python2.7/site-packages/flask_login.py", line 758, in decorated_view
    return func(*args, **kwargs)
  File "server/api.py", line 121, in run_remote_procedure
    result = jsonify(result)
  File "/software/anaconda/lib/python2.7/site-packages/flask/json.py", line 238, in jsonify
    indent=indent),
  File "/software/anaconda/lib/python2.7/site-packages/flask/json.py", line 126, in dumps
    rv = _json.dumps(obj, **kwargs)
  File "/software/anaconda/lib/python2.7/site-packages/simplejson/__init__.py", line 397, in dumps
    **kw).encode(obj)
  File "/software/anaconda/lib/python2.7/site-packages/simplejson/encoder.py", line 277, in encode
    chunks = list(chunks)
  File "/software/anaconda/lib/python2.7/site-packages/simplejson/encoder.py", line 655, in _iterencode
    for chunk in _iterencode_dict(o, _current_indent_level):
  File "/software/anaconda/lib/python2.7/site-packages/simplejson/encoder.py", line 614, in _iterencode_dict
    for chunk in chunks:
  File "/software/anaconda/lib/python2.7/site-packages/simplejson/encoder.py", line 497, in _iterencode_list
    for chunk in chunks:
  File "/software/anaconda/lib/python2.7/site-packages/simplejson/encoder.py", line 614, in _iterencode_dict
    for chunk in chunks:
  File "/software/anaconda/lib/python2.7/site-packages/simplejson/encoder.py", line 497, in _iterencode_list
    for chunk in chunks:
  File "/software/anaconda/lib/python2.7/site-packages/simplejson/encoder.py", line 614, in _iterencode_dict
    for chunk in chunks:
  File "/software/anaconda/lib/python2.7/site-packages/simplejson/encoder.py", line 675, in _iterencode
    o = _default(o)
  File "/software/anaconda/lib/python2.7/site-packages/flask/json.py", line 83, in default
    return _json.JSONEncoder.default(self, o)
  File "/softw