WindmillWWindmill
Powered by
invakid404I
Windmill•12mo ago•
3 replies
invakid404

Weird error in flow lockfile generation

We're getting this weird error when trying to run
wmill flow generate-locks
wmill flow generate-locks
:

Error: Failed to generate lockfile. Status was: Internal Server Error, reading response failed, LockfileGenerationError: Failed to generate lockfile: execution error:
Error: invalid type: floating point `1.5`, expected u16 at line 1 column 223 @worker_lockfiles.rs:868:13
    at updateFlow (file:///node_modules/.pnpm/windmill-cli@1.478.1/node_modules/windmill-cli/esm/metadata.js:283:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async generateFlowLockInternal (file:///node_modules/.pnpm/windmill-cli@1.478.1/node_modules/windmill-cli/esm/metadata.js:95:27)
    at async Command.generateLocks [as actionHandler] (file:///node_modules/.pnpm/windmill-cli@1.478.1/node_modules/windmill-cli/esm/flow.js:227:13)
    at async Command.execute (file:///node_modules/.pnpm/windmill-cli@1.478.1/node_modules/windmill-cli/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/command.js:970:13)
    at async Command.parseCommand (file:///node_modules/.pnpm/windmill-cli@1.478.1/node_modules/windmill-cli/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/command.js:852:20)
    at async main (file:///node_modules/.pnpm/windmill-cli@1.478.1/node_modules/windmill-cli/esm/main.js:142:9)
Error: Failed to generate lockfile. Status was: Internal Server Error, reading response failed, LockfileGenerationError: Failed to generate lockfile: execution error:
Error: invalid type: floating point `1.5`, expected u16 at line 1 column 223 @worker_lockfiles.rs:868:13
    at updateFlow (file:///node_modules/.pnpm/windmill-cli@1.478.1/node_modules/windmill-cli/esm/metadata.js:283:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async generateFlowLockInternal (file:///node_modules/.pnpm/windmill-cli@1.478.1/node_modules/windmill-cli/esm/metadata.js:95:27)
    at async Command.generateLocks [as actionHandler] (file:///node_modules/.pnpm/windmill-cli@1.478.1/node_modules/windmill-cli/esm/flow.js:227:13)
    at async Command.execute (file:///node_modules/.pnpm/windmill-cli@1.478.1/node_modules/windmill-cli/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/command.js:970:13)
    at async Command.parseCommand (file:///node_modules/.pnpm/windmill-cli@1.478.1/node_modules/windmill-cli/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/command.js:852:20)
    at async main (file:///node_modules/.pnpm/windmill-cli@1.478.1/node_modules/windmill-cli/esm/main.js:142:9)


When I open the Windmill UI and look at the Deps runs to try and learn more, it doesn't even load the task. Instead, the devtools console just fills up with
ApiError: Internal Server Error
ApiError: Internal Server Error
and a bunch of 500 status codes from
/api/w/mandel/jobs_u/get/<job_id>?no_logs=true
/api/w/mandel/jobs_u/get/<job_id>?no_logs=true
with the same exact error.

Running v1.479.3 all around (instance and CLI)
WindmillJoin
3,388Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
henri-c

We're live here https://discord.com/channels/930051556043276338/1278977038430240813

henri-c · 6d ago

rubenf

Infrastructure as code

rubenf · 4w ago

rubenf

As we're preparing for a new Windmill sandbox SDK, we took the opportunity **to open-source NSJAIL sandboxing** and make it available in CE and easier to set. In 1.634.0, just set nsjail to benefit from the tightest security and isolation per job. It's constraining so no need to use it unless you need but now you won't be restricted in security for CE if you need to.

rubenf · 4w ago

Similar Threads

Error executing flow
antonioalvesAantonioalves / help
3y ago
Type Error in Flow Dynamic Inputs
EggingtonEEggington / help
16mo ago
Invalid flow failure while handling flow error
ShenanigansSShenanigans / help
10mo ago
Uniqueness in user flow states for error handlers
ShenanigansSShenanigans / help
9mo ago