08/28/2023, 2:54 PM
Hi all, I am seeing this error at the end of my logs in the UI after my flow runs and completes succesfully with 'All States Completed' message. Is there a fix for this error?
Copy code
An error occurred while monitoring flow run '91dbfd89-4f43-431d-a3b2-7c2886448cd6'. The flow run will not be marked as failed, but an issue may have occurred.
Traceback (most recent call last):
  File "C:\Users\...\AppData\Roaming\Python\Python310\site-packages\prefect\workers\", line 834, in _submit_run_and_capture_errors
    result = await
  File "C:\Users\...\AppData\Roaming\Python\Python310\site-packages\prefect\workers\", line 177, in run
    process = await run_process(
  File "C:\Users\...\AppData\Roaming\Python\Python310\site-packages\prefect\utilities\", line 273, in run_process
    await consume_process_output(
  File "C:\Users\...\AppData\Roaming\Python\Python310\site-packages\prefect\utilities\", line 287, in consume_process_output
    async with anyio.create_task_group() as tg:
  File "C:\Users\...\AppData\Roaming\Python\Python310\site-packages\anyio\_backends\", line 597, in __aexit__
    raise exceptions[0]
  File "C:\Users\...\AppData\Roaming\Python\Python310\site-packages\prefect\utilities\", line 305, in stream_text
    async for item in source:
  File "C:\Users\...\AppData\Roaming\Python\Python310\site-packages\anyio\abc\", line 34, in __anext__
    return await self.receive()
  File "C:\Users...\AppData\Roaming\Python\Python310\site-packages\anyio\streams\", line 46, in receive
    decoded = self._decoder.decode(chunk)
  File "C:\Program Files\Python310\lib\", line 322, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 208: invalid continuation byte
Any advice? I think it is potentially slowing down my flow and sub flow runs. @Prefect