I got this error when trying to add the project. Can you please help me with an idea? IS Django version the problem?
litaionut
HOBBYOP

2 years ago

[Region: us-west1]

==============

Using Nixpacks

==============

context: 816d4cb43c3bac6ed81d130e3485cd0d

Using subdirectory "src/test_railway2"

https://github.com/litaionut/test-railway2.git

╔══════════════════════════════ Nixpacks v1.21.2 ══════════════════════════════╗

║ setup │ python38, gcc ║

║──────────────────────────────────────────────────────────────────────────────║

║ install │ python -m venv --copies /opt/venv && . /opt/venv/bin/activate ║

║ │ && pip install -r requirements.txt ║

║──────────────────────────────────────────────────────────────────────────────║

║ start │ gunicorn test_railway2.wsgi --log-file - ║

╚══════════════════════════════════════════════════════════════════════════════╝

0 building with "default" instance using docker driver

1 [internal] load build definition from Dockerfile

1 transferring dockerfile:

1 transferring dockerfile: 1.79kB done

1 DONE 0.7s

2 [internal] load metadata for ghcr.io/railwayapp/nixpacks:ubuntu-1707782610

2 DONE 0.8s

3 [internal] load .dockerignore

3 transferring context:

3 transferring context: 2B done

3 DONE 2.6s

4 [stage-0 1/11] FROM ghcr.io/railwayapp/nixpacks:ubuntu-1707782610@sha256:8f4b0fd95dc3311cf9a59f236d8d7d7f956fe21a2a1d64b53c82f12c4e859f09

4 DONE 0.0s

5 [stage-0 2/11] WORKDIR /app/

5 CACHED

6 [internal] load build context

6 transferring context: 1.58MB 0.0s done

6 DONE 0.1s

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

5 Replies


litaionut
HOBBYOP

2 years ago

Thank you!

Attachments


brody
EMPLOYEE

2 years ago

Try adding a runtime.txt file to your project with just 3.11 in it.


litaionut
HOBBYOP

2 years ago

Not working.

Attachments


brody
EMPLOYEE

2 years ago

Please add the file I mentioned.


Loading...