• Joseph Loss

    Joseph Loss

    1 year ago
    Does anyone know what is going on here? In every task, I use logger = prefect.context.get('logger') and then call logger.info(), logger.debug(), etc.
    D:\venv\poetry\.venv\lib\site-packages\prefect\utilities\logging.py:123: 
    UserWarning: Failed to write logs with error: 
    ClientError('400 Client Error: Bad Request for url: <https://api.prefect.io/graphql>\n\n
    
    The following error messages were provided by the GraphQL server:\n\n    
    INTERNAL_SERVER_ERROR: Variable "$input" got invalid value null at\n        
    "input.logs[0].flow_run_id"; Expected non-nullable type UUID! not to be null.\n    
    
    INTERNAL_SERVER_ERROR: Variable "$input" got invalid value null at\n        "input.logs[2].flow_run_id"; Expected non-nullable type UUID! not to be null.\n    
    
    INTERNAL_SERVER_ERROR: Variable "$input" got invalid value null at\n        "input.logs[4].flow_run_id"; Expected non-nullable type UUID! not to be null.\n
    Joseph Loss
    Chris White
    +1
    8 replies
    Copy to Clipboard
  • Braun Reyes

    Braun Reyes

    1 year ago
    are there any plans to add webhook as an action for automations?
    Braun Reyes
    m
    +2
    10 replies
    Copy to Clipboard
  • e

    Enda Peng

    1 year ago
    I have a project with this structure. The two flows have some shared functions and configs.  project/ • flow1.py • flow2.py • utils/ • config/ I’d like to pack two flows in one docker image but I don’t see a prefect command which can help me do so. e.g if I speficy storage for both flow1 and flow2 with the same image name, they will overwrite each other when I call
    prefect register
    So I try to replicate the behavior of building storage by writing my own dockerfile. A question here is how does the file
    healthcheck.py
    and
    flow1.flow
    come into scope? Below is the output after I call register command with docker storage
    Step 7/12 : COPY flow1.flow /opt/prefect/flows/flow1.prefect
     ---> ea7572a6c0e7
    Step 8/12 : COPY healthcheck.py /opt/prefect/healthcheck.py
    e
    Kevin Kho
    7 replies
    Copy to Clipboard
  • t

    Trevor Kramer

    1 year ago
    Is there any way to see in the cloud ui what executor the flow is registered with? I'm not seeing the task concurrency I am expecting and want to confirm the executor settings.
    t
    Kevin Kho
    9 replies
    Copy to Clipboard
  • j

    jaehoon

    1 year ago
    Does anyone know what is going on here? when getting api responses from google-ads, I keep getting this error
    Unexpected error: ReferenceError('weakly-referenced object no longer exists')
    on prefect Run logs api res count is almost 2000, error no occurs in local env someone please help me..!
    j
    Kevin Kho
    9 replies
    Copy to Clipboard
  • Stéphan Taljaard

    Stéphan Taljaard

    1 year ago
    Hi. I was looking for more information on tenants on the docs site, but only found brief mentions here and there. I found someone with a similar question. Are there any plans to expand on the docs? What exactly is the role of a tenant, do I still need to run
    prefect server create-tenant
    when using prefect server?
    Stéphan Taljaard
    m
    3 replies
    Copy to Clipboard
  • Kostas Chalikias

    Kostas Chalikias

    1 year ago
    Hey team, somehow today our agent is not picking up any flow runs to run. The last run happened around 24 hours ago, and since then it's gone quiet, I restarted it and it just sits there reporting
    Waiting for flow runs...
    We are cloud users, and we don't think we touched anything at all since it was last healthy (it was a bank holiday here yesterday in fact)
    Kostas Chalikias
    Jenny
    +1
    32 replies
    Copy to Clipboard
  • t

    Talha

    1 year ago
    Hi,,
  • t

    Talha

    1 year ago
    Is it possible in Prefect to invoke R script with-in a task. I have a code in R script and that can only run in the R-studio, I don't want to convert it into python. How can I invoke that R code with prefect. Is there an interface between R and Prefect
    t
    Stéphan Taljaard
    +1
    51 replies
    Copy to Clipboard