Closed thierrymarianne closed 8 years ago
Where did the --noinput come from? I've never used that, and it might be part of the problem.
@bhaugen I've tried without this option without any more luck
You might try this: https://github.com/diefenbach/lfs-buildout-development/issues/5
I'm not sure why that would make any difference, but that's one of the first relevant answers when I google for that error message., But maybe you already have a local_settings.py where it's set that way?
Also, in same directory where you ran syncdb, do python and then when the python shell opens, import django django.VERSION
Should be 1.4.22 or so. One of the requirements, when it installs itself, has started to install a later version as one of its requirements. If so, do pip uninstall Django==that version and then pip install Django==1.4.22
And please let me know if either of those works.
I got a similar answer from elsewhere but it didn't work back then when I've tried to follow it.
I've figured the version of django_debug_toolbar
had to be pinned as its latest tag works from Django 1.7 and it seemed to prevent the sync command from terminating successfully.
For information the --noinput
option allows to execute the command without confirmation prompt (non-interactive execution mode), which is required to build the docker image.
See also https://github.com/valnet/valuenetwork/pull/462
The container can be run again until seeing this error message when accessing the root URL:
no such table: valueaccounting_economicagent
The fixtures might need to be updated.
I just removed the requirement for django_debug_toolbar. People can add it themselves if they want it.
We're visiting family, but I'll take a deeper look at all of these issues next week.
Thanks! See you around!
@bhaugen @fosterlynn
I went through the installation process again to figure the docker image build would fail without these modifications. Besides the following command fails also:
with this error message
Have you already encountered this issue when creating the database schema in development?