Marco Barbero Mota
06/11/2023, 2:19 AMsqlite3.OperationalError: database is locked
when running a flow that was working perfectly yesterday?
I also tried
rm ~/.prefect/prefect.db && prefect server database reset -y
but the same error persistsMax Kolasinski
06/12/2023, 2:23 PMGio
06/12/2023, 9:20 PMkent
06/13/2023, 4:28 AMJosh Paulin
06/13/2023, 1:13 PMSlackbot
06/13/2023, 2:42 PMMatt Alhonte
06/13/2023, 6:48 PM18:44:38.783 | INFO | botocore.credentials - Found credentials in environment variables.
and eventually times out. I'm running the py
file that has the Flow as a script, and have this at the end:
if __name__ == "__main__":
for memory in [15360, 30720, 63398, 126899]:
base_args = make_deployment_args(flow_name1, memory, user="matt")
storage1 = S3Bucket.load(<name>)
deployment1 = Deployment.build_from_flow(
flow=nb_flow, storage=storage1, **base_args
)
memory2 = 14360
base_args2 = make_deployment_args(flow_name2, memory2, user="matt")
storage2 = S3Bucket.load(<name>)
deployment1 = Deployment.build_from_flow(
flow=nb_subflows, storage=storage2, **base_args2
)
It works fine when I run it interactively, but not in CI/CD.YSF
06/13/2023, 11:28 PMYSF
06/13/2023, 11:42 PMShane Breeze
06/14/2023, 7:40 AMAndré Dias
06/14/2023, 1:37 PMGio
06/15/2023, 9:13 PMSlackbot
06/16/2023, 6:45 AMMatt Alhonte
06/16/2023, 11:05 PMECSTask
and s3
storage, and an s3
filesystem.Brandon Bertelsen
06/19/2023, 6:45 AMJeff Hale
06/19/2023, 10:23 AMShivam Bhatnagar
06/21/2023, 10:59 AMNate
06/21/2023, 4:15 PMCong CHen
06/21/2023, 5:03 PMFlorent VanDeMoortele
06/22/2023, 10:52 AMPrefectSecret
allows me to switch between Secrets stored via Prefect cloud UI and secrets stored on my local file config.toml
. What's the solution to reproduce this feature with Prefect 2?Gemma
06/22/2023, 1:23 PM6/22/2023, 2:21:26 PM GMT+1 raise PrefectHTTPStatusError.from_httpx_error(exc) from exc.__cause__ dd7a2b4d0c864a29a45c7fb3be8e12e0 prefect-worker-dev
6/22/2023, 2:21:26 PM GMT+1 prefect.exceptions.PrefectHTTPStatusError: Client error '401 Unauthorized' for url '<https://api.prefect.cloud/api/accounts/df07584b-fc84-43cb-a012-4a733392bcb7/workspaces/aebc2199-ddcd-430f-b7f1-de9c172d3892/work_pools/my-ecs-pool>' dd7a2b4d0c864a29a45c7fb3be8e12e0 prefect-worker-dev
6/22/2023, 2:21:26 PM GMT+1 Response: {'detail': 'Invalid authentication credentials'} dd7a2b4d0c864a29a45c7fb3be8e12e0 prefect-worker-dev
6/22/2023, 2:21:26 PM GMT+1 For more information check: <https://httpstatuses.com/401> dd7a2b4d0c864a29a45c7fb3be8e12e0 prefect-worker-dev
6/22/2023, 2:21:26 PM GMT+1 Worker 'ECSWorker b98f1928-6596-4a06-83f1-84188da6d966' started! dd7a2b4d0c864a29a45c7fb3be8e12e0 prefect-worker-dev
Carlos Leyson
06/22/2023, 10:16 PMJovan Sakovic
06/23/2023, 4:02 PMKeyError: "No class found for dispatch key 'dbt-cli-snowflake-target-configs' in registry for type 'TargetConfigs'."
Nil
06/26/2023, 2:26 PMAttributeError: 'function' object has no attribute 'submit'
. Can you help me?Taylor Curran
06/26/2023, 4:50 PMJovan Sakovic
06/26/2023, 5:08 PMjob_variables
in a jinja template?YSF
06/26/2023, 6:34 PMjob_variables
to override the cpu and memory requestMatt Alhonte
06/27/2023, 1:51 AMUserWarning: A task named 'download_image' and defined at '/tmp/ipykernel_409/4031849273.py:14' conflicts with another task. Consider specifying a unique `name` parameter in the task definition:
YSF
06/27/2023, 3:16 AMSlackbot
06/27/2023, 6:43 AM