Skip to content

custom chute build fails: missing readme #61

@tripathiarpan20

Description

@tripathiarpan20

Attempting to build a custom private chute (command errors without --include-cwd so that should be in https://chutes.ai/docs/guides/custom-chutes docs too)

raised PR #60 for this

chutes build validator_chute:chute --wait --include-cwd --debug
2026-03-16 07:44:41.402 | INFO     | chutes.config:get_config:55 - Loading chutes config from /root/.chutes/config.ini...
2026-03-16 07:44:41.402 | DEBUG    | chutes.config:get_config:78 - Configured chutes: with api_base_url=https://api.chutes.ai
2026-03-16 07:44:41.402 | DEBUG    | chutes.entrypoint.build:_image_exists:254 - Checking if image_id='cb017fd9-ac35-5b25-9e7e-c8e6ffece44e' is available...
2026-03-16 07:44:41.402 | DEBUG    | chutes.util.auth:sign_request:67 - Signing message: 5CaCQcW2o4dHdg21DbFn3q5CkhjqboQYNSoKRm15YvmnihKj:1773647081:images
2026-03-16 07:44:41.644 | DEBUG    | chutes.entrypoint.build:_build_image:342 - Generated Dockerfile:
FROM parachutes/python:3.12
RUN pip install cryptography httpx boto3
ADD . /app
2026-03-16 07:44:41.644 | INFO     | chutes.entrypoint.build:temporary_build_directory:55 - Found 6 files to include in build context -- these will be uploaded for remote builds!
2026-03-16 07:44:41.644 | INFO     | chutes.entrypoint.build:temporary_build_directory:60 -  README.md
2026-03-16 07:44:41.644 | INFO     | chutes.entrypoint.build:temporary_build_directory:60 -  architecture.md
2026-03-16 07:44:41.644 | INFO     | chutes.entrypoint.build:temporary_build_directory:60 -  setup.md
2026-03-16 07:44:41.644 | INFO     | chutes.entrypoint.build:temporary_build_directory:60 -  validator_chute.py
2026-03-16 07:44:41.644 | INFO     | chutes.entrypoint.build:temporary_build_directory:60 -  validator_orchestrator.py
2026-03-16 07:44:41.644 | INFO     | chutes.entrypoint.build:temporary_build_directory:60 -  miner_axon.py
Confirm submitting build context? (y/n) y
2026-03-16 07:44:45.866 | DEBUG    | chutes.entrypoint.build:temporary_build_directory:86 - Copying /root/prototype_chutes/vidaio-subnet/prototype/README.md to /tmp/tmpfz9jq7ll/README.md
2026-03-16 07:44:45.867 | DEBUG    | chutes.entrypoint.build:temporary_build_directory:86 - Copying /root/prototype_chutes/vidaio-subnet/prototype/architecture.md to /tmp/tmpfz9jq7ll/architecture.md
2026-03-16 07:44:45.867 | DEBUG    | chutes.entrypoint.build:temporary_build_directory:86 - Copying /root/prototype_chutes/vidaio-subnet/prototype/setup.md to /tmp/tmpfz9jq7ll/setup.md
2026-03-16 07:44:45.867 | DEBUG    | chutes.entrypoint.build:temporary_build_directory:86 - Copying /root/prototype_chutes/vidaio-subnet/prototype/validator_chute.py to /tmp/tmpfz9jq7ll/validator_chute.py
2026-03-16 07:44:45.867 | DEBUG    | chutes.entrypoint.build:temporary_build_directory:86 - Copying /root/prototype_chutes/vidaio-subnet/prototype/validator_orchestrator.py to /tmp/tmpfz9jq7ll/validator_orchestrator.py
2026-03-16 07:44:45.867 | DEBUG    | chutes.entrypoint.build:temporary_build_directory:86 - Copying /root/prototype_chutes/vidaio-subnet/prototype/miner_axon.py to /tmp/tmpfz9jq7ll/miner_axon.py
2026-03-16 07:44:45.868 | INFO     | chutes.entrypoint.build:_build_remote:135 - Packaging up the build directory to upload: /tmp/tmpfz9jq7ll
2026-03-16 07:44:45.870 | INFO     | chutes.entrypoint.build:_build_remote:143 - Created the build package: /tmp/tmpfjax7s2p.zip, uploading...
2026-03-16 07:44:45.871 | DEBUG    | chutes.util.auth:sign_request:67 - Signing message: 5CaCQ...:7eccdfca6ae33dca6ad4d5ef4c933c7b01e495793afe4798c9ef86dd7dea0f19
2026-03-16 07:44:46.124 | ERROR    | chutes.entrypoint.build:_build_remote:188 - Unexpected error uploading image data: {"detail":[{"type":"missing","loc":["body","readme"],"msg":"Field required","input":null}]}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions