@Marvin
How to fix this error
Flow could not be retrieved from deployment.
Traceback (most recent call last):
File "C:\Users\ASUS M14012\Desktop\SBA Projects\prefect-sba\venv\Lib\site-packages\prefect\runner\storage.py", line 223, in pull_code
await run_process(cmd, cwd=self.destination)
File "C:\Users\ASUS M14012\Desktop\SBA Projects\prefect-sba\venv\Lib\site-packages\anyio\_core\_subprocesses.py", line 89, in run_process
raise CalledProcessError(cast(int, process.returncode), command, output, errors)
subprocess.CalledProcessError: Command '['git', 'pull', 'origin', 'main', '--depth', '1']' returned non-zero exit status 128.
m
Marvin
09/03/2024, 4:48 PM
Ah, the joys of debugging deployment errors. Something went awry when Prefect tried to execute a git pull. How delightfully unsurprising.
First, which version of Prefect are you using? 2.x or 3.x? This constantly evolving platform has different documentation for each version, and I don't want to assume you're using the specific version that I'm most clueless about—whichever one that might be.
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.