Closed jrwdunham closed 6 years ago
The logs for the old container when running docker-compose up using https://github.com/dativebase/dativebase/blob/master/docker-compose/README.rst::
docker-compose up
old_1 | Starting subprocess with file monitor old_1 | Traceback (most recent call last): old_1 | File "/venv/bin/pserve", line 11, in <module> old_1 | sys.exit(main()) old_1 | File "/venv/lib/python3.6/site-packages/pyramid/scripts/pserve.py", line 60, in main old_1 | return command.run() old_1 | File "/venv/lib/python3.6/site-packages/pyramid/scripts/pserve.py", line 371, in run old_1 | global_conf=vars) old_1 | File "/venv/lib/python3.6/site-packages/pyramid/scripts/pserve.py", line 406, in loadapp old_1 | return loadapp(app_spec, name=name, relative_to=relative_to, **kw) old_1 | File "/venv/lib/python3.6/site-packages/paste/deploy/loadwsgi.py", line 247, in loadapp old_1 | return loadobj(APP, uri, name=name, **kw) old_1 | File "/venv/lib/python3.6/site-packages/paste/deploy/loadwsgi.py", line 271, in loadobj old_1 | global_conf=global_conf) old_1 | File "/venv/lib/python3.6/site-packages/paste/deploy/loadwsgi.py", line 296, in loadcontext old_1 | global_conf=global_conf) old_1 | File "/venv/lib/python3.6/site-packages/paste/deploy/loadwsgi.py", line 320, in _loadconfig old_1 | return loader.get_context(object_type, name, global_conf) old_1 | File "/venv/lib/python3.6/site-packages/paste/deploy/loadwsgi.py", line 454, in get_context old_1 | section) old_1 | File "/venv/lib/python3.6/site-packages/paste/deploy/loadwsgi.py", line 476, in _context_from_use old_1 | object_type, name=use, global_conf=global_conf) old_1 | File "/venv/lib/python3.6/site-packages/paste/deploy/loadwsgi.py", line 406, in get_context old_1 | global_conf=global_conf) old_1 | File "/venv/lib/python3.6/site-packages/paste/deploy/loadwsgi.py", line 296, in loadcontext old_1 | global_conf=global_conf) old_1 | File "/venv/lib/python3.6/site-packages/paste/deploy/loadwsgi.py", line 328, in _loadegg old_1 | return loader.get_context(object_type, name, global_conf) old_1 | File "/venv/lib/python3.6/site-packages/paste/deploy/loadwsgi.py", line 620, in get_context old_1 | object_type, name=name) old_1 | File "/venv/lib/python3.6/site-packages/paste/deploy/loadwsgi.py", line 640, in find_egg_entry_point old_1 | pkg_resources.require(self.spec) old_1 | File "/venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 943, in require old_1 | needed = self.resolve(parse_requirements(requirements)) old_1 | File "/venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 829, in resolve old_1 | raise DistributionNotFound(req, requirers) old_1 | pkg_resources.DistributionNotFound: The 'old' distribution was not found and is required by the application
The solution is given at https://thekev.in/blog/2016-11-18-python-in-docker/.
The logs for the old container when running
docker-compose up
using https://github.com/dativebase/dativebase/blob/master/docker-compose/README.rst::The solution is given at https://thekev.in/blog/2016-11-18-python-in-docker/.