Created
April 13, 2023 13:15
-
-
Save Erikvv/1738f6e5ee43a3336944d22677fdcb66 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
webapp-python-1 | Running Anylogic model | |
webapp-python-1 | Running Anylogic model | |
webapp-python-1 | Traceback (most recent call last): | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/db/models/fields/__init__.py", line 2018, in get_prep_value | |
webapp-python-1 | return int(value) | |
webapp-python-1 | ValueError: invalid literal for int() with base 10: 'B' | |
webapp-python-1 | | |
webapp-python-1 | The above exception was the direct cause of the following exception: | |
webapp-python-1 | | |
webapp-python-1 | Traceback (most recent call last): | |
webapp-python-1 | File "/home/app/web/holon/views/holon.py", line 35, in post | |
webapp-python-1 | scenario = rule_mapping.get_scenario_and_apply_rules( | |
webapp-python-1 | File "/home/app/web/holon/models/rule_mapping.py", line 42, in get_scenario_and_apply_rules | |
webapp-python-1 | rule.apply_rule_actions(filtered_queryset, transformed_value) | |
webapp-python-1 | File "/home/app/web/holon/models/scenario_rule.py", line 317, in apply_rule_actions | |
webapp-python-1 | rule_action.apply_action_to_queryset(filtered_queryset, value) | |
webapp-python-1 | File "/home/app/web/holon/models/rule_actions/rule_action_change_attribute.py", line 87, in apply_action_to_queryset | |
webapp-python-1 | filtered_object.save() | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/polymorphic/models.py", line 87, in save | |
webapp-python-1 | return super().save(*args, **kwargs) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/modelcluster/models.py", line 201, in save | |
webapp-python-1 | super().save(update_fields=real_update_fields, **kwargs) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/db/models/base.py", line 812, in save | |
webapp-python-1 | self.save_base( | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/db/models/base.py", line 862, in save_base | |
webapp-python-1 | parent_inserted = self._save_parents(cls, using, update_fields) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/db/models/base.py", line 904, in _save_parents | |
webapp-python-1 | updated = self._save_table( | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/db/models/base.py", line 976, in _save_table | |
webapp-python-1 | updated = self._do_update( | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/db/models/base.py", line 1040, in _do_update | |
webapp-python-1 | return filtered._update(values) > 0 | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/db/models/query.py", line 1216, in _update | |
webapp-python-1 | return query.get_compiler(self.db).execute_sql(CURSOR) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/db/models/sql/compiler.py", line 1822, in execute_sql | |
webapp-python-1 | cursor = super().execute_sql(result_type) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/db/models/sql/compiler.py", line 1385, in execute_sql | |
webapp-python-1 | sql, params = self.as_sql() | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/db/models/sql/compiler.py", line 1788, in as_sql | |
webapp-python-1 | val = field.get_db_prep_save(val, connection=self.connection) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/db/models/fields/__init__.py", line 925, in get_db_prep_save | |
webapp-python-1 | return self.get_db_prep_value(value, connection=connection, prepared=False) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/db/models/fields/__init__.py", line 920, in get_db_prep_value | |
webapp-python-1 | value = self.get_prep_value(value) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/db/models/fields/__init__.py", line 2020, in get_prep_value | |
webapp-python-1 | raise e.__class__( | |
webapp-python-1 | ValueError: Field 'insulation_label' expected a number but got 'B'. | |
webapp-python-1 | | |
webapp-python-1 | Bad Request: /wt/api/nextjs/v2/holon/ | |
webapp-python-1 | Cloning scenario 321001 | |
webapp-python-1 | Running Anylogic model | |
webapp-python-1 | Traceback (most recent call last): | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/anylogiccloudclient/client/http_client.py", line 21, in api_request | |
webapp-python-1 | response = urllib.request.urlopen(request) | |
webapp-python-1 | File "/usr/local/lib/python3.9/urllib/request.py", line 214, in urlopen | |
webapp-python-1 | return opener.open(url, data, timeout) | |
webapp-python-1 | File "/usr/local/lib/python3.9/urllib/request.py", line 523, in open | |
webapp-python-1 | response = meth(req, response) | |
webapp-python-1 | File "/usr/local/lib/python3.9/urllib/request.py", line 632, in http_response | |
webapp-python-1 | response = self.parent.error( | |
webapp-python-1 | File "/usr/local/lib/python3.9/urllib/request.py", line 561, in error | |
webapp-python-1 | return self._call_chain(*args) | |
webapp-python-1 | File "/usr/local/lib/python3.9/urllib/request.py", line 494, in _call_chain | |
webapp-python-1 | result = func(*args) | |
webapp-python-1 | File "/usr/local/lib/python3.9/urllib/request.py", line 641, in http_error_default | |
webapp-python-1 | raise HTTPError(req.full_url, code, msg, hdrs, fp) | |
webapp-python-1 | urllib.error.HTTPError: HTTP Error 404: Not Found | |
webapp-python-1 | | |
webapp-python-1 | During handling of the above exception, another exception occurred: | |
webapp-python-1 | | |
webapp-python-1 | Traceback (most recent call last): | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/anylogiccloudclient/client/model_run.py", line 38, in get_outputs_and_run_if_absent | |
webapp-python-1 | return self.get_outputs(required_output_names, aggregation_type) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/anylogiccloudclient/client/model_run.py", line 33, in get_outputs | |
webapp-python-1 | return self._get_run_results(required_output_names, aggregation_type) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/anylogiccloudclient/client/model_run.py", line 80, in _get_run_results | |
webapp-python-1 | return self._get_simulation_run_results(required_output_names) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/anylogiccloudclient/client/model_run.py", line 91, in _get_simulation_run_results | |
webapp-python-1 | result = self._make_request_for_results(aggregations) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/anylogiccloudclient/client/model_run.py", line 122, in _make_request_for_results | |
webapp-python-1 | results = self.http_client.api_request(self.versions_url + "/results", "POST", results_request) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/anylogiccloudclient/client/http_client.py", line 23, in api_request | |
webapp-python-1 | raise CloudError.from_json(json.loads(err.read())) | |
webapp-python-1 | anylogiccloudclient.client.cloud_error.CloudError: ('Results not found', 404, 'Not Found', '/open/8.5.0/versions/635fbc7b-b6f1-49c7-aef3-87cc03f11a79/results') | |
webapp-python-1 | | |
webapp-python-1 | During handling of the above exception, another exception occurred: | |
webapp-python-1 | | |
webapp-python-1 | Traceback (most recent call last): | |
webapp-python-1 | File "/home/app/web/holon/views/holon.py", line 42, in post | |
webapp-python-1 | cc.run() | |
webapp-python-1 | File "/home/app/web/holon/services/cloudclient/client.py", line 84, in run | |
webapp-python-1 | self.outputs = self.client.create_simulation(inputs).get_outputs_and_run_if_absent() | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/anylogiccloudclient/client/model_run.py", line 42, in get_outputs_and_run_if_absent | |
webapp-python-1 | self.wait_for_completion(polling_period) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/anylogiccloudclient/client/model_run.py", line 29, in wait_for_completion | |
webapp-python-1 | self._poll_status(polling_period) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/anylogiccloudclient/client/model_run.py", line 72, in _poll_status | |
webapp-python-1 | raise CloudError(f"status: {status}, message: {message}") | |
webapp-python-1 | anylogiccloudclient.client.cloud_error.CloudError: status: FAILED, message: {"type":"OTHER","message":"NullPointerException: null","details":["java.lang.NullPointerException","\tat base.GCHouse.__pl_heatingAssets_expression0_dataSet_xjal_YValue(GCHouse.java:1443)","\tat base.GCHouse$4.update(GCHouse.java:1433)","\tat com.anylogic.engine.analysis.DataSet.update(Unknown Source)","\tat com.anylogic.engine.analysis.Chart.updateData(Unknown Source)","\tat base.GCHouse.executeActionOf(GCHouse.java:662)","\tat com.anylogic.engine.EventTimeout.execute(Unknown Source)","\tat com.anylogic.engine.Engine.k(Unknown Source)","\tat com.anylogic.engine.Engine.runFastInterruptible(Unknown Source)","\tat com.anylogic.cloud.executor.connector.ExperimentSimple$RunThread.run(ExperimentSimple.java:130)"]} | |
webapp-python-1 | | |
webapp-python-1 | Bad Request: /wt/api/nextjs/v2/holon/ | |
webapp-python-1 | Cloning scenario 321001 | |
webapp-python-1 | Exception in thread Thread-1: | |
webapp-python-1 | Traceback (most recent call last): | |
webapp-python-1 | File "/usr/local/lib/python3.9/threading.py", line 980, in _bootstrap_inner | |
webapp-python-1 | self.run() | |
webapp-python-1 | File "/usr/local/lib/python3.9/threading.py", line 917, in run | |
webapp-python-1 | self._target(*self._args, **self._kwargs) | |
webapp-python-1 | File "/home/app/web/holon/models/scenario.py", line 194, in delete | |
webapp-python-1 | delete_individualy(self.assets) | |
webapp-python-1 | File "/home/app/web/holon/models/scenario.py", line 187, in delete_individualy | |
webapp-python-1 | object.delete() | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/db/models/base.py", line 1117, in delete | |
webapp-python-1 | collector.collect([self], keep_parents=keep_parents) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/db/models/deletion.py", line 294, in collect | |
webapp-python-1 | parent_objs = [getattr(obj, ptr.name) for obj in new_objs] | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/db/models/deletion.py", line 294, in <listcomp> | |
webapp-python-1 | parent_objs = [getattr(obj, ptr.name) for obj in new_objs] | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/polymorphic/models.py", line 203, in accessor_function | |
webapp-python-1 | attr = objects.get(pk=self.pk) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/db/models/manager.py", line 85, in manager_method | |
webapp-python-1 | return getattr(self.get_queryset(), name)(*args, **kwargs) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/db/models/query.py", line 650, in get | |
webapp-python-1 | raise self.model.DoesNotExist( | |
webapp-python-1 | holon.models.asset.EnergyAsset.DoesNotExist: EnergyAsset matching query does not exist. | |
webapp-python-1 | Running Anylogic model | |
webapp-python-1 | Running ETM module | |
webapp-python-1 | Running ETM module | |
webapp-python-1 | [2023-04-13 15:12:16 +0200] [981] [INFO] Worker exiting (pid: 981) | |
webapp-python-1 | Traceback (most recent call last): | |
webapp-python-1 | File "/usr/local/bin/gunicorn", line 8, in <module> | |
webapp-python-1 | sys.exit(run()) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 67, in run | |
webapp-python-1 | WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run() | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/gunicorn/app/base.py", line 231, in run | |
webapp-python-1 | super().run() | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/gunicorn/app/base.py", line 72, in run | |
webapp-python-1 | Arbiter(self).run() | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/gunicorn/arbiter.py", line 211, in run | |
webapp-python-1 | self.manage_workers() | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/gunicorn/arbiter.py", line 551, in manage_workers | |
webapp-python-1 | self.spawn_workers() | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/gunicorn/arbiter.py", line 622, in spawn_workers | |
webapp-python-1 | self.spawn_worker() | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/gunicorn/arbiter.py", line 589, in spawn_worker | |
webapp-python-1 | worker.init_process() | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/gunicorn/workers/base.py", line 142, in init_process | |
webapp-python-1 | self.run() | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/gunicorn/workers/sync.py", line 125, in run | |
webapp-python-1 | self.run_for_one(timeout) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/gunicorn/workers/sync.py", line 69, in run_for_one | |
webapp-python-1 | self.accept(listener) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/gunicorn/workers/sync.py", line 31, in accept | |
webapp-python-1 | self.handle(listener, client, addr) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/gunicorn/workers/sync.py", line 136, in handle | |
webapp-python-1 | self.handle_request(listener, req, client, addr) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/gunicorn/workers/sync.py", line 179, in handle_request | |
webapp-python-1 | respiter = self.wsgi(environ, resp.start_response) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/core/handlers/wsgi.py", line 131, in __call__ | |
webapp-python-1 | response = self.get_response(request) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/core/handlers/base.py", line 140, in get_response | |
webapp-python-1 | response = self._middleware_chain(request) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/core/handlers/exception.py", line 56, in inner | |
webapp-python-1 | response = get_response(request) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/utils/deprecation.py", line 136, in __call__ | |
webapp-python-1 | response = response or self.get_response(request) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/core/handlers/exception.py", line 56, in inner | |
webapp-python-1 | response = get_response(request) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/utils/deprecation.py", line 136, in __call__ | |
webapp-python-1 | response = response or self.get_response(request) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/core/handlers/exception.py", line 56, in inner | |
webapp-python-1 | response = get_response(request) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/utils/deprecation.py", line 136, in __call__ | |
webapp-python-1 | response = response or self.get_response(request) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/core/handlers/exception.py", line 56, in inner | |
webapp-python-1 | response = get_response(request) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/utils/deprecation.py", line 136, in __call__ | |
webapp-python-1 | response = response or self.get_response(request) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/core/handlers/exception.py", line 56, in inner | |
webapp-python-1 | response = get_response(request) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/utils/deprecation.py", line 136, in __call__ | |
webapp-python-1 | response = response or self.get_response(request) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/core/handlers/exception.py", line 56, in inner | |
webapp-python-1 | response = get_response(request) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/utils/deprecation.py", line 136, in __call__ | |
webapp-python-1 | response = response or self.get_response(request) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/core/handlers/exception.py", line 56, in inner | |
webapp-python-1 | response = get_response(request) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/utils/deprecation.py", line 136, in __call__ | |
webapp-python-1 | response = response or self.get_response(request) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/core/handlers/exception.py", line 56, in inner | |
webapp-python-1 | response = get_response(request) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/utils/deprecation.py", line 136, in __call__ | |
webapp-python-1 | response = response or self.get_response(request) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/core/handlers/exception.py", line 56, in inner | |
webapp-python-1 | response = get_response(request) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/core/handlers/base.py", line 197, in _get_response | |
webapp-python-1 | response = wrapped_callback(request, *callback_args, **callback_kwargs) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 55, in wrapped_view | |
webapp-python-1 | return view_func(*args, **kwargs) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/views/generic/base.py", line 103, in view | |
webapp-python-1 | return self.dispatch(request, *args, **kwargs) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch | |
webapp-python-1 | response = handler(request, *args, **kwargs) | |
webapp-python-1 | File "/home/app/web/holon/views/holon.py", line 52, in post | |
webapp-python-1 | for name, outcome in ETMConnect.connect_from_scenario( | |
webapp-python-1 | File "/home/app/web/holon/services/query_and_convert.py", line 55, in connect_from_scenario | |
webapp-python-1 | yield ETMConnect.upscaling(config) | |
webapp-python-1 | File "/home/app/web/holon/services/query_and_convert.py", line 70, in upscaling | |
webapp-python-1 | new_scenario_id = etm_service.scale_copy_and_send( | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/etm_service/__init__.py", line 105, in scale_copy_and_send | |
webapp-python-1 | return scale_copy_and_send_from_requests(scenario_id, holon_outcomes, data_requests) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/etm_service/__init__.py", line 148, in scale_copy_and_send_from_requests | |
webapp-python-1 | scenario_copy = next(ETMConnection('copy', scenario_id).connect(None)) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/etm_service/etm_session/__init__.py", line 55, in connect | |
webapp-python-1 | yield from self.session.send_request(requested_keys) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/etm_service/etm_session/copy.py", line 12, in send_request | |
webapp-python-1 | yield self._handle_response(requests.post(Config().api_url, json=payload)) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/etm_service/etm_session/copy.py", line 18, in _handle_response | |
webapp-python-1 | return super()._handle_response(response) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/etm_service/etm_session/session.py", line 32, in _handle_response | |
webapp-python-1 | self.fail_with(errors=response.json()['errors']) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/etm_service/etm_session/session.py", line 39, in fail_with | |
webapp-python-1 | raise ETMConnectionError(message) | |
webapp-python-1 | etm_service.etm_session.session.ETMConnectionError: scenario_id | |
webapp-python-1 | [2023-04-13 15:12:16 +0200] [982] [INFO] Worker exiting (pid: 982) | |
webapp-python-1 | Traceback (most recent call last): | |
webapp-python-1 | File "/usr/local/bin/gunicorn", line 8, in <module> | |
webapp-python-1 | sys.exit(run()) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 67, in run | |
webapp-python-1 | WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run() | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/gunicorn/app/base.py", line 231, in run | |
webapp-python-1 | super().run() | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/gunicorn/app/base.py", line 72, in run | |
webapp-python-1 | Arbiter(self).run() | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/gunicorn/arbiter.py", line 211, in run | |
webapp-python-1 | self.manage_workers() | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/gunicorn/arbiter.py", line 551, in manage_workers | |
webapp-python-1 | self.spawn_workers() | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/gunicorn/arbiter.py", line 622, in spawn_workers | |
webapp-python-1 | self.spawn_worker() | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/gunicorn/arbiter.py", line 589, in spawn_worker | |
webapp-python-1 | worker.init_process() | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/gunicorn/workers/base.py", line 142, in init_process | |
webapp-python-1 | self.run() | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/gunicorn/workers/sync.py", line 125, in run | |
webapp-python-1 | self.run_for_one(timeout) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/gunicorn/workers/sync.py", line 69, in run_for_one | |
webapp-python-1 | self.accept(listener) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/gunicorn/workers/sync.py", line 31, in accept | |
webapp-python-1 | self.handle(listener, client, addr) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/gunicorn/workers/sync.py", line 136, in handle | |
webapp-python-1 | self.handle_request(listener, req, client, addr) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/gunicorn/workers/sync.py", line 179, in handle_request | |
webapp-python-1 | respiter = self.wsgi(environ, resp.start_response) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/core/handlers/wsgi.py", line 131, in __call__ | |
webapp-python-1 | response = self.get_response(request) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/core/handlers/base.py", line 140, in get_response | |
webapp-python-1 | response = self._middleware_chain(request) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/core/handlers/exception.py", line 56, in inner | |
webapp-python-1 | response = get_response(request) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/utils/deprecation.py", line 136, in __call__ | |
webapp-python-1 | response = response or self.get_response(request) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/core/handlers/exception.py", line 56, in inner | |
webapp-python-1 | response = get_response(request) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/utils/deprecation.py", line 136, in __call__ | |
webapp-python-1 | response = response or self.get_response(request) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/core/handlers/exception.py", line 56, in inner | |
webapp-python-1 | response = get_response(request) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/utils/deprecation.py", line 136, in __call__ | |
webapp-python-1 | response = response or self.get_response(request) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/core/handlers/exception.py", line 56, in inner | |
webapp-python-1 | response = get_response(request) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/utils/deprecation.py", line 136, in __call__ | |
webapp-python-1 | response = response or self.get_response(request) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/core/handlers/exception.py", line 56, in inner | |
webapp-python-1 | response = get_response(request) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/utils/deprecation.py", line 136, in __call__ | |
webapp-python-1 | response = response or self.get_response(request) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/core/handlers/exception.py", line 56, in inner | |
webapp-python-1 | response = get_response(request) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/utils/deprecation.py", line 136, in __call__ | |
webapp-python-1 | response = response or self.get_response(request) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/core/handlers/exception.py", line 56, in inner | |
webapp-python-1 | response = get_response(request) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/utils/deprecation.py", line 136, in __call__ | |
webapp-python-1 | response = response or self.get_response(request) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/core/handlers/exception.py", line 56, in inner | |
webapp-python-1 | response = get_response(request) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/utils/deprecation.py", line 136, in __call__ | |
webapp-python-1 | response = response or self.get_response(request) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/core/handlers/exception.py", line 56, in inner | |
webapp-python-1 | response = get_response(request) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/core/handlers/base.py", line 197, in _get_response | |
webapp-python-1 | response = wrapped_callback(request, *callback_args, **callback_kwargs) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/views/decorators/csrf.py", line 55, in wrapped_view | |
webapp-python-1 | return view_func(*args, **kwargs) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/django/views/generic/base.py", line 103, in view | |
webapp-python-1 | return self.dispatch(request, *args, **kwargs) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/rest_framework/views.py", line 506, in dispatch | |
webapp-python-1 | response = handler(request, *args, **kwargs) | |
webapp-python-1 | File "/home/app/web/holon/views/holon.py", line 52, in post | |
webapp-python-1 | for name, outcome in ETMConnect.connect_from_scenario( | |
webapp-python-1 | File "/home/app/web/holon/services/query_and_convert.py", line 55, in connect_from_scenario | |
webapp-python-1 | yield ETMConnect.upscaling(config) | |
webapp-python-1 | File "/home/app/web/holon/services/query_and_convert.py", line 70, in upscaling | |
webapp-python-1 | new_scenario_id = etm_service.scale_copy_and_send( | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/etm_service/__init__.py", line 105, in scale_copy_and_send | |
webapp-python-1 | return scale_copy_and_send_from_requests(scenario_id, holon_outcomes, data_requests) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/etm_service/__init__.py", line 148, in scale_copy_and_send_from_requests | |
webapp-python-1 | scenario_copy = next(ETMConnection('copy', scenario_id).connect(None)) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/etm_service/etm_session/__init__.py", line 55, in connect | |
webapp-python-1 | yield from self.session.send_request(requested_keys) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/etm_service/etm_session/copy.py", line 12, in send_request | |
webapp-python-1 | yield self._handle_response(requests.post(Config().api_url, json=payload)) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/etm_service/etm_session/copy.py", line 18, in _handle_response | |
webapp-python-1 | return super()._handle_response(response) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/etm_service/etm_session/session.py", line 32, in _handle_response | |
webapp-python-1 | self.fail_with(errors=response.json()['errors']) | |
webapp-python-1 | File "/usr/local/lib/python3.9/site-packages/etm_service/etm_session/session.py", line 39, in fail_with | |
webapp-python-1 | raise ETMConnectionError(message) | |
webapp-python-1 | etm_service.etm_session.session.ETMConnectionError: scenario_id | |
^Ccanceled |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment