Windmill

W

Windmill

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

Join

help

general

changelog

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...

persistent WebSocket connections

Are Perpetual Scripts suitable for integrating real-time interaction services that require persistent WebSocket connections? If not, is there a way to achieve this with Windmill?

Runtime arguments

Is it possible to supply runtime arguments to deno scripts like --v8-flags=--max-old-space-size=xxx

BigQuery API did not answer query in time

I'm playing around with Windmill Cloud (trial). I've created a BigQuery resource and a SQL script that uses that resource: ``` -- @schema (string) -- @table (string)...

Background Runnable not triggering on App start

Hi, I have an App that loads the data it needs using a few background runnables that are configured to trigger on App start / refresh & input changes. However, none of these scripts are running when the app is loaded — I need to manually click the app refresh button to run them for the first time. When I do, they all run as expected without issue. I found this related thread (https://discord.com/channels/930051556043276338/1169575765063520326/1186334618681614396) but it seems that no cause was discovered....

Windmill Server Stuck On Boot [ docker ]

After a reboot to caprover, the windmill server stopped working (can't open page). Workers keep working fine. It gets stuck after deleting tokens from the DB....

Worker stuck in migration mode

Error: Migrating database: while executing migrations: error returned from database: cannot execute CREATE TABLE in a read-only transaction

Incorrect Run Time Estimation: Seeking Assistance to Correct a 4-Hour Miscalculation

One of my runs indicated that it took 14,831.792 seconds, which is approximately equal to 4 hours. However, in reality, it lasted about 1.5 hours. I'm here seeking support from someone who can verify what's incorrect with this estimation. Due to these calculations, I've exhausted all my computing resources and need to ensure their accuracy.