Windmill

W

Windmill

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

Join

help

general

changelog

Passing custom argument to deno CLI

Hi there ! I'm currently using windmill to synchronize data between database using some deno typescripts. Some API I'm posting on just changed their SSL Certificate a few days ago and I'm having this issue during the runtime :...

OIDC/proxied authentification support. Custom components (Svelte/Vue/React)

Hello! I'm really interested in your service! I read through the docs section on your website and I guess I may have overlooked answers to the questions I'd like to ask. If so, I apologise and would be grateful if you give me the right directions. As for the questions, can you please tell me whether Windmill can integrate or provide me with settings to the following services: 1. OpenID Connect. If there is no OIDC support is there a way for me to introduce a proxied authentification to my project? 2. Is it possible for me to create a brand-new custom component (using Svelte/Vue/React)? Or is there a way to customize your existing built-in components using the librararies or frameworks I mentioned earlier?...

Manual migration update?

I've been hit by this issue when upgrading to the latest version during migration:
while executing migrations: error returned from database: syntax error at or near "TRIGGER"
I believe the reason for this is that CREATE OR REPLACE TRIGGER syntax doesn't work in AWS Aurora PG 13. Now upgrading to 14 is something we can do but will need much more effort and testing. ...

OAuth Access Token does not renew automatically

I have a resource that refuses to renew its access token automatically, I am fetching it within a script using await wmill.getVariable('***') . The error I am getting in the script is as follows ```javascript ExecutionErr: ExitCode: 1, last log lines: 211 | const workspace = getWorkspace(); 212 | try {...

Change element status/states or ui spesific properties

Can I access the states of an element, such as a form element, hide, show, active, inactive, or color, width, height, etc., within the javascript code? Can I use it with the DOM? Or https://www.windmill.dev/docs/apps/app-runnable-panel#frontend-scripts-helpers Should I add frontend-scripts-helpers as in the frontend script helpers section?

Is it possible to import functions from workspace scripts inside Background runnables?

One (probably stupid) question - is it possible to import functions from workspace scripts inside Background runnables? The same import works in other workspace script, but results an error when added to background runnable: ``` --- PYTHON CODE EXECUTION --- ...

Chartjs options not working

Hi, do chartjs options actually work? I'm trying to scale the x axis properly (I have dates on the x axis). Specifying the "options" seems to have no effect. I'm trying to use following options: ``` { "scales": { "x": {...

Does windmill support routable pages or extracting params from URL?

For example if I have an ID of some object and I want to make a view for that object can I somehow make a URL for that dedicated view?

i am facing an issue in get webhook when parsing a query parameter

include_query=hub.mode,hub.challenge the query variable are hub.mode and hub.challenge but i cant use this in script as a syntax error export async function main(hub.mode,hub.challenge) { -----> this give syntax eror...

Working with (CSV) file output and python in scripts/workflows

Hello, I am working with an API that returns a large JSON response (like ~2MB). I am doing some transformation in python but then I want my python script to return this as a CSV file object (for use in a workflow step - to email or put in S3 bucket etc) which is proving a bit challenging for me. Is this achievable and if so, could anyone please share an example or pointer for how to have a python script return a (CSV) file? Thanks in advance!...

Search by component

I thought the search on the table component search all columns, but did not do any kind of lowercase or fuzzy search, just match on each prefix of the word in the columns. But now I have a job with "a lot" of rows (500) and cols (30). And the search do not hit what I expect it to hit.
I search "Breakfast" that is in the a column called "Title" but I get no hit on exast match....

Postgresql job crashing native worker

I believe I managed to accidently create a postgresql job/script that crashes the windmill native workers. I think its due to the select returning quite big numbers. I'm getting this log in my worker: `` thread 'tokio-runtime-worker' panicked at /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/rust_decimal-1.32.0/src/str.rs:30:15: called Result::unwrap() on an Err` value: CapacityError: insufficient capacity...

Embedding an App

Is it possible to embed a Windmill App into another site?

Can I use async main function in python?

I'm trying to use async function in script, but this error occured. When I delete async part in main, then this syntax error was not appeared. is there any way i can use async main in windmill? ExecutionErr: error during execution of the script: Error parsing code: invalid syntax. Got unexpected token Newline at byte offset 2210...
No description

How do I troubleshoot app components showing in the editor/preview view but missing when published?

Hi - I'm a brand new user. I am running in to an issue where any app component (button, dropdown,etc) shows in the preview and edit modes but when I view the published app, the window is completely blank. This happens even if I create a new app and just add a few simple components then save/publish. The chrome console shows no errors. Any pointers for how to troubleshoot this?
No description

I've killed the app editing UI

I seem to have managed to make my application editing UI unresponsive. I have to refresh the page to be able to interact with it again and then it crashes again. I'm self hosting and might have a problem with my websocket connection. Still investigating, but adding this as is doesn't seem right that I should be able to kill the stript editing UI in this way 🙂...
No description

crash

windmilldev-db-1 | 2023-11-29 19:07:23.202 UTC [1] LOG: server process (PID 439) was terminated by signal 9: Killed windmilldev-db-1 | 2023-11-29 19:07:23.202 UTC [1] DETAIL: Failed process was running: UPDATE queue windmilldev-db-1 | SET running = true windmilldev-db-1 | , started_at = coalesce(started_at, now()) windmilldev-db-1 | , last_ping = now()...

Exception when importing Python's CV2 lib

Cv2 was added to the list of libraries that are installed with one name, but used with another. However, it still doesn't work. ``` { "error": { "name": "ExecutionErr",...

Is there also an implementation planned for Google Bard and GCP

Hello is there also planned to have a Google Bard Integraton and/or GCP Integration ?