Windmill

W

Windmill

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

Join

help

general

changelog

Which deno version is used by worker ?

Recently the 3rd party api server has updated its min TLS version I am using axios to call their apis But axios uses native module like in nodejs, it uses http module & min/max tls version of axios is determined by http module which in turn by nodejs version SO which deno version is used in worker...

Suggestions on folder structure

1. Is it important to get folder structure right in the beginning? Will it be a pain to re-organize later? 2. How should I think about what to put in which folder? For example adding a new database resource that everyone should have access to...

Connection aborted with the large request body

with the large request body, it will happen the "Connection aborted" ``` def writeAiResultDoc(data): apiUrl = resource['LANGCHAIN_ERPNEXT_DEV_API_BASIS_URL']...

Updating the app UI from within a running script

Is there a way to broadcast information from within a running script that I could propagate to the UI? I have a single script that triggers another system, via subprocesses, and waits for the other system to complete. That system on startup prints a link for the status page of that system to stdout. I'd like to propagate that link to the UI, before the subprocess is finished and the script is done. I can currently see it in the logs element of the app, but it would be nice if I could extract that out separately so users don't have to search around for it in the logs....

Code completion is disabled in workspace settings

Is that because it's an EE feature or did I screw up running lsp? I'm running this myself (mimicking what helm does) in an air-gapped (no internet) environment...

Clarification on https://github.com/windmill-labs/windmill-community-integrations/issues/2

I am thinking about attempting this issue, but I don't feel that I'm getting the full picture. Can anyone address my queries?

How can we use inline script to get source for a download button?

I'd like to deliver a file via API on a press of download button, is it possible? Is download button component a right component for this?

Get a image from an api

Hello, we download a image from an api. And we want to send this image in slack channel The script below get our image, and another script send the image on slack. These two scripts are in a flow. How to pass this image from a script to another script ? How we should process ? We tried to encode it in utf8 and then encore it in base64 to send it, but the image don't work. If we don't encode it in utf8, windmill throw an error saying it's bad unicode character for the database ...

wmill sync push error

Hi, I'm hitting some cryptic errors trying to promote changes made on a staging workspace to a production workspace. I've noticed two problems when I try to push changes that are deployed and functioning on my staging workspace to production: 1. When I run wmill sync push --raw <skip-opts> --include-schedules, it fails with this error:...

Visual bug after update from .208 to .250 to modal form buttons

Hello, after instance update all my modal forms became like this, is there a quick fix, I don't want to recreate all of them from scratch?
No description

Delay in catching docker exit code in bash script

Toying around with scheduling a bash script that spins up a docker container to see if windmill would flag a job as failed if the container exited with 1. Inside the container is a py script that craps out with a sys.exit(1) in about half runs. Unless I set a "sleep" in the bash script windmill considers the run successful regardless of how the docker container exits. Anyone know why that is? ...

Postgres request throws ExecutionErr when trying to get value from field using enum.

We have a PostgreSQL database that we want to query. in one of the tables we use an enum as a type for one of the columns.
create type conversion_history_status_enum as enum ('done', 'failed');
create type conversion_history_status_enum as enum ('done', 'failed');
Performing just a basic SELECT status FROM conversion_history will throw this error:...

Renaming background runnable IDs?

Is it possible to rename background runnable IDs? Being able to name component IDs is super helpful for organizing, but I can't tell if this is implemented for background runnables.

Facing error when migrating windmill from our prod instance to staging one

I am trying to migrate production windmill environment to staging windmill environment. I have ran command "wmill sync pull" on prod workspace to pull everything from prod windmill, then switched workspace to staging one and ran "wmill sync push" but it throws error "Sql error: error returned from database: new row violates row-level security policy for table "folder" Server failed. Bad Request: Sql error: error returned from database: new row violates row-level security policy for table "folder"" ...
No description

Trouble Connecting to Self-Hosted Instance Using CLI

Hello I have an instance hosted on AKS and I am trying to activate git integration on a workspace, but when I try to add the workspace using the following command I get an error:
wmill workspace add test-workspace test-workspace https://windmill.northshore.io/ ? How do you want to login >> Token ? Enter your token >> <TOKEN PASTED HERE>...

Default database for Postgres scripts?

I'd like to be able to provide a defined resource as a default value for the Database input on a Postrgres script. It doesn't seem possible within the script itself (database seems to be a required input, and I can't seem to configure a default value). I've tried to use an App to call the script, and I'm able to provide the default value, but see this error when I try to run: "Bad request: For security reasons, variable or resource access is not allowed as dynamic argument" Is there any way to provide a default resource for a postgres script/app? Ideally, app users won't need to know/provide the resource that they are executing against....

Is the issue of slectedRow fixed in newer verisons?

Hello I am on 1.208.0 And I am still experiencing the issue when the data in the table gets changed, that the changes do not affect selectedRow data, this is a big issue when we have one row, cause selecting a different row will refresh the data.

Help with Base64 - python - polars column Names

Hey guys I am trying to figure out if I am doing this right. I have figured out to how to read and decode a csv file in python, but when I return a polars dataframe it is missing columns names and just giving me numbers. Am I missing something?
No description

Python depencies - install from github repo

The following syntax at the top of my python script fails to deploy with: pip._internal.exceptions.DistributionNotFound: No matching distribution found for maxpanda-python-sdk ``` extra_requirements: maxpanda-python-sdk @ git+https://git@github.com/renovoenergy/maxpanda_python_sdk.git...

Cloud pricing maximum users

Hey folks, migrating from airplane.dev here, question about windmill cloud pricing - it seems like the team pricing from https://www.windmill.dev/pricing has a max of 10 users, then you're forced to switch to the enterprise tier which is 4x as expensive per user and 80x more expensive for the base fee? Is there no way to add more seats to the team plan here? We don't need all the other enterprise features, just hoping to add more user accounts (I know the difference between developers and operat...