Windmill

W

Windmill

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

Join

help

general

changelog

Python imports

I am trying to import Azure's DocumentIntelligenceClient with the statement: from azure.ai.documentintelligence import DocumentIntelligenceClient but keep getting the error: ModuleNotFoundError: No module named 'azure' ...

Triggering a script using a synchronous webhook from another script within a self-hosted Docker

Hi all! Windmill and Docker semi-noob here, running into an issue for the last 2 hours I can't seem to figure out. I am trying to call a script from another script within the same docker container. I am able to get it to work async, but when I try to do it async, it seems to trigger the script, but it runs indefinitely and never returns anything. Nor can I see any logs of relevance. I'm using http://windmill_server:8000 as the base of the route, and feel like the issue is related to them both being on the same docker/network. If anyone has any insight on how to use syncronous webhooks to trigger scripts I'd be immensely appreciative. Thank you!...

404 resource not found

I am getting the following error. I don't see any reference to a_user anywhere in my code or input/output http://localhost:37761/api/w/spacename/resources/get_value_interpolated/u/username/flowname/a_user: 404, Not found: Resource u/username/flowname/a_user not found...

auto scaling workers

Did anyone figure out how to get the workers to auto scale depending on workers waiting for work or some other arbitrary metric that’s not just cpu and men?

Query params as input args

Is it possible to use query parameters as input args in a script or flow? Current use case is validating a subscription request to MS Graph which sends a validationToken as a query param with no option to pass it as a header. I can envision plenty of other use cases for this as well especially where requests are from sources out of the Windmill operator's control.

Migrating content to another Windmill instance

I have a corp client that is taking forever to make a decision on how they're going to license Windmill. In the meantime, I've been building their integrations using a free cloud instance. I'm curious, is there a documented process for migrating all content from one Windmill instance to another if that becomes a necessity?

will I be forced into prohibitively expensive paid plans later on?

Have been using Pipedream for a few years. Saw your mention of Pipedream in your compare pages, and it looks encouraging. But I'm a small business owner who likes to fiddle with stuff in my spare time to make running my business easier. A couple of years ago I put a lot of effort into setting up workflows in Pipedream, only last year they changed all their plans and arbitrarily made certain (what you call) Resources (they call them Accounts) part of premium plans only. Which means the workflows ("Flows" in windmill) suddenly locked me out of any editing. They continue to work, but as my business changes (like all businesses do) I found I could not edit the workflows anymore to update them. This is pretty annoying - letting me put all that effort in only to try to force me onto a higher paid plan because I have so-called "premium" resources involved. And I know that at their end, the effort required to make a call to Gsheets is exactly the same as making one to Mailchimp or Xero or Airtable or Woocommerce or Stripe or AWS SES. All of which I use. They are just API calls and it leaves a bad taste in my mouth when they try to convince me that I should suddenly pay more for some of them but not others. To be clear, I am not looking to get "perpetually free" service. Windmill looks really cool and as long as I am aware up front of what the costs will be, I'm happy to start putting in the work. I just don't like to be told one thing then forced into a different direction later on. I would be happy to pay for things like "increased speed" or for services that can outright replace some of the tools I currently pay for (i.e. redirect the payments from that service to you), but not for arbitrarily restricted functionality....

One time payment or life time deal

Hey, do you offer one time payment or life time deal ? What is the cost of whitelabel ?...

How can you change account email address on self-hosted?

How can you change account email address on self-hosted?

infinite table change limit

Is there a way to change the ‘limit’ of infinite table? Currently, the default value is 100.

Jobs get terminated by windmill

I've been seeing jobs terminate with the following error: ``` ExecutionErr: error during execution of the script: process terminated by signal: Some( 9,...

Default python script failing to run on 1.344.3

Everything described relates to freshly installed Windmill 1.344.3 in Kubernetes environment. Steps to reproduce 1. Open interface. 2. Click "+ Script" 3. In popover click Python...

Sourcing PowerShell scripts from other PowerShell scripts

There's a PowerShell script A, created using Windmill's web IDE, and another PowerShell script B, both in the same folder. There are some functions defined in A that I wish to use in B. However, I can't seem to properly source them (PowerShell can't find the module file). I've tried Import-Module ./A.ps1, Import-Module /f/folder/A, ./A.ps1, Import-Module /f/folder/A.ps1, to no avail. Using a similar notation in Python, however, seems to work perfectly fine, suggesting that it's some issue particular to PowerShell. Any ideas? Thank you in advance!...

mysterious error message on s3 upload fail

Failed to load resource: the server responded with a status of 413 () utils.loH92X2p.js:112 An error occurred while uploading the file, see server logs Where do I find the server logs relevant to this failure?...
No description

mismatched script arguments?

Error during execution An error occured, please contact the app author. error during execution of the script: expected 1 parameters but got 2...
No description

AgCharts going blank

Hello, I'm currently trying out the different chart widgets / libraries and have noticed that with the AgCharts for me they go blank as soon as I change the tab and come back (see picture). This even happens with the standard example (like in the screenshot). I can get the display back if I make a change in the code, for example remove a value and add it again, however as soon as I change the tab, the same thing happens. This seems to be only in JSON view, it doesn't happen in the UI Editor mode...
No description

Not understanding how to use setValue control for a Toggle

I am having difficulties understanding how to set a toggle as true or false from a Python script. I was trying to have it be tied to another component's (lets call it x) result when I hit a button but it only reevaluates the toggle when the result of x has changed, not anytime that it runs or the button is pressed. So I started to learn about the setValue control for toggles as a possible solution for this but am unsure how to reference that control and everything I need to import to make this work. Do I have to use javascript instead of Python? If not what besides "import setValue from windmill" should I have imported? i see that this is the proper syntax for it: setValue(id: string, value: any)...

Decorators with def main() not working in python

I am running into the following issue when I use a decorator with def main() ``` error: ExecutionErr: error during execution of the script:...
Next