Wellington Braga
03/16/2023, 6:35 PMMohammad Kaif Rizvi
03/17/2023, 6:03 AMPreeti Mandole
03/17/2023, 10:05 AMKoushik A
03/17/2023, 5:06 PMWellington Braga
03/17/2023, 7:00 PMmerlin
03/18/2023, 6:18 PMmerlin
03/18/2023, 6:43 PMArthur Ren
03/20/2023, 3:57 PMssingh
03/21/2023, 8:13 PMYSF
03/22/2023, 9:45 PMtoken = self.bitbucket_credentials.token.get_secret_value() AttributeError: 'NoneType' object has no attribute 'get_secret_value'
does anyone have any ideas? The blocks UI does suggest personal access token is optional. Unless it's 'optional' in case it's a public repoRachelle Greenfield
03/28/2023, 6:50 PMkai wang
03/29/2023, 5:41 AMkai wang
03/29/2023, 6:34 AMkai wang
03/29/2023, 7:06 AMkai wang
03/29/2023, 7:36 AMkai wang
03/29/2023, 3:23 PMAnthony Finocchiaro
03/29/2023, 5:26 PMkai wang
03/30/2023, 4:15 AMRyan Peden
03/30/2023, 4:32 AMDeployment
class, as demonstrated here: https://docs.prefect.io/api-ref/prefect/deployments/?h=build_from_flow#prefect.deployments.DeploymentSlackbot
03/30/2023, 3:17 PMZach Massia
03/31/2023, 3:41 AMpyodbc
? I keep running into pyodbc.ProgrammingError: No results. Previous SQL was not a query.
I'm getting a crash, which ends up hanging the terminal. On my Windows laptop I must close the terminal as Ctrl+C
does nothing (on Linux I get an even longer trace).
I have been able to reproduce with a minimal ~30 line example. Here is the example code, it's output, as well as the longer trace from my full program: https://gist.github.com/ZachMassia/efe79e6853afdf20b367ff5bbd2825f3
Thanks in advance if anyone can point me in the right direction!Jason
04/01/2023, 3:01 PMdocker run -t --network=bc-dev_default -v /home/j/project/sales:/src sales_ingest:v002 --filename=/src/sales.csv
Here is the tail of the error:
ValueError: Unable to find block document named postgres-dev for block type sqlalchemy-connector
The name matches the block named shown in the UI.
Here is my Dockerfile
FROM python:3.9
RUN apt-get install wget
WORKDIR /app
COPY requirements.txt .
COPY ingest_sales_flow.py ingest_sales_flow.py
RUN pip install -r requirements.txt
ARG PREFECT_API_URL
ENV PREFECT_API_URL=$PREFECT_API_URL
ENTRYPOINT [ "python", "ingest_sales_flow.py" ]
Ryan Peden
04/01/2023, 3:27 PM<http://host.docker.internal:4200>
.
If you're running Docker on Linux (and not Desktop Desktop on Windows or macOS) you'll also need to add --add-host=host.docker.internal:host-gateway
to your docker run
command.Jason
04/01/2023, 6:27 PMJason
04/01/2023, 9:27 PMJason
04/02/2023, 3:18 AMGOWRAV TATA
04/03/2023, 5:22 AMAustin Weisgrau
04/04/2023, 9:47 PMMissingResult: State data is missing. Typically, this occurs when result persistence is disabled and the state has been retrieved from the API.
Rerunning the flow generally seems to take care of it. Has anyone else seen this / dug into what is causing it? This happens frequently with long running flows.Sam Debruyn
04/05/2023, 7:13 AMEmma Rizzi
04/05/2023, 9:12 AM