Skip to content

bug: [infra] mac os build git submodule issue #125

Description

@6dba

Description

Directory packages/tesslate-agent is empty

Error

Image

Solution

Image

Duplicate: #112 (comment)

Steps to reproduce

  1. In home dir exec curl -fsSL https://tesslate.com/install.sh | bash

Environment

Other

Other environment

No response

Affected area

Infrastructure

Other affected area

No response

Logs

~ curl -fsSL https://tesslate.com/install.sh | bash 

  ╔══════════════════════════════════════════╗
  ║     Tesslate Studio — Local Installer     ║
  ║   Open source · Self-hosted · Your data    ║
  ╚══════════════════════════════════════════╝


Checking prerequisites...

  ✓ Docker found: Docker version 29.4.0, build 9d7ad9ff18
  ✓ Docker Compose found: 5.1.1
  ✓ Git found: git version 2.53.0

Setting up Tesslate Studio...

  ▸ Cloning Tesslate Studio to /Users/yablochko/tesslate-studio...
Клонирование в «/Users/yablochko/tesslate-studio»...
remote: Enumerating objects: 22528, done.
remote: Counting objects: 100% (2208/2208), done.
remote: Compressing objects: 100% (870/870), done.
remote: Total 22528 (delta 1399), reused 1712 (delta 1321), pack-reused 20320 (from 1)
Получение объектов: 100% (22528/22528), 29.14 MiB | 3.20 MiB/s, готово.
Определение изменений: 100% (15582/15582), готово.
  ✓ Repository cloned

Configuring environment...

  ✓ Created .env from .env.example
  ✓ Generated SECRET_KEY
  ✓ Generated LITELLM_MASTER_KEY

  ▸ Tesslate needs an LLM API key to power its agents.
  ▸ You can configure this now or add it later in .env.

  ! Skipped — add your API key to /Users/yablochko/tesslate-studio/.env later

Starting Tesslate Studio...

[+] Building 2.6s (13/17)                                                                                                                                                                                         
 => [internal] load local bake definitions                                                                                                                                                                   0.0s
 => => reading from stdin 2.37kB                                                                                                                                                                             0.0s
 => [worker internal] load build definition from Dockerfile                                                                                                                                                  0.0s
 => => transferring dockerfile: 3.49kB                                                                                                                                                                       0.0s
 => [orchestrator internal] load metadata for docker.io/library/python:3.11-slim                                                                                                                             1.0s
 => [orchestrator internal] load .dockerignore                                                                                                                                                               0.0s
 => => transferring context: 2B                                                                                                                                                                              0.0s
 => [worker  1/12] FROM docker.io/library/python:3.11-slim@sha256:a3ab0b966bc4e91546a033e22093cb840908979487a9fc0e6e38295747e49ac0                                                                           0.0s
 => => resolve docker.io/library/python:3.11-slim@sha256:a3ab0b966bc4e91546a033e22093cb840908979487a9fc0e6e38295747e49ac0                                                                                    0.0s
 => [worker internal] load build context                                                                                                                                                                     0.1s
 => => transferring context: 14.43MB                                                                                                                                                                         0.1s
 => CACHED [worker  2/12] WORKDIR /app                                                                                                                                                                       0.0s
 => CACHED [worker  3/12] RUN apt-get update && apt-get install -y     gcc     git     curl     ca-certificates     gnupg     && rm -rf /var/lib/apt/lists/*                                                 0.0s
 => CACHED [worker  4/12] RUN install -m 0755 -d /etc/apt/keyrings     && (curl -fsSL --max-time 60 --retry 3 https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc         && chmod  0.0s
 => CACHED [worker  5/12] COPY orchestrator/pyproject.toml ./                                                                                                                                                0.0s
 => CACHED [worker  6/12] COPY orchestrator/app ./app                                                                                                                                                        0.0s
 => CACHED [gateway  7/12] COPY packages/tesslate-agent ./packages/tesslate-agent                                                                                                                            0.0s
 => ERROR [orchestrator  8/12] RUN pip install --no-cache-dir -e ./packages/tesslate-agent                                                                                                                   1.1s
------                                                                                                                                                                                                            
 > [orchestrator  8/12] RUN pip install --no-cache-dir -e ./packages/tesslate-agent:                                                                                                                              
0.624 Obtaining file:///app/packages/tesslate-agent
0.624 ERROR: file:///app/packages/tesslate-agent does not appear to be a Python project: neither 'setup.py' nor 'pyproject.toml' found.
1.060 
1.060 [notice] A new release of pip is available: 24.0 -> 26.1.1
1.060 [notice] To update, run: pip install --upgrade pip
------
[+] up 0/5
 ⠙ Image tesslate-studio-worker       Building                                                                                                                                                                2.6s
 ⠙ Image tesslate-studio-app          Building                                                                                                                                                                2.6s
 ⠙ Image tesslate-devserver:latest    Building                                                                                                                                                                2.6s
 ⠙ Image tesslate-studio-orchestrator Building                                                                                                                                                                2.6s
 ⠙ Image tesslate-studio-gateway      Building                                                                                                                                                                2.6s
Dockerfile:43

--------------------

  41 |     # cache independently of orchestrator source changes.

  42 |     COPY packages/tesslate-agent ./packages/tesslate-agent

  43 | >>> RUN pip install --no-cache-dir -e ./packages/tesslate-agent

  44 |     

  45 |     RUN pip install --no-cache-dir -e .

--------------------

target gateway: failed to solve: process "/bin/sh -c pip install --no-cache-dir -e ./packages/tesslate-agent" did not complete successfully: exit code: 1


What's next:
    Debug this Compose error with Gordon → docker ai "help me fix this compose error"

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions