Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build with docker set to runserver #30

Open
alecvn opened this issue Apr 19, 2020 · 7 comments
Open

Cannot build with docker set to runserver #30

alecvn opened this issue Apr 19, 2020 · 7 comments

Comments

@alecvn
Copy link

alecvn commented Apr 19, 2020

What happened?

I want to have the cookiecutter setup my project so that I run runserver via a docker container.

I ran the basic setup, but when choosing docker runserver option I received an error when running docker-compose up --build -d:

Pulling worker (project-slug:latest)...
ERROR: pull access denied for project-slug, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

Where project-slug is the suggested project-slug for my app.

What should've happened instead?

Docker should've built images correctly.

Steps to reproduce

Basic steps, just use the docker runserver option instead of default which is n.

I am definitely logged into docker hub.
Kubuntu 18.04
Docker version 19.03.6

@finngl
Copy link

finngl commented Jul 29, 2020

I'm also having problems with the docker option 'runserver'. Last lines in stacktrace:
File "c:\users\finn\appdata\local\programs\python\python38\lib\subprocess.py", line 512, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['pipenv', 'lock', '--requirements']' returned non-zero exit status 1. ERROR: Stopping generation because post_gen_project hook script didn't exit successfully

@ali-nasir-ali
Copy link

got the same problem , tried many diffenrt obtions in ubuntu with python 3.8 and debian with python 3.7

subprocess.CalledProcessError: Command '['pipenv', 'lock', '--requirements']' returned non-zero exit status 1.
ERROR: Stopping generation because post_gen_project hook script didn't exit successfully
Hook script failed (exit status: 1)

@ay0000
Copy link

ay0000 commented Feb 15, 2021

@anasir514 This is due to a dependency bug that's popped up in the last week. I'm not sure if anyone is even aware of it to be looking at it.

@jrief
Copy link
Member

jrief commented Feb 15, 2021

Isn't that more of a problem with dependencies management in pipenv?

@ay0000
Copy link

ay0000 commented Feb 16, 2021 via email

@ay0000
Copy link

ay0000 commented Feb 16, 2021 via email

@ay0000
Copy link

ay0000 commented Feb 17, 2021

@anasir514 See here: #41 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants