Summary:
When I edit the computations.py file and rerun the pipeline, I get the following error although the block came with a description prior to editing:
[12:51:27.982] ERROR (10859) <file://server/middleware.ts:13:12>: Server returned an error at path: executePipeline
err: {
"type": "ServerError",
"message": "Anvil could not start the execution: \"pipeline.pipeline.weight-only-post-training-quantization-s80tu3kpqajm.information.description: Invalid type. Expected: string, given: null\"",
"stack":
Error: Anvil could not start the execution: "pipeline.pipeline.weight-only-post-training-quantization-s80tu3kpqajm.information.description: Invalid type. Expected: string, given: null"
at getBuildContextStatus (file:///Users/zahra/Documents/Zetane/projects/zetaforge/frontend/server/anvil.js:30:11)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at uploadBuildContexts (file:///Users/zahra/Documents/Zetane/projects/zetaforge/frontend/server/pipelineSerialization.js:273:32)
at executePipeline (file:///Users/zahra/Documents/Zetane/projects/zetaforge/frontend/server/pipelineSerialization.js:201:3)
at file:///Users/zahra/Documents/Zetane/projects/zetaforge/frontend/server/router.ts:233:14
at resolveMiddleware (file:///Users/zahra/Documents/Zetane/projects/zetaforge/frontend/node_modules/@trpc/server/dist/index.mjs:421:30)
at callRecursive (file:///Users/zahra/Documents/Zetane/projects/zetaforge/frontend/node_modules/@trpc/server/dist/index.mjs:451:32)
at callRecursive (file:///Users/zahra/Documents/Zetane/projects/zetaforge/frontend/node_modules/@trpc/server/dist/index.mjs:451:32)
at file:///Users/zahra/Documents/Zetane/projects/zetaforge/frontend/server/middleware.ts:9:20
at callRecursive (file:///Users/zahra/Documents/Zetane/projects/zetaforge/frontend/node_modules/@trpc/server/dist/index.mjs:451:32)
"statusCode": "BAD_REQUEST",
"cause": null
}
Seems like the description gets deleted when the computations.py file is modified.
Expected behavior:
I expected the description to remain unchanged and the pipeline to run.
Actual behavior:
Got the following error:
[12:51:27.982] ERROR (10859) <file://server/middleware.ts:13:12>: Server returned an error at path: executePipeline
err: {
"type": "ServerError",
"message": "Anvil could not start the execution: \"pipeline.pipeline.weight-only-post-training-quantization-s80tu3kpqajm.information.description: Invalid type. Expected: string, given: null\"",
"stack":
Error: Anvil could not start the execution: "pipeline.pipeline.weight-only-post-training-quantization-s80tu3kpqajm.information.description: Invalid type. Expected: string, given: null"
at getBuildContextStatus (file:///Users/zahra/Documents/Zetane/projects/zetaforge/frontend/server/anvil.js:30:11)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at uploadBuildContexts (file:///Users/zahra/Documents/Zetane/projects/zetaforge/frontend/server/pipelineSerialization.js:273:32)
at executePipeline (file:///Users/zahra/Documents/Zetane/projects/zetaforge/frontend/server/pipelineSerialization.js:201:3)
at file:///Users/zahra/Documents/Zetane/projects/zetaforge/frontend/server/router.ts:233:14
at resolveMiddleware (file:///Users/zahra/Documents/Zetane/projects/zetaforge/frontend/node_modules/@trpc/server/dist/index.mjs:421:30)
at callRecursive (file:///Users/zahra/Documents/Zetane/projects/zetaforge/frontend/node_modules/@trpc/server/dist/index.mjs:451:32)
at callRecursive (file:///Users/zahra/Documents/Zetane/projects/zetaforge/frontend/node_modules/@trpc/server/dist/index.mjs:451:32)
at file:///Users/zahra/Documents/Zetane/projects/zetaforge/frontend/server/middleware.ts:9:20
at callRecursive (file:///Users/zahra/Documents/Zetane/projects/zetaforge/frontend/node_modules/@trpc/server/dist/index.mjs:451:32)
"statusCode": "BAD_REQUEST",
"cause": null
}
Steps to reproduce:
- Edit a block using the Block Editor feature and modify something in the
computations.py file. You may need to run the pipeline once before editing to reproduce.
- Run the pipeline.
Zetaforge version:
latest f/deploy (e3c4025)
Operating System
MacOs
Other operating system:
No response
Logs:
[12:51:27.982] ERROR (10859) <file://server/middleware.ts:13:12>: Server returned an error at path: executePipeline
err: {
"type": "ServerError",
"message": "Anvil could not start the execution: \"pipeline.pipeline.weight-only-post-training-quantization-s80tu3kpqajm.information.description: Invalid type. Expected: string, given: null\"",
"stack":
Error: Anvil could not start the execution: "pipeline.pipeline.weight-only-post-training-quantization-s80tu3kpqajm.information.description: Invalid type. Expected: string, given: null"
at getBuildContextStatus (file:///Users/zahra/Documents/Zetane/projects/zetaforge/frontend/server/anvil.js:30:11)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at uploadBuildContexts (file:///Users/zahra/Documents/Zetane/projects/zetaforge/frontend/server/pipelineSerialization.js:273:32)
at executePipeline (file:///Users/zahra/Documents/Zetane/projects/zetaforge/frontend/server/pipelineSerialization.js:201:3)
at file:///Users/zahra/Documents/Zetane/projects/zetaforge/frontend/server/router.ts:233:14
at resolveMiddleware (file:///Users/zahra/Documents/Zetane/projects/zetaforge/frontend/node_modules/@trpc/server/dist/index.mjs:421:30)
at callRecursive (file:///Users/zahra/Documents/Zetane/projects/zetaforge/frontend/node_modules/@trpc/server/dist/index.mjs:451:32)
at callRecursive (file:///Users/zahra/Documents/Zetane/projects/zetaforge/frontend/node_modules/@trpc/server/dist/index.mjs:451:32)
at file:///Users/zahra/Documents/Zetane/projects/zetaforge/frontend/server/middleware.ts:9:20
at callRecursive (file:///Users/zahra/Documents/Zetane/projects/zetaforge/frontend/node_modules/@trpc/server/dist/index.mjs:451:32)
"statusCode": "BAD_REQUEST",
"cause": null
}
### Recording:
_No response_
### Anything else?:
_No response_
Summary:
When I edit the
computations.pyfile and rerun the pipeline, I get the following error although the block came with a description prior to editing:Seems like the description gets deleted when the
computations.pyfile is modified.Expected behavior:
I expected the description to remain unchanged and the pipeline to run.
Actual behavior:
Got the following error:
Steps to reproduce:
computations.pyfile. You may need to run the pipeline once before editing to reproduce.Zetaforge version:
latest f/deploy (e3c4025)
Operating System
MacOs
Other operating system:
No response
Logs: