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

Updates to deliverability functionality #947

Merged
merged 9 commits into from
Aug 4, 2022
Merged

Conversation

anamileva
Copy link
Member

No description provided.

@anamileva anamileva merged commit 86ccabf into develop Aug 4, 2022
@milindsmart
Copy link
Contributor

milindsmart commented Jan 10, 2023

While running the GUI, I get this:

Traceback (most recent call last):
  File "/media/milind/DATA/GridPath/gpenv/lib/python3.10/site-packages/flask/app.py", line 2073, in wsgi_app
    response = self.handle_exception(e)
  File "/media/milind/DATA/GridPath/gpenv/lib/python3.10/site-packages/flask_restful/__init__.py", line 271, in error_router
    return original_handler(e)
  File "/media/milind/DATA/GridPath/gpenv/lib/python3.10/site-packages/flask/app.py", line 2070, in wsgi_app
    response = self.full_dispatch_request()
  File "/media/milind/DATA/GridPath/gpenv/lib/python3.10/site-packages/flask/app.py", line 1515, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/media/milind/DATA/GridPath/gpenv/lib/python3.10/site-packages/flask_restful/__init__.py", line 271, in error_router
    return original_handler(e)
  File "/media/milind/DATA/GridPath/gpenv/lib/python3.10/site-packages/flask/app.py", line 1513, in full_dispatch_request
    rv = self.dispatch_request()
  File "/media/milind/DATA/GridPath/gpenv/lib/python3.10/site-packages/flask/app.py", line 1499, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
  File "/media/milind/DATA/GridPath/gpenv/lib/python3.10/site-packages/flask_restful/__init__.py", line 467, in wrapper
    resp = resource(*args, **kwargs)
  File "/media/milind/DATA/GridPath/gpenv/lib/python3.10/site-packages/flask/views.py", line 83, in view
    return self.dispatch_request(*args, **kwargs)
  File "/media/milind/DATA/GridPath/gpenv/lib/python3.10/site-packages/flask_restful/__init__.py", line 582, in dispatch_request
    resp = meth(*args, **kwargs)
  File "/media/milind/DATA/GridPath/gpenv/lib/python3.10/site-packages/ui/server/api/scenario_detail.py", line 154, in get
    get_scenario_detail(
  File "/media/milind/DATA/GridPath/gpenv/lib/python3.10/site-packages/ui/server/api/scenario_detail.py", line 201, in get_scenario_detail
    row_value = c.execute(
sqlite3.OperationalError: no such column: project_prm_energy_only

This is because

prm,energy_only,1,Energy-Only Projects,project_prm_energy_only,subscenarios_project_prm_energy_only,prm_energy_only_scenario_id,inputs_project_prm_energy_only
still has a reference to project_prm_energy_only.

@anamileva
Copy link
Member Author

Thanks, @milindsmart, this will be fixed when v0.15 is released. A side note: if you want to use the UI, you should switch to Python 3.9, there are some problems with our dependencies with 3.10.

@anamileva anamileva deleted the deliverability_update branch January 18, 2023 21:49
anamileva added a commit that referenced this pull request Jan 23, 2023
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

Successfully merging this pull request may close these issues.

None yet

2 participants