WindmillWWindmill
Powered by
invakid404I
Windmill•11mo 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,362Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements
Recent Announcements
henri-c

Weekly kenote to tell you about our latest updates https://discord.com/channels/930051556043276338/1278977038430240813 https://youtube.com/live/2dGd9TdT8xs?feature=share

henri-c · 4d ago

Pyra

### HTTP tracing (EE) Capture HTTP requests made by job scripts as observability spans Features: - View HTTP request traces (method, URL, status, timing) in the job details UI - Auto-instrumentation for Native TypeScript, MITM proxy for other languages - Integrates with external OpenTelemetry collectors changelog: https://www.windmill.dev/changelog/http-tracing docs: https://www.windmill.dev/docs/advanced/instance_settings#http-tracing Additionally jobs memory metrics are now fully OSS!

Pyra · 2w ago

henri-c

First keynote of the year here https://discord.com/channels/930051556043276338/1278977038430240813 🙂

henri-c · 4w ago

Similar Threads

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