optimamodel / optima

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

Some kind of error with calibration #1631

Closed robynstuart closed 7 years ago

robynstuart commented 7 years ago

Upload the attached project and see the hideous message below when trying to navigate to calibrations.


Traceback (most recent call last):
  File "server/webapp/dataio.py", line 255, 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 175, in run_remote_async_task
    result = fn(*args, **kwargs)
  File "server/webapp/tasks.py", line 138, in check_if_task_started
    calc_state = check_task(task_id)
  File "server/webapp/tasks.py", line 132, in check_task
    raise Exception(calc_state['error_text'])
Exception: Traceback (most recent call last):
  File "/home/optima/installations/staging/server/webapp/tasks.py", line 157, in run_task
    task_fn(*args)
  File "/home/optima/installations/staging/server/webapp/tasks.py", line 234, in autofit
    project = dataio.load_project(project_id, db_session=db_session, authenticate=False)
  File "/home/optima/installations/staging/server/webapp/dataio.py", line 378, in load_project
    return load_project_from_record(project_record)
  File "/home/optima/installations/staging/server/webapp/dataio.py", line 357, in load_project_from_record
    save_project(project)
  File "/home/optima/installations/staging/server/webapp/dataio.py", line 343, in save_project
    project_record = load_project_record(project.uid, db_session=db_session)
  File "/home/optima/installations/staging/server/webapp/dataio.py", line 331, in load_project_record
    project_record = query.first()
  File "/software/anaconda/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2659, in first
    ret = list(self[0:1])
  File "/software/anaconda/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2457, in __getitem__
    return list(res)
  File "/software/anaconda/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2761, in __iter__
    return self._execute_and_instances(context)
  File "/software/anaconda/lib/python2.7/
cliffckerr commented 7 years ago

@robynstuart i can't reproduce this either. i just downloaded that project and uploaded it to o/o on hiv.optimamodel.com and it works fine.

robynstuart commented 7 years ago

@cliffckerr it's working on my account too now, so i will close.