Windmill

W

Windmill

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

Join

help

general

changelog

How to sync scripts from windmill cloud to local dev machine

I am trying to sync my scripts from windmill cloud to windows but even though I am able to sync the workspace - it doesnt sync the script I just created on the server when using cli command: "wmill sync pull". Do you have any ideas?...
No description

Where do I configure the default JSON formatter?

I'm getting a browser alert when I try and pass in json to a script as input saying I need to set a default JSON formatter. I can't find where to set that.
No description

How to use shared libraries, like ZBar for example (from Python)

I use a Windmill flow to analyze PDF-Files which user upload. The PDF-Files include a QR-Code, which i need to decode using pythong. But how can I install libzbar, to decode the QR-Code?

Global error handler

Is the env GLOBAL_ERROR_HANDLER_PATH_IN_ADMINS_WORKSPACE supposed to work in the self-hosted version? I tried to set it to "script/<script path>" but it never triggers....

Share file that is produced by a container running in a worker

Hi all! So I'm trying to get as a result of a step a xml file that is produced by a container. I've configured the step as docker bash script and, among several tries, I thought that I could mount the './shared' path. I get the error that the path does not exist. ...

Results caching for imported scripts

I’m using result caching in my Python script. When I run it from the Windmill UI, the cache works as expected. However, when I import the function from that script and use it in another Python script, the cache doesn’t work, and the function is recalculated every time. Please tell, how can I enable result caching in this case?

[Windmill Flow] Windmill Flow shared folder not deleted after job done

I still have files on 3 days ago. why files not deleted after job is completed? dir: /tmp/windmill/wk-default-workerID/job_id...
No description

How to add a while loop in a flow?

it looks like there's no option to add a while, and docs doesn't exactly show me how to do it
No description

AD Module - Windmill Powershell

Hello everyone, I have just come across Windmill and wanted to test it in my local environment. I have now set it up using Docker on a Linux server and would like to build a Powershell script. The script as such works fine, but I can't install the necessary AD module. Is this generally not provided for in Windmill or do I still have to do some steps here, which appear in the documentation?...
No description

Hey guys im getting an error using PyMuPDF python lib

Each time that i run this on windmill i get: ImportError: cannot import name 'Sequence' from 'collections' (/usr/local/lib/python3.11/collections/init.py) pymupdf==1.25.1 ...
No description

[Windmill App] How to use Display: Inline-Block or Flex

Hi, I need help to use Display Inline-Block or Flex. As you may see at the attachment, if I set display: Block, I can see the image. However if I set display: inline-block or flex, it disappears.
No description

Change Date Format under Deployment History

Hello, two questions 1) I am wondering if it is possible to change the date format under deployment history to be displayed as MM/DD 2) Is it possible to display Year as well - MM/DD/YYYY...

windmill worker debug logging

I want to debug through print or try statements in windmill worker(python), is there any way or feature to collect logs externally?

Handle and process requests in async way

Hi, happy to be here. I have 1 script, 1 worker, I want to send 1k one by one in 5 seconds intervals. Let say the job/task takes time that why I need to process it in async way. Questions:...

Permission denied to set role "windmill_admin" on Postgres without superuser

I'm running into issues on an self-hosted instance. I did read the self-host part of the docs regarding Postgres usage without superuser. I'm running Windmill (CE v1.441.2) on Kubernetes and Postgres 17.2 in a cluster provided by Crunchy Postgres Operator. What I did: - Created a database windmill and a user windmill which owns the database and applied https://raw.githubusercontent.com/windmill-labs/windmill/main/init-db-as-superuser.sql as a superuser. - Granted windmill_user and windmill_admin to windmill role....
No description

Username in app

Hi, When I deploy an app, the username appears in tbe top left corner of the screen, in the same space that is the app name. Is there a config to hide the username or change its location? Thanks...
No description

problem importing azure.storage.filedatalake

Hey guys I am confused about what I should be doing in this scenario. I am trying to use azure.storage.filedatalake in python script. When the script runs it isn't able to install the package and I am getting error that makes it look like its getting confused How do I force windmill to recognize the correct package...
No description

Download S3 File - Public App

Hello, is it possible to allow a public app user to download an S3 bucket file returned as a result from a script run? Currently i'm getting a 401 error when previewing / downloading the file.
No description

Pulling log files into windmill UI

Hello, with windmill, is there a feature that allows us to pull log files generated from scripts for easy review? Eg, a Python scripts write logs to a file instead of the console, can the content of those log files be pulled into Windmill for review and troubleshooting?...

ExecutionErr: error during execution of the script:pip compile failed: Lock file generation failed.

Hello, I am having problems installing Python packages in scripts. cURL and pip are working fine inside the containers. Running the script itself returns an error, but not if inside a flow. Can you help with the issue?...
No description
Next