Closed nicholasjng closed 2 years ago
Quick follow-up: I can confirm that this issue does not occur on my local development machine (macOS M1). Specs are the following:
➜ prefect version
Version: 2.0.4
API version: 0.8.0
Python version: 3.10.6
Git commit: 39db6fb1
Built: Wed, Aug 10, 2022 1:19 PM
OS/Arch: darwin/arm64
Profile: default
Server type: ephemeral
Server:
Database: sqlite
SQLite version: 3.39.2
Quick log showing the expected baseline results:
20:33:26.892 | INFO | Flow run 'pearl-swift' - Finished in state Completed()
20:33:27.651 | INFO | prefect.infrastructure.process - Process 'pearl-swift' exited cleanly.
If encountered, ensure that PYTHONUTF8=1
is set when starting the agent.
If encountered, ensure that
PYTHONUTF8=1
is set when starting the agent.
Yes, that fixes it. I guess this can be closed.
@zanieb Thanks for this! Can you please explain how to set PYTHONUTF8=1? Is this an environment variable? Is it sufficient to add in to my user/system environment variables?
First check
Bug summary
When running a flow to completion in Prefect on Windows via a Prefect agent tied to a deployment, I encounter an exception related to the decoding of some data chunks in the shutdown process.
Reproduction
Error
Versions
Additional context
No response