BUG 1: "Run budget-objective curves" and "Run geospatial optimization" are not greyed out even though know projects have been added. (NB: this is a bug even on develop.)
Click "Add region" and select both projects and click Save
Select 2 seconds per optimization and click "Run budget-objective curves"
You will get one of the following errors:
May 09 08:57:40 athena python[119789]: 2017-05-09 08:57:40,639 ERROR: Exception during request <Request 'http://sandbox.optimamodel.com/api/task' [POST]>: Traceback (most recent call last):
May 09 08:57:40 athena python[119789]: File "server/webapp/dataio.py", line 257, in _report_exception
May 09 08:57:40 athena python[119789]: return api_call(*args, **kwargs)
May 09 08:57:40 athena python[119789]: File "/software/anaconda/lib/python2.7/site-packages/flask_login.py", line 758, in decorated_view
May 09 08:57:40 athena python[119789]: return func(*args, **kwargs)
May 09 08:57:40 athena python[119789]: File "server/api.py", line 143, in run_remote_async_task
May 09 08:57:40 athena python[119789]: result = fn(*args, **kwargs)
May 09 08:57:40 athena python[119789]: File "server/webapp/tasks.py", line 119, in check_task
May 09 08:57:40 athena python[119789]: raise Exception(calc_state['error_text'])
May 09 08:57:40 athena python[119789]: Exception: Traceback (most recent call last):
May 09 08:57:40 athena python[119789]: File "/home/optima/installations/sandbox/server/webapp/tasks.py", line 144, in run_task
May 09 08:57:40 athena python[119789]: task_fn(*args)
May 09 08:57:40 athena python[119789]: File "/home/optima/installations/sandbox/server/webapp/tasks.py", line 342, in boc
May 09 08:57:40 athena python[119789]: portfolio = dataio.load_portfolio(portfolio_id)
May 09 08:57:40 athena python[119789]: File "/home/optima/installations/sandbox/server/webapp/dataio.py", line 1468, in load_portfolio
May 09 08:57:40 athena
Go to sandbox.optimamodel.com
Enter
dbtest
/dbtest
Go to geospatial
Create a new portfolio
BUG 1: "Run budget-objective curves" and "Run geospatial optimization" are not greyed out even though know projects have been added. (NB: this is a bug even on develop.)
Click "Add region" and select both projects and click Save
Select 2 seconds per optimization and click "Run budget-objective curves"
You will get one of the following errors: