Mary
Mary
WWindmill
Created by Mary on 4/16/2025 in #help
2 Questions about self-host
1 . I am going to set up a self-hosted windmill by using Docker Compose from Windmill Labs. I need to set up a volume to point to my share drive so a script created on Windmill could read the data source from the share drive.. I added a volume under the windmill_worker, and I tested it; it works well. I checked the guidance from https://www.windmill.dev/docs/advanced/self_host to learn the difference between the server mode and worker mode, so I think setting up the volume under worker mode is correct rather than setting it up under the server mode. I am not sure if it is correct. May I have any suggestions here? 2. All the workflows or scripts created on Windmill, may I know where they are saved? I would like to move all workflows and scripts on my testing environment (I set up the testing environment by using self-host as well) to a server, so I don't need to rewrite them again
1 replies
WWindmill
Created by Mary on 3/28/2025 in #help
Email trigger
May I know if there is an email trigger demo on https://app.windmill.dev/? I set it up, but it doesn't look like what I expected. I created a preprocessor to take the incoming the email body , def preprocessor(raw_email: str, parsed_email: dict, wm_trigger: WmTrigger):
text_body = parsed_email.get("text_body") ,
return { "text_body": text_body, } and I created a variable named text_body on the 'input' for receiving the text_body from preprocess, but when I sent an email to the flow, the flow wasn't triggered . May I get any help for the issue ?Thank you for any suggestion and help
14 replies
WWindmill
Created by Mary on 3/7/2025 in #help
dependencies on remote server
I created a requirments.txt and generated a lockfile by running wmill script generate-metadata ,but when I ran wmill sync push, I don't think the lockfile could be pushed to windmill , I can run the scrip without any issue by using the extension windmill in vs code when I turn on the button of ' use current lockfile' , buth when I login the remote windmill by using a browser, I still have an issue saying can't find the swiftclient module which is used in my code, and when I ran wmill sync pull in vs code , the lockfile will be deleted . My end users will run the code by using browser , may I know how I could set up the environment on remote server to get the lockfile so the swiftclient could be installed when an user runs the code ?
1 replies
WWindmill
Created by Mary on 3/3/2025 in #help
swiftclient can't be installed in windmill
When I ran the statement of import swiftclient by a python script, I had the error below { "error": { "name": "ExecutionErr", "message": "execution error: pip compile failed: Lock file generation failed. command: /usr/local/bin/uv pip compile -q --no-header requirements.in --strip-extras -o requirements.txt --index-strategy unsafe-best-match --cache-dir /tmp/windmill/cache/uv -p 3.11 --python-preference only-managed ExitStatus("uv", 1)" × No solution found when resolving dependencies: ╰─▶ Because there are no versions of swiftclient and you require swiftclient, we can conclude that your requirements are unsatisfiable. May I please have any suggestion, I tried to install some similar modules that could be worked the same as swiftcflient, but the same issue
21 replies