Windmill

W

Windmill

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

Join

help

general

changelog

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 ?

Import API Documentation

Is there a possibility to import an API Dok to use it later in the scripts ?

Self-hosted instance workspace bulk migration

Hi all. I'm trying to migrate a workspace from a self-hosted windmill server to another running a newer version (v1.179.1 -> v 1.214). I was trying to find an easy method to do so, and i managed to export the workspace as a .zip file from the "Delete Workspace" menu, but i'm struggling to find an import process. The two instances run two different Postgres versions (12.x -> 16.x) so i'm not quite confident with the idea of just dump the db and restore it on the new instance. Could anyone suggest a recommended method for this type of task? Any advice or insights would be greatly appreciated. Many thanks in advance for your kind support....

Using invisible `drawer`

Hey all. I'm trying to refactor an app to not have drawer inside list component, and to set up a single invisible drawer outside of the list component, and use a lightweight button to open and close it. Now, opening the drawer with button is simple enough - but how, inside the drawer, do I reference data of the particular list item which button I clicked? Say, the list has id= a, it contains text component (b) and button ( c), and drawer has id= d. Drawer contains a text component e that is supposed to show value of a.result.selectedRow.b.result or something like that, but I can't figure it out. Please help....

Is there any plan to support Bitbucket?

Hello, our company uses Bitbucket (instead of Github or GitLab) and curious if there are any plans to supporting Bitbucket?

What permissions does the database user require?

I'm nearly there with my nix/oci-contaner based windmill deployment. But I'm getting: ``` Nov 22 12:57:12 mc-nix windmill_server[1378228]: Error: Migrating database: while executing migrations: error returned from database: role "windmill_user" does not exist Nov 22 12:57:12 mc-nix windmill_server[1378228]: ...

How do I send a response to client from a flow?

Hello, I have created a simple flow that accepts a string as an input, calls a ts action to do some operation on the string. I then tried to call this flow via postman. The flow execute perfectly but I noticed that it returns a GUID, instead of the string returned by the custom action. How do I configure the flow to return the string to postman?
No description

Why does this code sometimes work but 95% of the time it doesnt.

`import * as wmill from "windmill-client" import { Client } from "pg" import { from as copyFrom } from "pg-copy-streams" // Defining the type for Postgres resource...