ephraimbuddy commented on issue #35914: URL: https://github.com/apache/airflow/issues/35914#issuecomment-1831944415
I’m getting a different error than the reported error in https://github.com/apache/airflow/issues/35095. The error was reported in 2.5.3. When I revert the change, main currently report this: ``` [2023-11-29T13:49:52.170+0000] {app.py:1744} ERROR - Exception on /api/v1/dags/aaabug/dagRuns/manual__2023-11-29T13:48:51.980966+00:00/taskInstances/extract/logs/1 [GET] Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 2529, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1825, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1823, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1799, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) File "/usr/local/lib/python3.8/site-packages/connexion/decorators/decorator.py", line 68, in wrapper response = function(request) File "/usr/local/lib/python3.8/site-packages/connexion/decorators/uri_parsing.py", line 149, in wrapper response = function(request) File "/usr/local/lib/python3.8/site-packages/connexion/decorators/validation.py", line 399, in wrapper return function(request) File "/usr/local/lib/python3.8/site-packages/connexion/decorators/response.py", line 113, in wrapper return _wrapper(request, response) File "/usr/local/lib/python3.8/site-packages/connexion/decorators/response.py", line 90, in _wrapper self.operation.api.get_connexion_response(response, self.mimetype) File "/usr/local/lib/python3.8/site-packages/connexion/apis/abstract.py", line 366, in get_connexion_response return cls._framework_to_connexion_response(response=response, mimetype=mimetype) File "/usr/local/lib/python3.8/site-packages/connexion/apis/flask_api.py", line 165, in _framework_to_connexion_response body=response.get_data() if not response.direct_passthrough else None, File "/usr/local/lib/python3.8/site-packages/werkzeug/wrappers/response.py", line 314, in get_data self._ensure_sequence() File "/usr/local/lib/python3.8/site-packages/werkzeug/wrappers/response.py", line 376, in _ensure_sequence self.make_sequence() File "/usr/local/lib/python3.8/site-packages/werkzeug/wrappers/response.py", line 391, in make_sequence self.response = list(self.iter_encoded()) File "/usr/local/lib/python3.8/site-packages/werkzeug/wrappers/response.py", line 50, in _iter_encoded for item in iterable: File "/opt/airflow/airflow/utils/log/log_reader.py", line 87, in read_log_stream logs, metadata = self.read_log_chunks(ti, current_try_number, metadata) File "/opt/airflow/airflow/utils/log/log_reader.py", line 64, in read_log_chunks logs, metadatas = self.log_handler.read(ti, try_number, metadata=metadata) File "/opt/airflow/airflow/utils/log/file_task_handler.py", line 447, in read log, out_metadata = self._read(task_instance, try_number_element, metadata) File "/opt/airflow/airflow/utils/log/file_task_handler.py", line 335, in _read worker_log_rel_path = self._render_filename(ti, try_number) File "/opt/airflow/airflow/utils/log/file_task_handler.py", line 263, in _render_filename context = ti.get_template_context(session=session) File "/opt/airflow/airflow/models/taskinstance.py", line 2830, in get_template_context return _get_template_context( File "/opt/airflow/airflow/models/taskinstance.py", line 576, in _get_template_context validated_params = process_params(dag, task, dag_run, suppress_exception=ignore_param_exceptions) File "/opt/airflow/airflow/models/param.py", line 356, in process_params params.update(dag_run.conf) File "/opt/airflow/airflow/models/param.py", line 268, in update super().update(*args, **kwargs) File "/usr/local/lib/python3.8/_collections_abc.py", line 837, in update for key, value in other: TypeError: 'numpy.int64' object is not iterable ``` The UI issue is that you can't see logs -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org