https://prefect.io logo
Title
t

Thet Naing

02/01/2023, 7:55 PM
Hi all, I am having trouble working with Prefect GitHub storage blocks in the latest version,
2.7.10
. I keep getting this error when attempting to run flows. Any idea what's going on?
Flow could not be retrieved from deployment.
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/prefect/engine.py", line 262, in retrieve_flow_then_begin_flow_run
    flow = await load_flow_from_flow_run(flow_run, client=client)
  File "/usr/local/lib/python3.10/site-packages/prefect/client/utilities.py", line 47, in with_injected_client
    return await fn(*args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/prefect/deployments.py", line 166, in load_flow_from_flow_run
    await storage_block.get_directory(from_path=deployment.path, local_path=".")
  File "/usr/local/lib/python3.10/site-packages/prefect/filesystems.py", line 916, in get_directory
    raise OSError(f"Failed to pull from remote:\n {err_stream.read()}")
OSError: Failed to pull from remote:
 Cloning into '/tmp/tmpabasdfprefect'...
fatal: could not read Username for '<https://github.com>': No such device or address
‼️ 1
1
m

Matt Harpe

02/03/2023, 4:08 AM
Same! I keep getting a similar issue
a

Arturo Martínez Pacheco

02/03/2023, 4:47 AM
Is a public repo or private ?
m

Matt Harpe

02/03/2023, 4:51 AM
Public
a

Arturo Martínez Pacheco

02/03/2023, 5:13 AM
You have tu put the url as GitHub gives it in the option of https, such as when you clone a repo
👍 1