WindmillWWindmill
Powered by
immortal3I
Windmill•2y ago•
13 replies
immortal3

generate-metadata command failing

Lock files were there but i wanted them to re-generated because of newly added requirements.txt

error: Uncaught (in promise) Error: Failed to generate lockfile. Status was: Internal Server Error, timeout after 20s, SyntaxError: Unexpected token 'i', "timeout after 20s" is not valid JSON
    throw new Error(
          ^
    at updateScriptLock (https://deno.land/x/wmill@v1.304.3/metadata.ts:219:11)
    at eventLoopTick (ext:core/01_core.js:168:7)
    at async generateMetadataInternal (https://deno.land/x/wmill@v1.304.3/metadata.ts:132:5)
    at async Command.generateMetadata [as actionHandler] (https://deno.land/x/wmill@v1.304.3/script.ts:677:7)
    at async Command.execute (https://deno.land/x/cliffy@v1.0.0-rc.3/command/command.ts:1948:7)
    at async Command.parseCommand (https://deno.land/x/cliffy@v1.0.0-rc.3/command/command.ts:1780:14)
error: Uncaught (in promise) Error: Failed to generate lockfile. Status was: Internal Server Error, timeout after 20s, SyntaxError: Unexpected token 'i', "timeout after 20s" is not valid JSON
    throw new Error(
          ^
    at updateScriptLock (https://deno.land/x/wmill@v1.304.3/metadata.ts:219:11)
    at eventLoopTick (ext:core/01_core.js:168:7)
    at async generateMetadataInternal (https://deno.land/x/wmill@v1.304.3/metadata.ts:132:5)
    at async Command.generateMetadata [as actionHandler] (https://deno.land/x/wmill@v1.304.3/script.ts:677:7)
    at async Command.execute (https://deno.land/x/cliffy@v1.0.0-rc.3/command/command.ts:1948:7)
    at async Command.parseCommand (https://deno.land/x/cliffy@v1.0.0-rc.3/command/command.ts:1780:14)
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

wmill script generate-metadata Error: Failed to generate lockfile.
rubenfRrubenf / help
2y ago
wmill script generate-metadata running into 502 errors
JieJJie / help
11mo ago
wmill script generate-metadata --yes generates new diff every time
NackiNNacki / help
8mo ago
Ignoring .venv during script metadata generation
tl_jacobTtl_jacob / help
11mo ago