Windmill

W

Windmill

Join the community to ask questions about Windmill and get answers from other members.

Join

help

general

changelog

Having trouble running python scripts that depend on packages from AWS codeartifact.

We're an enterprise customer, Vareto, and we self host. We use amazon web services (AWS) CodeArtifact to publish our python packages, and we need Windmill to use our index when setting up python environments. The problem is that AWS expects the url to contain a token, and the token expires after at most 12 hours. Using the enterprise "Pip Index Url" and "Pip Extra Index Url" features doesn't solve the problem because there is no way to periodically update them with a new token. In the past, we got around this by having windmill periodically trigger a script on the workers which would update the $HOME/.config/pip/pip.conf file on the worker with a new index-url. Similar to this:...

AI completion

I'm getting an error with my AI set up: log: ```...

Output is wrapped in a promise

Hello, I have a flow with scripts in it. The problem is that one of the scripts behaves differently from the others. It returns an object, but when I try to access this object in an if statement (or just pass it to another inline script), I can't access its attributes because the entire object is wrapped in a promise. Before returning this object, it's definitely a regular JavaScript object, but after returning, it gets wrapped. What could be wrong?

Creating a resume URL for an approval step in advance?

In our usecase, we need to generate a callback URL, send it to an external service (so that it can use the callback URL as a webhook), and then use it in the approval step so that it waits for the trigger. My naive assumption was that it's possible to have 2 steps: the first one with a call to getResumeURLS() and then, in the second, pass it to the Approval node. It turned out, however, that the endpoint path is generated relative to the node and job that call the method. ...

Reset super admin

Hello everyone. I am unable to log into my account (EE) because the Microsoft integration has expired and I am unable to log in (via Microsoft sign in) to fix the issue. Can anyone help?

Question on scaling strategy in Docker

We have defined a set of worker groups (small / med / large) in our compose file, in line with our license, with a certain memory cap. We are running into issues though where sometimes, processes are killed due to excessive memory use, while sufficient memory is still available on the system. We see a big reduction in complexity & better use of resources if we could just set a total memory pool to docker / windmill (e.g. 8GB) & then define a single worker group which can then be used for all job...

Python Import Error

Can anyone help with this error? It's a simple script for testing. This script works locally on my pc as well. Source code: ```import logging...

what's a windmill server, and what's a windmill client ?

Is the server just means backend and client the frontend in the github repo respectively ? they serve as editor , and a windmill worker is just exectutor of script, flow and app. Is that right ?

Are there any naming rules for the creation of a group

when naming a group, a there any namig rules?I ask this because i tried to create a group with 2 words,separeted by 'space' and it gives me an sql errror. I would like to know if there´s any more rules to follow

Error with Windmill in Coolify

I've got a fresh instance of Windmill in Coolify. The only other thing managed by Coolify is Supabase, all of which are on the same VPS. I'm trying to connect to Supabase's postgres DB with Coolify, but when I attempt to test the connection, I see this error. Connection did not resolve after 5s or job did not start. Do you have native workers or a worker group listening to the proper tag available?...

Windmill Worker Chromium Installation Failure

Hi guys, wanted to see if anyone else had this issue. I am using the standard docker-compose.yml for chromium workers but get this issue. ExecutionErr: ExitCode: 100, last log lines:...

Tooltip on button

Is there any way to add a tooltip to a button via the app editor? Or on a column's header?

Determining if job is suspended with API

Hi, is there a way to determine if a job is in the suspended state using the Windmill API? I've looked at the frontend code and it seems to use JobService for this, but that is hidden. Is there also a way to determine what the resume/cancel URLs are for a suspended run?

No logs when triggering script with curl

I setup windmill using docker compose as per docs. Then I created a simple app to print input to stdout. When I trigger the script from the UI, I can see logs of the script running from UI. However, it doesn't show any "run" when I trigger it using curl (I get expected result similar to when I trigger from UI). Is this intentional behavior?

Consistently getting error when executing scripts with HTTP triggers

We are using version 1.418.0. We have setup some scripts to run via HTTP triggers If we run the scritps directly everything workds when but we call the HTTP endpoint it is almost always fails with the following error ExecutionErr: error during execution of the script: job process killed because Cancelled...

One time schedule

Hey, I couldn't find any reference to make a one-time schedule via API? I would like to schedule a flow/script to be ran just at a certain time (Preferrably given via a unix timestamp or such)...

chromium tag code doesn't work suddenly.

The following code used to work fine, but at some point it started closing automatically whenever I open a new page. Can anyone help me with this? I'm using the cloud version and using the built-in chromium tags. Here's the code I used to check the behavior
No description

error: Top-level await promise never resolved

I have a script using typescript deno that is querying a MongoDB atlas database. When either of the collection querying methods (.find or .findOne) take too long, windmill throws this error
error: Top-level await promise never resolved
await run();
^
at <anonymous> (file:///tmp/windmill/wk-default-e2b39e03fc37-DlTlU/01938d90-f94d-cd94-9e2a-95a351ab7870/wrapper.ts:29:5)
error: Top-level await promise never resolved
await run();
^
at <anonymous> (file:///tmp/windmill/wk-default-e2b39e03fc37-DlTlU/01938d90-f94d-cd94-9e2a-95a351ab7870/wrapper.ts:29:5)
...

Copy paste text from HTML component in App

We are heavily using the HTML component to render data in apps. Is there a way for users to copy paste the context of this component in a deployed app?

Log anonymous app usage

Hi all - we are sending some statistics to App Insights at the end of our flow. We use WM_EMAIL to log who runs a flow, but this is also filled out for flows triggered by an anonymous run app (aka a user is not logged into Windmill). Is there a way to log if a user is actually logged in, or not? Thanks!