Enter
Enter•2y ago

How the CLI works

I'm testing the CLI but I can't push my script, not sure why... Thanks!
22 Replies
rubenf
rubenf•2y ago
This might be a little bug. Can you point to the yaml file instead Also you can sync everything at once Using will sync push And the .wmillignore
Enter
EnterOP•2y ago
Same error...
rubenf
rubenf•2y ago
Ok I will do a fix
Enter
EnterOP•2y ago
Cool thanks 🙂 On Windmill version 1.99. I've noticed that sometimes my py script stops for no reason Is this a known issue? Sometimes the script works, sometimes it stops like this
rubenf
rubenf•2y ago
What do you mean exactly by it stops ? The script fails or it just look like it's hanging but is still running ?
Enter
EnterOP•2y ago
It stops suddenly... Then it goes into timeout
rubenf
rubenf•2y ago
Could it be that something hang in the script logic ? (for instance meilisearch)
Enter
EnterOP•2y ago
I'll add some try/catch to see!
rubenf
rubenf•2y ago
you could do a print for each request to see where it actually hang but I doubt it's a windmill issue fix about to be pushed 1.100.2 you will have to do wmill upgrade
Enter
EnterOP•2y ago
It was an indentation problem! I'll go to my IDE 😄 I'll look tomorrow to update the CLI 🙂 Thanks Ruben
rubenf
rubenf•2y ago
Was the identation issue related to the webeditor ?
Enter
EnterOP•2y ago
Yes on my side It's ok!
rubenf
rubenf•2y ago
1.100.2 released
Enter
EnterOP•2y ago
Good!
rubenf
rubenf•2y ago
looks like it worked 🙂
Enter
EnterOP•2y ago
It's all good, thanks!
Yassin
Yassin•2y ago
I also had a similar question, is there a way to fully synchronise my workspace for the first time localy ? I've used wmill workspace add myworkspace baseurl and wmill sync pull The only file synced is a ressource I've created but not all my scripts
rubenf
rubenf•2y ago
that should have worked normally, will investigate did you setup anything in .wmillignore ?
rubenf
rubenf•2y ago
I cannot reproduce easily on my side:
Yassin
Yassin•2y ago
Probably a mistake on my side, i'll try again I think the error occured because i forgot to add a slash at the end of the workspace url baseurl.com instead of baseurl.com/
rubenf
rubenf•2y ago
it shouldn't matter as in we normalize those urls can you reproduce by using baseurl.com ? If yes, I will investigate and fix
Yassin
Yassin•2y ago
I've found that this problem only occurs on Windows, using bash no problem with sync I've used windows 10 and powershell