django-icekit icon indicating copy to clipboard operation
django-icekit copied to clipboard

Building django....... ERROR: invalid reference format

Open arigbs opened this issue 8 years ago • 3 comments

I get this error when running docker-compose build --pull. New to GLAMkit and Docker, so it's likely I missed something, but I have gone through the steps repeatedly, all tips appreciated.

arigbs avatar Aug 28 '17 16:08 arigbs

Hi @arigbs can you confirm that you are following the Docker Quickstart instructions here https://github.com/ic-labs/django-icekit ?

We haven't seen that error before, but Googling around it sounds like it can be caused by using a project/branch/commit name that Docker doesn't like.

It's just a guess at this stage, but maybe you used characters that Docker doesn't like in your project name. Can you try using only lowercase and underscore characters when you create a new project at quickstart step 1?

jmurty avatar Aug 28 '17 23:08 jmurty

Thanks @jmurty , that worked, apparently I had a character in the repository name I used which was not accepted by docker. I ran into a couple of more issues:

  1. The first time I ran $ docker-compose run --rm --service-ports django, I got this error repeatedly: Error starting userland proxy: Bind for 0.0.0.0:8000: unexpected error Permission denied. I searched and got a hint that the :8000 port might be locked up with other processes and workarounds offered suggested tearing down the container and building a new one and restarting docker and deleting some file. Luckily I thought to change the line ports:

    • 8000:8000 in docker-compose.yml to ports:
    • 8080:8000 and that worked, I was able to view the site on http://localhost:8080/
  2. I tried to build the site using manage.py import_site_map [options] <site_map.csv> and I kept getting this error: Unknown command: 'import_site_map' Type 'manage.py help' for usage.

again, not easily searchable, so I'm still headscratching on that one.

I would love to be able to get help / document solutions found for such issues as I go along. This issues thread here seems better suited for core dev issues, please is there a forum better suited for 'how-to' type interaction for those of us experimenting with GLAMkit so that simple installation or usage errors are first discussed there and only escalated here as bugs when proven to be?

arigbs avatar Aug 29 '17 12:08 arigbs

change the icekit branch in the generated requirements-icekit.txt from @master to @develop.

KSWadwicz avatar Aug 02 '19 11:08 KSWadwicz