-
Notifications
You must be signed in to change notification settings - Fork 472
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: Unable to run script as /bin/sh: 1: cannot open 4.0: No such file
#4376
Comments
Is the lockfile generated correct and is it correctly pushed for that script (you can see it in the details tab of that script in the ui) |
Yes I think so, I've run the following just to double check.
I have also run it again and am still getting the same issue. |
Can you share that lockfile? |
Sure thing
|
We don't support this format, remove everything after ;
it will work |
With this change now, I'm unable to even generate the metadata for the script and am getting the following error:
I've tried to reinstall the windmill cli, create a new copy of the workspace but still am getting this error. Without the |
Also out of curiosity, is the dependency inference for packages like the Being able to remove this file would be great as it would make things simpler but would more importantly allow scripts/flows to be previewed locally as currently, the VSCode extension doesn't pick up on the requirements.txt file. |
I can't reproduce your issue with a requirements.txt with the content above:
The VSCode extension can pick-up on the lockfile directly but you can also override the dependencies inference directly with: |
I'm also now getting this issue with typescript (deno), trying to generate a lock file from my package.json. Going through the error, it seems to be caught on line 380 (referencing line numbers on Github) in It is sending the following as the body:
and is getting the following response:
Is this error repeatable on your end? |
After, playing around just a bit more (I found it odd that the |
Describe the bug
Hi,
I am just getting into using windmill and am encountering an issue when trying to run my script. It is a simple python script that uses the Azure python SDK to check if a resource group exists and if it doesn't, it creates one.
I am running this through the web ui on my locally hosted instance of windmill (just using
docker compose up
) sinceRun Preview
in VScode isn't working as it doesn't seem to pick up arequirements.txt
file (this file is needed because windmill keeps trying to runpip install azure
instead ofpip install azure-mgmt-...
which causes an error because of this).The error that is appearing is:
To reproduce
wmill script generate-metadata
to generate the lock filewmill sync push
to push my script to the instanceExpected behavior
Above steps just without the error.
Screenshots
No response
Browser information
MS Edge Version 128.0.2739.67
Application version
v1.394.2-2-g562b2fc67
Additional Context
No response
The text was updated successfully, but these errors were encountered: