Mohammed Siddiqui
04/18/2023, 7:23 PMJohn Horn
04/18/2023, 7:23 PMMatt Alhonte
04/18/2023, 7:56 PMDominic Tarro
04/18/2023, 9:47 PMpdoc3
. It works up until I hit a custom implementation of prefect.serializers.Serializer
. The error involves the class's __dispatch_key__
.Ofir
04/18/2023, 9:56 PMLeela Surya Teja Mangamuri
04/19/2023, 12:22 AMLeela Surya Teja Mangamuri
04/19/2023, 12:22 AMAnkit
04/19/2023, 7:00 AMa lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. '<http://example.com|example.com>', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*'
Is there something that can be done without updating the password as the same database is being used at multiple places and changing the password would be a lotAndreas Nord
04/19/2023, 9:17 AM08:17:45.635 | INFO | prefect.infrastructure.process - Process 'prudent-worm' exited cleanly.
Failed the last 3 attempts. Please check your environment and configuration.
Examples of recent errors:
Full stack trace in commentStephen Lloyd
04/19/2023, 10:29 AMRhys Mansal
04/19/2023, 12:28 PMflows.schedule_flow_runs
which would solve this. Could we be provided a method of setting this or for the configuration to be made to our workspace? Thank you.Emma Rizzi
04/19/2023, 12:37 PMCharles Leung
04/19/2023, 5:06 PMJoseph Loss
04/19/2023, 5:08 PMJoseph Loss
04/19/2023, 5:32 PMLeela Surya Teja Mangamuri
04/19/2023, 6:30 PMZachary Loertscher
04/19/2023, 6:52 PM<https://api.prefect.cloud/api/accounts/><>/workspace[…]2d2/task_runs/<>/set_state
endpoint. It kicks off the flow just fine (airbyte connection) but quickly runs into this error:
self._records_synced = job_info["attempts"][-1]["attempt"].get(
IndexError: list index out of range
Any ideas? Version info:
• Running on an EC2 (also get the error locally), hitting Airbyte version 0.36.2-alpha
>prefect version
Version: 2.8.7
API version: 0.8.4
Python version: 3.8.16
Jean-Michel Provencher
04/19/2023, 7:18 PMAbhinav Chordia
04/19/2023, 9:02 PMAbhishek Mitra
04/19/2023, 9:43 PMMike Safruk
04/19/2023, 9:46 PMFlow could not be retrieved from deployment. Traceback (most recent call last): File "<frozen importlib._bootstrap_external>", line 879, in exec_module File "<frozen importlib._bootstrap_external>", line 1016, in get_code File "<frozen importlib._bootstrap_external>", line 1073, in get_data FileNotFoundError: [Errno 2] No such file or directory: '/opt/flow-code.py' The above exception was the direct cause of the following exception: ScriptError: Script at 'flow-code.py' encountered an exception: FileNotFoundError(2, 'No such file or directory')
Has anyone seen this before? Any tips on where to spend time troubleshooting?Leela Surya Teja Mangamuri
04/19/2023, 10:30 PMCharles Leung
04/19/2023, 10:47 PMScott Walsh
04/20/2023, 3:03 AMNikhil Joseph
04/20/2023, 9:08 AMflapili
04/20/2023, 10:29 AMMatheus Rocha
04/20/2023, 1:31 PMprefect project init
I'm facing this error: No such command 'project'
Tarek
04/20/2023, 1:34 PMFederico Zambelli
04/20/2023, 1:37 PMclass MyClass:
@task
def doStuffWithArgs(self, myArg: str):
...
def doStuffWithoutArgs(self):
...
@flow
def doMoreStuff(self):
self.doStuffWithArgs("stuff")
self.doStuffWithoutArgs()
You will see that for doStuffWithArgs
Pylance complains that no overload matches that call (see screenshot):Deceivious
04/20/2023, 1:42 PMpefect2-worker-dev
[image below]. When I try to execute a flow run in that infrastructure, it gives out the following error.
Submission failed. kubernetes.client.exceptions.ApiException: (403) Reason: Forbidden HTTP response headers: HTTPHeaderDict({'Audit-Id': 'e6<<SOME STUFF HERE>>37:14 GMT', 'Content-Length': '330'}) HTTP response body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"jobs.batch is forbidden: User \"system:serviceaccount:prefect2-worker-dev:prefect-worker\" cannot create resource \"jobs\" in API group \"batch\" in the namespace \"default\"","reason":"Forbidden","details":{"group":"batch","kind":"jobs"},"code":403}
I am unsure as to what actually determines which namespace the job is created in. [prefect v2.10.4 on python 3.10]