gnowledge / gstudio-docker

Docker file for gstudio
5 stars 14 forks source link

mongodb repository and missing dev packages fix #11

Open cyberorg opened 6 years ago

cyberorg commented 6 years ago

With this change the image almost finishes the build.

Initialize scrip fails at this step:

python manage.py sync_existing_documents

Traceback (most recent call last): File "manage.py", line 10, in execute_from_command_line(sys.argv) File "/usr/lib/python2.7/dist-packages/django/core/management/init.py", line 399, in execute_from_command_line utility.execute() File "/usr/lib/python2.7/dist-packages/django/core/management/init.py", line 392, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 242, in run_from_argv self.execute(*args, *options.dict) File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 285, in execute output = self.handle(args, **options) File "/home/docker/code/gstudio/gnowsys-ndf/gnowsys_ndf/ndf/management/commands/sync_existing_documents.py", line 36, in handle if counter_objs['nModified']: KeyError: 'nModified'

Please test the process and let me know if you are able to complete the build.