openfun / openedx-docker

:whale: A best practice Docker image of Open edX
https://hub.docker.com/r/fundocker/edxapp
GNU Affero General Public License v3.0
129 stars 75 forks source link

Error while composing docker #203

Closed macrobian88 closed 4 years ago

macrobian88 commented 4 years ago

Expected Behavior

Description...

Actual Behavior

Step 42/50 : RUN groupadd --gid ${DOCKER_GID} edx || echo "Group with ID ${DOCKER_GID} already exists." && useradd --create-home --home-dir /home/edx --uid ${DOCKER_UID} --gid ${DOCKER_GID} edx ---> Running in 22f9fa762ae2 Group with ID 0 already exists. groupadd: GID '0' already exists useradd: UID 0 is not unique ERROR: Service 'lms-dev' failed to build: The command '/bin/sh -c groupadd --gid ${DOCKER_GID} edx || echo "Group with ID ${DOCKER_GID} already exists." && useradd --create-home --home-dir /home/edx --uid ${DOCKER_UID} --gid ${DOCKER_GID} edx' returned a non-zero code: 4 Makefile:207: recipe for target 'dev-build' failed make: *** [dev-build] Error 1

Steps to Reproduce

make bootstrap

Specifications

jmaupetit commented 4 years ago

Hi @ramshankar1988 :wave:, are you logged in as the root user while building this release?

macrobian88 commented 4 years ago

Hi @ramshankar1988 wave, are you logged in as the root user while building this release?

Yes. sudo make bootstrap => getting above error.

When I run the command in root mode I am getting the same error. Please refer below mentioned error. dding user mongodb' to groupmongodb' ... Adding user mongodb to group mongodb Done. invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of start. Setting up mongodb (1:2.6.10-0ubuntu1) ... Processing triggers for libc-bin (2.23-0ubuntu11) ... Processing triggers for systemd (229-4ubuntu21.27) ... Removing intermediate container e582ed6ebd71 ---> 4f278f996cd2 Step 42/50 : RUN groupadd --gid ${DOCKER_GID} edx || echo "Group with ID ${DOCKER_GID} already exists." && useradd --create-home --home-dir /home/edx --uid ${DOCKER_UID} --gid ${DOCKER_GID} edx ---> Running in ef0e7f2d5eda groupadd: GID '0' already exists Group with ID 0 already exists. useradd: UID 0 is not unique ERROR: Service 'lms-dev' failed to build: The command '/bin/sh -c groupadd --gid ${DOCKER_GID} edx || echo "Group with ID ${DOCKER_GID} already exists." && useradd --create-home --home-dir /home/edx --uid ${DOCKER_UID} --gid ${DOCKER_GID} edx' returned a non-zero code: 4 Makefile:207: recipe for target 'dev-build' failed make: *** [dev-build] Error 1 root@docker-VirtualBox:/home/docker/openedx-docker#

jmaupetit commented 4 years ago

I strongly recommend not using the root user or sudo with Docker, use your simple user account instead (should belong to the docker group).

macrobian88 commented 4 years ago

I strongly recommend not using the root user or sudo with Docker, use your simple user account instead (should belong to the docker group).

After running as user i am getting the following error.

Applying certificates.0002_datacertificatehtmlviewconfiguration_data... OK Applying certificates.0003_datadefault_modes...Traceback (most recent call last): File "manage.py", line 121, in execute_from_command_line([sys.argv[0]] + django_args) File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 364, in execute_from_command_line utility.execute() File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 356, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 283, in run_from_argv self.execute(*args, cmd_options) File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 330, in execute output = self.handle(*args, *options) File "/usr/local/lib/python2.7/dist-packages/django/core/management/commands/migrate.py", line 204, in handle fake_initial=fake_initial, File "/usr/local/lib/python2.7/dist-packages/django/db/migrations/executor.py", line 115, in migrate state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial) File "/usr/local/lib/python2.7/dist-packages/django/db/migrations/executor.py", line 145, in _migrate_all_forwards state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial) File "/usr/local/lib/python2.7/dist-packages/django/db/migrations/executor.py", line 244, in apply_migration state = migration.apply(state, schema_editor) File "/usr/local/lib/python2.7/dist-packages/django/db/migrations/migration.py", line 126, in apply operation.database_forwards(self.app_label, schema_editor, old_state, project_state) File "/usr/local/lib/python2.7/dist-packages/django/db/migrations/operations/special.py", line 193, in database_forwards self.code(from_state.apps, schema_editor) File "/edx/app/edxapp/edx-platform/lms/djangoapps/certificates/migrations/0003_data__default_modes.py", line 24, in forwards File(open(settings.PROJECT_ROOT / 'static' / 'images' / 'default-badges' / file_name)) File "/usr/local/lib/python2.7/dist-packages/django/db/models/fields/files.py", line 94, in save self.name = self.storage.save(name, content, max_length=self.field.max_length) File "/usr/local/lib/python2.7/dist-packages/django/core/files/storage.py", line 54, in save return self._save(name, content) File "/usr/local/lib/python2.7/dist-packages/django/core/files/storage.py", line 321, in _save os.makedirs(directory) File "/usr/lib/python2.7/os.py", line 150, in makedirs makedirs(head, mode) File "/usr/lib/python2.7/os.py", line 157, in makedirs mkdir(name, mode) OSError: [Errno 13] Permission denied: '/edx/var/edxapp/media/badges' Makefile:295: recipe for target 'migrate' failed make: [migrate] Error 1

I am using new VM ubuntu 16.04 every time i try to install. Please Help

sampaccoud commented 4 years ago

@ramshankar1988 I think this is a consequence of running commands from root in your first attempt. You should delete the data directory that was created at the root of the project on your computer and start again from scratch with a normal user.

jmaupetit commented 4 years ago

... or use the make clean command prefixed by sudo as you've created files with the root user in data & src:

$ sudo make clean
$ make bootstrap
sampaccoud commented 4 years ago

@jmaupetit should we add a test on make commands to disallow root users or make the build work for root users?

chinmaybhatk commented 4 years ago

Can someone help me with docker script for Ironwood release?

jmaupetit commented 4 years ago

@chinmaybhatk we are planning to integrate the ironwood release soon. Stay tuned :pray: In the meantime, you can declare a new issue to track our progress on this particular point that is out of the scope of this issue.

@sampaccoud good idea! Can you declare a new issue for this feature request?

macrobian88 commented 4 years ago

... or use the make clean command prefixed by sudo as you've created files with the root user in data & src:

$ sudo make clean
$ make bootstrap

Followed the steps mentioned above. Able to get the build up and running but got below mentioned errors while "make bootstrap"

2020-03-10 09:47:20,102 ERROR 1 [xmodule.vertical_block] vertical_block.py:151 - Unable to load child when parsing Vertical. Continuing... Traceback (most recent call last): File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/vertical_block.py", line 148, in definition_from_xml child_block = system.process_xml(etree.tostring(child, encoding='unicode')) File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/xml.py", line 196, in process_xml id_manager, File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/x_module.py", line 1609, in xblock_from_node self._convert_reference_fields_to_keys(block) # difference from XBlock.runtime File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/x_module.py", line 1654, in _convert_reference_fields_to_keys field_value = getattr(xblock, field.name) File "/usr/local/lib/python2.7/dist-packages/xblock/fields.py", line 519, in get value = self.from_json(field_data.get(xblock, self.name)) File "/usr/local/lib/python2.7/dist-packages/xblock/fields.py", line 825, in from_json raise TypeError('Value stored in a List must be None or a list, found %s' % type(value)) TypeError: Value stored in a List must be None or a list, found <type 'str'> [variant:cms][xmodule.vertical_block][env:sandbox] ERROR [3f79c1a02c21 1] [vertical_block.py:151] - Unable to load child when parsing Vertical. Continuing... Traceback (most recent call last): File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/vertical_block.py", line 148, in definition_from_xml child_block = system.process_xml(etree.tostring(child, encoding='unicode')) File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/xml.py", line 196, in process_xml id_manager, File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/x_module.py", line 1609, in xblock_from_node self._convert_reference_fields_to_keys(block) # difference from XBlock.runtime File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/x_module.py", line 1654, in _convert_reference_fields_to_keys field_value = getattr(xblock, field.name) File "/usr/local/lib/python2.7/dist-packages/xblock/fields.py", line 519, in get value = self.from_json(field_data.get(xblock, self.name)) File "/usr/local/lib/python2.7/dist-packages/xblock/fields.py", line 825, in from_json raise TypeError('Value stored in a List must be None or a list, found %s' % type(value)) TypeError: Value stored in a List must be None or a list, found <type 'str'> 2020-03-10 09:47:20,106 WARNING 1 [root] mixins.py:522 - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name [variant:cms][root][env:sandbox] WARNING [3f79c1a02c21 1] [mixins.py:522] - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name 2020-03-10 09:47:20,170 INFO 1 [edxval.models] models.py:677 - VAL: Video created with id [30e7eb67-a2fe-4174-85b0-e0426584f5fb] and status [external] [variant:cms][edxval.models][env:sandbox] INFO [3f79c1a02c21 1] [models.py:677] - VAL: Video created with id [30e7eb67-a2fe-4174-85b0-e0426584f5fb] and status [external] 2020-03-10 09:47:20,211 WARNING 1 [root] mixins.py:522 - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name [variant:cms][root][env:sandbox] WARNING [3f79c1a02c21 1] [mixins.py:522] - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name 2020-03-10 09:47:20,266 WARNING 1 [root] mixins.py:522 - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name [variant:cms][root][env:sandbox] WARNING [3f79c1a02c21 1] [mixins.py:522] - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name 2020-03-10 09:47:20,374 WARNING 1 [root] mixins.py:522 - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name [variant:cms][root][env:sandbox] WARNING [3f79c1a02c21 1] [mixins.py:522] - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name 2020-03-10 09:47:20,434 WARNING 1 [root] mixins.py:522 - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name [variant:cms][root][env:sandbox] WARNING [3f79c1a02c21 1] [mixins.py:522] - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name 2020-03-10 09:47:20,483 WARNING 1 [root] mixins.py:522 - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name [variant:cms][root][env:sandbox] WARNING [3f79c1a02c21 1] [mixins.py:522] - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name 2020-03-10 09:47:20,533 WARNING 1 [root] mixins.py:522 - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name [variant:cms][root][env:sandbox] WARNING [3f79c1a02c21 1] [mixins.py:522] - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name 2020-03-10 09:47:20,577 WARNING 1 [root] mixins.py:522 - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name [variant:cms][root][env:sandbox] WARNING [3f79c1a02c21 1] [mixins.py:522] - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name 2020-03-10 09:47:20,625 WARNING 1 [root] mixins.py:522 - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name [variant:cms][root][env:sandbox] WARNING [3f79c1a02c21 1] [mixins.py:522] - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name 2020-03-10 09:47:20,671 WARNING 1 [root] mixins.py:522 - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name [variant:cms][root][env:sandbox] WARNING [3f79c1a02c21 1] [mixins.py:522] - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name 2020-03-10 09:47:20,746 WARNING 1 [root] mixins.py:522 - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name [variant:cms][root][env:sandbox] WARNING [3f79c1a02c21 1] [mixins.py:522] - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name 2020-03-10 09:47:21,142 WARNING 1 [root] mixins.py:522 - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name [variant:cms][root][env:sandbox] WARNING [3f79c1a02c21 1] [mixins.py:522] - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name 2020-03-10 09:47:21,176 WARNING 1 [root] mixins.py:522 - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name [variant:cms][root][env:sandbox] WARNING [3f79c1a02c21 1] [mixins.py:522] - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name 2020-03-10 09:47:21,247 WARNING 1 [root] mixins.py:522 - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name [variant:cms][root][env:sandbox] WARNING [3f79c1a02c21 1] [mixins.py:522] - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name 2020-03-10 09:47:21,395 WARNING 1 [root] mixins.py:522 - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name [variant:cms][root][env:sandbox] WARNING [3f79c1a02c21 1] [mixins.py:522] - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name 2020-03-10 09:47:21,460 WARNING 1 [root] mixins.py:522 - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name [variant:cms][root][env:sandbox] WARNING [3f79c1a02c21 1] [mixins.py:522] - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name 2020-03-10 09:47:21,559 WARNING 1 [root] mixins.py:522 - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name [variant:cms][root][env:sandbox] WARNING [3f79c1a02c21 1] [mixins.py:522] - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name 2020-03-10 09:47:21,681 WARNING 1 [root] mixins.py:522 - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name [variant:cms][root][env:sandbox] WARNING [3f79c1a02c21 1] [mixins.py:522] - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name 2020-03-10 09:47:21,809 WARNING 1 [root] mixins.py:522 - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name [variant:cms][root][env:sandbox] WARNING [3f79c1a02c21 1] [mixins.py:522] - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name 2020-03-10 09:47:21,904 WARNING 1 [root] mixins.py:522 - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name [variant:cms][root][env:sandbox] WARNING [3f79c1a02c21 1] [mixins.py:522] - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name 2020-03-10 09:47:22,066 WARNING 1 [root] mixins.py:522 - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name [variant:cms][root][env:sandbox] WARNING [3f79c1a02c21 1] [mixins.py:522] - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name 2020-03-10 09:47:22,168 WARNING 1 [root] mixins.py:522 - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name [variant:cms][root][env:sandbox] WARNING [3f79c1a02c21 1] [mixins.py:522] - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name 2020-03-10 09:47:22,213 WARNING 1 [root] mixins.py:522 - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name [variant:cms][root][env:sandbox] WARNING [3f79c1a02c21 1] [mixins.py:522] - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name 2020-03-10 09:47:22,264 WARNING 1 [root] mixins.py:522 - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name [variant:cms][root][env:sandbox] WARNING [3f79c1a02c21 1] [mixins.py:522] - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name 2020-03-10 09:47:22,334 WARNING 1 [root] mixins.py:522 - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name [variant:cms][root][env:sandbox] WARNING [3f79c1a02c21 1] [mixins.py:522] - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name 2020-03-10 09:47:22,388 WARNING 1 [root] mixins.py:522 - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name [variant:cms][root][env:sandbox] WARNING [3f79c1a02c21 1] [mixins.py:522] - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name 2020-03-10 09:47:22,439 WARNING 1 [root] mixins.py:522 - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name [variant:cms][root][env:sandbox] WARNING [3f79c1a02c21 1] [mixins.py:522] - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name 2020-03-10 09:47:22,490 WARNING 1 [root] mixins.py:522 - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name [variant:cms][root][env:sandbox] WARNING [3f79c1a02c21 1] [mixins.py:522] - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name 2020-03-10 09:47:22,692 INFO 1 [xmodule.modulestore.mixed] mixed.py:657 - Creating course run course-v1:edX+DemoX+Demo_Course... [variant:cms][xmodule.modulestore.mixed][env:sandbox] INFO [3f79c1a02c21 1] [mixed.py:657] - Creating course run course-v1:edX+DemoX+Demo_Course... 2020-03-10 09:47:22,702 WARNING 1 [py.warnings] init.py:1564 - /usr/local/lib/python2.7/dist-packages/pkg_resources/init.py:1145: DeprecationWarning: Use of .. or absolute path in a resource path is not allowed and will raise exceptions in a future release. self, resource_name

[variant:cms][py.warnings][env:sandbox] WARNING [3f79c1a02c21 1] [init.py:1564] - /usr/local/lib/python2.7/dist-packages/pkg_resources/init.py:1145: DeprecationWarning: Use of .. or absolute path in a resource path is not allowed and will raise exceptions in a future release. self, resource_name

2020-03-10 09:47:23,009 INFO 1 [openedx.core.djangoapps.content.course_overviews.models] models.py:153 - Creating course overview for course-v1:edX+DemoX+Demo_Course. [variant:cms][openedx.core.djangoapps.content.course_overviews.models][env:sandbox] INFO [3f79c1a02c21 1] [models.py:153] - Creating course overview for course-v1:edX+DemoX+Demo_Course. 2020-03-10 09:47:23,196 INFO 1 [celery_utils.logged_task] logged_task.py:31 - Task lms.djangoapps.discussion.tasks.update_discussions_map[e8d336f3-a00a-42c8-bc05-212bcf6b6a25] submitted with arguments [{'course_id': u'course-v1:edX+DemoX+Demo_Course'}], None [variant:cms][celery_utils.logged_task][env:sandbox] INFO [3f79c1a02c21 1] [logged_task.py:31] - Task lms.djangoapps.discussion.tasks.update_discussions_map[e8d336f3-a00a-42c8-bc05-212bcf6b6a25] submitted with arguments [{'course_id': u'course-v1:edX+DemoX+Demo_Course'}], None 2020-03-10 09:47:23,234 INFO 1 [xmodule.modulestore.django] django.py:198 - Sent course_published signal to <function listen_for_course_publish at 0x7f9f25014758> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None [variant:cms][xmodule.modulestore.django][env:sandbox] INFO [3f79c1a02c21 1] [django.py:198] - Sent course_published signal to <function listen_for_course_publish at 0x7f9f25014758> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None 2020-03-10 09:47:23,235 INFO 1 [xmodule.modulestore.django] django.py:198 - Sent course_published signal to <function _listen_for_course_publish at 0x7f9f24e05398> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None [variant:cms][xmodule.modulestore.django][env:sandbox] INFO [3f79c1a02c21 1] [django.py:198] - Sent course_published signal to <function _listen_for_course_publish at 0x7f9f24e05398> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None 2020-03-10 09:47:23,236 INFO 1 [xmodule.modulestore.django] django.py:198 - Sent course_published signal to <function _listen_for_course_publish at 0x7f9f24e05488> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None [variant:cms][xmodule.modulestore.django][env:sandbox] INFO [3f79c1a02c21 1] [django.py:198] - Sent course_published signal to <function _listen_for_course_publish at 0x7f9f24e05488> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None 2020-03-10 09:47:23,236 INFO 1 [xmodule.modulestore.django] django.py:198 - Sent course_published signal to <function listen_for_course_publish at 0x7f9f24e05848> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None [variant:cms][xmodule.modulestore.django][env:sandbox] INFO [3f79c1a02c21 1] [django.py:198] - Sent course_published signal to <function listen_for_course_publish at 0x7f9f24e05848> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None 2020-03-10 09:47:23,237 INFO 1 [xmodule.modulestore.django] django.py:198 - Sent course_published signal to <function update_block_structure_on_course_publish at 0x7f9f24e05e60> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None [variant:cms][xmodule.modulestore.django][env:sandbox] INFO [3f79c1a02c21 1] [django.py:198] - Sent course_published signal to <function update_block_structure_on_course_publish at 0x7f9f24e05e60> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None 2020-03-10 09:47:23,238 INFO 1 [xmodule.modulestore.django] django.py:198 - Sent course_published signal to <function _listen_for_course_publish at 0x7f9f24e05f50> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None [variant:cms][xmodule.modulestore.django][env:sandbox] INFO [3f79c1a02c21 1] [django.py:198] - Sent course_published signal to <function _listen_for_course_publish at 0x7f9f24e05f50> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None 2020-03-10 09:47:23,238 INFO 1 [xmodule.modulestore.django] django.py:198 - Sent course_published signal to <function update_discussions_on_course_publish at 0x7f9f24ddbc80> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None [variant:cms][xmodule.modulestore.django][env:sandbox] INFO [3f79c1a02c21 1] [django.py:198] - Sent course_published signal to <function update_discussions_on_course_publish at 0x7f9f24ddbc80> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None 2020-03-10 09:47:23,238 INFO 1 [xmodule.modulestore.django] django.py:198 - Sent course_published signal to <function trigger_update_xblocks_cache_task at 0x7f9f24d76d70> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None [variant:cms][xmodule.modulestore.django][env:sandbox] INFO [3f79c1a02c21 1] [django.py:198] - Sent course_published signal to <function trigger_update_xblocks_cache_task at 0x7f9f24d76d70> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None 2020-03-10 09:47:23,239 INFO 1 [xmodule.modulestore.mixed] mixed.py:665 - Course run course-v1:edX+DemoX+Demo_Course created successfully! [variant:cms][xmodule.modulestore.mixed][env:sandbox] INFO [3f79c1a02c21 1] [mixed.py:665] - Course run course-v1:edX+DemoX+Demo_Course created successfully! 2020-03-10 09:47:25,749 ERROR 1 [root] content.py:461 - Failed to generate thumbnail for asset-v1:edX+DemoX+Demo_Course+type@asset+block@jsmol_Al2O3.png. Exception: cannot identify image file <StringIO.StringIO instance at 0x7f9f23e77c68> Traceback (most recent call last): File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/contentstore/content.py", line 440, in generate_thumbnail with Image.open(source) as image: File "/usr/local/lib/python2.7/dist-packages/PIL/Image.py", line 2319, in open % (filename if filename else fp)) IOError: cannot identify image file <StringIO.StringIO instance at 0x7f9f23e77c68> [variant:cms][root][env:sandbox] ERROR [3f79c1a02c21 1] [content.py:461] - Failed to generate thumbnail for asset-v1:edX+DemoX+Demo_Course+type@asset+block@jsmol_Al2O3.png. Exception: cannot identify image file <StringIO.StringIO instance at 0x7f9f23e77c68> Traceback (most recent call last): File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/contentstore/content.py", line 440, in generate_thumbnail with Image.open(source) as image: File "/usr/local/lib/python2.7/dist-packages/PIL/Image.py", line 2319, in open % (filename if filename else fp)) IOError: cannot identify image file <StringIO.StringIO instance at 0x7f9f23e77c68> 2020-03-10 09:47:25,880 ERROR 1 [root] content.py:461 - Failed to generate thumbnail for asset-v1:edX+DemoX+Demo_Course+type@asset+block@jsmol_1hxw.png. Exception: cannot identify image file <StringIO.StringIO instance at 0x7f9f2378cea8> Traceback (most recent call last): File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/contentstore/content.py", line 440, in generate_thumbnail with Image.open(source) as image: File "/usr/local/lib/python2.7/dist-packages/PIL/Image.py", line 2319, in open % (filename if filename else fp)) IOError: cannot identify image file <StringIO.StringIO instance at 0x7f9f2378cea8> [variant:cms][root][env:sandbox] ERROR [3f79c1a02c21 1] [content.py:461] - Failed to generate thumbnail for asset-v1:edX+DemoX+Demo_Course+type@asset+block@jsmol_1hxw.png. Exception: cannot identify image file <StringIO.StringIO instance at 0x7f9f2378cea8> Traceback (most recent call last): File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/contentstore/content.py", line 440, in generate_thumbnail with Image.open(source) as image: File "/usr/local/lib/python2.7/dist-packages/PIL/Image.py", line 2319, in open % (filename if filename else fp)) IOError: cannot identify image file <StringIO.StringIO instance at 0x7f9f2378cea8> 2020-03-10 09:47:28,615 INFO 1 [root] xml_importer.py:351 - No assets.xml file is present with asset metadata. [variant:cms][root][env:sandbox] INFO [3f79c1a02c21 1] [xml_importer.py:351] - No assets.xml file is present with asset metadata. 2020-03-10 09:47:30,958 INFO 1 [openedx.core.djangoapps.content.course_overviews.models] models.py:150 - Updating course overview for course-v1:edX+DemoX+Demo_Course. [variant:cms][openedx.core.djangoapps.content.course_overviews.models][env:sandbox] INFO [3f79c1a02c21 1] [models.py:150] - Updating course overview for course-v1:edX+DemoX+Demo_Course. 2020-03-10 09:47:30,984 INFO 1 [openedx.core.djangoapps.content.course_overviews.signals] signals.py:69 - Course start date changed: course=course-v1:edX+DemoX+Demo_Course previous=2030-01-01T00:00:00+00:00 new=2013-02-05T05:00:00+00:00 [variant:cms][openedx.core.djangoapps.content.course_overviews.signals][env:sandbox] INFO [3f79c1a02c21 1] [signals.py:69] - Course start date changed: course=course-v1:edX+DemoX+Demo_Course previous=2030-01-01T00:00:00+00:00 new=2013-02-05T05:00:00+00:00 2020-03-10 09:47:31,037 INFO 1 [celery_utils.logged_task] logged_task.py:31 - Task openedx.core.djangoapps.schedules.tasks.update_course_schedules[d6b00d58-6619-4f2a-95da-9a7d4d276e65] submitted with arguments None, {'course_id': u'course-v1:edX+DemoX+Demo_Course', 'new_upgrade_deadline_str': None, 'new_start_date_str': '2013-02-05T05:00:00+00:00'} [variant:cms][celery_utils.logged_task][env:sandbox] INFO [3f79c1a02c21 1] [logged_task.py:31] - Task openedx.core.djangoapps.schedules.tasks.update_course_schedules[d6b00d58-6619-4f2a-95da-9a7d4d276e65] submitted with arguments None, {'course_id': u'course-v1:edX+DemoX+Demo_Course', 'new_upgrade_deadline_str': None, 'new_start_date_str': '2013-02-05T05:00:00+00:00'} 2020-03-10 09:47:31,133 INFO 1 [celery_utils.logged_task] logged_task.py:31 - Task lms.djangoapps.discussion.tasks.update_discussions_map[51137d95-0194-49e5-89ff-3aeec575078b] submitted with arguments [{'course_id': u'course-v1:edX+DemoX+Demo_Course'}], None [variant:cms][celery_utils.logged_task][env:sandbox] INFO [3f79c1a02c21 1] [logged_task.py:31] - Task lms.djangoapps.discussion.tasks.update_discussions_map[51137d95-0194-49e5-89ff-3aeec575078b] submitted with arguments [{'course_id': u'course-v1:edX+DemoX+Demo_Course'}], None 2020-03-10 09:47:31,156 INFO 1 [xmodule.modulestore.django] django.py:198 - Sent course_published signal to <function listen_for_course_publish at 0x7f9f25014758> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None [variant:cms][xmodule.modulestore.django][env:sandbox] INFO [3f79c1a02c21 1] [django.py:198] - Sent course_published signal to <function listen_for_course_publish at 0x7f9f25014758> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None 2020-03-10 09:47:31,158 INFO 1 [xmodule.modulestore.django] django.py:198 - Sent course_published signal to <function _listen_for_course_publish at 0x7f9f24e05398> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None [variant:cms][xmodule.modulestore.django][env:sandbox] INFO [3f79c1a02c21 1] [django.py:198] - Sent course_published signal to <function _listen_for_course_publish at 0x7f9f24e05398> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None 2020-03-10 09:47:31,158 INFO 1 [xmodule.modulestore.django] django.py:198 - Sent course_published signal to <function _listen_for_course_publish at 0x7f9f24e05488> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None [variant:cms][xmodule.modulestore.django][env:sandbox] INFO [3f79c1a02c21 1] [django.py:198] - Sent course_published signal to <function _listen_for_course_publish at 0x7f9f24e05488> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None 2020-03-10 09:47:31,159 INFO 1 [xmodule.modulestore.django] django.py:198 - Sent course_published signal to <function listen_for_course_publish at 0x7f9f24e05848> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None [variant:cms][xmodule.modulestore.django][env:sandbox] INFO [3f79c1a02c21 1] [django.py:198] - Sent course_published signal to <function listen_for_course_publish at 0x7f9f24e05848> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None 2020-03-10 09:47:31,159 INFO 1 [xmodule.modulestore.django] django.py:198 - Sent course_published signal to <function update_block_structure_on_course_publish at 0x7f9f24e05e60> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None [variant:cms][xmodule.modulestore.django][env:sandbox] INFO [3f79c1a02c21 1] [django.py:198] - Sent course_published signal to <function update_block_structure_on_course_publish at 0x7f9f24e05e60> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None 2020-03-10 09:47:31,159 INFO 1 [xmodule.modulestore.django] django.py:198 - Sent course_published signal to <function _listen_for_course_publish at 0x7f9f24e05f50> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None [variant:cms][xmodule.modulestore.django][env:sandbox] INFO [3f79c1a02c21 1] [django.py:198] - Sent course_published signal to <function _listen_for_course_publish at 0x7f9f24e05f50> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None 2020-03-10 09:47:31,160 INFO 1 [xmodule.modulestore.django] django.py:198 - Sent course_published signal to <function update_discussions_on_course_publish at 0x7f9f24ddbc80> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None [variant:cms][xmodule.modulestore.django][env:sandbox] INFO [3f79c1a02c21 1] [django.py:198] - Sent course_published signal to <function update_discussions_on_course_publish at 0x7f9f24ddbc80> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None 2020-03-10 09:47:31,161 INFO 1 [xmodule.modulestore.django] django.py:198 - Sent course_published signal to <function trigger_update_xblocks_cache_task at 0x7f9f24d76d70> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None [variant:cms][xmodule.modulestore.django][env:sandbox] INFO [3f79c1a02c21 1] [django.py:198] - Sent course_published signal to <function trigger_update_xblocks_cache_task at 0x7f9f24d76d70> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None 2020-03-10 09:47:31,211 INFO 1 [edxval.models] models.py:677 - VAL: Video created with id [d023062c-4ee4-4a3b-be52-f1906af559df] and status [external] [variant:cms][edxval.models][env:sandbox] INFO [3f79c1a02c21 1] [models.py:677] - VAL: Video created with id [d023062c-4ee4-4a3b-be52-f1906af559df] and status [external] 2020-03-10 09:47:31,502 WARNING 1 [root] mixins.py:522 - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name [variant:cms][root][env:sandbox] WARNING [3f79c1a02c21 1] [mixins.py:522] - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name 2020-03-10 09:47:31,598 WARNING 1 [xmodule.modulestore.xml] xml.py:233 - i4x://edX/DemoX/html/030e35c4756a4ddc8d40b95fbbfff4d4 has more than one definition [variant:cms][xmodule.modulestore.xml][env:sandbox] WARNING [3f79c1a02c21 1] [xml.py:233] - i4x://edX/DemoX/html/030e35c4756a4ddc8d40b95fbbfff4d4 has more than one definition 2020-03-10 09:47:31,617 INFO 1 [edxval.models] models.py:677 - VAL: Video created with id [fdd9bc5d-4927-49a6-83c0-dd1601d5630e] and status [external] [variant:cms][edxval.models][env:sandbox] INFO [3f79c1a02c21 1] [models.py:677] - VAL: Video created with id [fdd9bc5d-4927-49a6-83c0-dd1601d5630e] and status [external] 2020-03-10 09:47:31,629 WARNING 1 [edxval.api] api.py:1064 - [edx-val] "en" transcript "subs_name_of_file.srt.sjson" for video "fdd9bc5d-4927-49a6-83c0-dd1601d5630e" is not found. [variant:cms][edxval.api][env:sandbox] WARNING [3f79c1a02c21 1] [api.py:1064] - [edx-val] "en" transcript "subs_name_of_file.srt.sjson" for video "fdd9bc5d-4927-49a6-83c0-dd1601d5630e" is not found. 2020-03-10 09:47:31,670 WARNING 1 [xmodule.modulestore.xml] xml.py:233 - i4x://edX/DemoX/video/0b9e39477cf34507a7a48f74be381fdd has more than one definition [variant:cms][xmodule.modulestore.xml][env:sandbox] WARNING [3f79c1a02c21 1] [xml.py:233] - i4x://edX/DemoX/video/0b9e39477cf34507a7a48f74be381fdd has more than one definition 2020-03-10 09:47:31,691 WARNING 1 [xmodule.modulestore.xml] xml.py:169 - Non-unique url_name in xml. This may break state tracking for content. url_name=New_Unit. Content=<vertical display_name="New Unit" parent_sequential_url="i4x://edX/DemoX/sequential/simulations" ind [variant:cms][xmodule.modulestore.xml][env:sandbox] WARNING [3f79c1a02c21 1] [xml.py:169] - Non-unique url_name in xml. This may break state tracking for content. url_name=New_Unit. Content=<vertical display_name="New Unit" parent_sequential_url="i4x://edX/DemoX/sequential/simulations" ind 2020-03-10 09:47:31,712 INFO 1 [edxval.models] models.py:677 - VAL: Video created with id [5d9b0040-85c8-43d1-b9e0-4626012e7350] and status [external] [variant:cms][edxval.models][env:sandbox] INFO [3f79c1a02c21 1] [models.py:677] - VAL: Video created with id [5d9b0040-85c8-43d1-b9e0-4626012e7350] and status [external] 2020-03-10 09:47:31,718 WARNING 1 [edxval.api] api.py:1064 - [edx-val] "en" transcript "subs_3_yD_cEKoCk.srt.sjson" for video "5d9b0040-85c8-43d1-b9e0-4626012e7350" is not found. [variant:cms][edxval.api][env:sandbox] WARNING [3f79c1a02c21 1] [api.py:1064] - [edx-val] "en" transcript "subs_3_yD_cEKoCk.srt.sjson" for video "5d9b0040-85c8-43d1-b9e0-4626012e7350" is not found. 2020-03-10 09:47:31,781 WARNING 1 [xmodule.modulestore.xml] xml.py:233 - i4x://edX/DemoX/openassessment/b24c33ea35954c7889e1d2944d3fe397 has more than one definition [variant:cms][xmodule.modulestore.xml][env:sandbox] WARNING [3f79c1a02c21 1] [xml.py:233] - i4x://edX/DemoX/openassessment/b24c33ea35954c7889e1d2944d3fe397 has more than one definition 2020-03-10 09:47:31,782 WARNING 1 [root] mixins.py:522 - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name [variant:cms][root][env:sandbox] WARNING [3f79c1a02c21 1] [mixins.py:522] - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name 2020-03-10 09:47:31,794 WARNING 1 [xmodule.modulestore.xml] xml.py:233 - i4x://edX/DemoX/discussion/12ad4f3ff4c14114a6e629b00e000976 has more than one definition [variant:cms][xmodule.modulestore.xml][env:sandbox] WARNING [3f79c1a02c21 1] [xml.py:233] - i4x://edX/DemoX/discussion/12ad4f3ff4c14114a6e629b00e000976 has more than one definition 2020-03-10 09:47:31,833 WARNING 1 [xmodule.modulestore.xml] xml.py:233 - i4x://edX/DemoX/html/d45779ad3d024a40a09ad8cc317c0970 has more than one definition [variant:cms][xmodule.modulestore.xml][env:sandbox] WARNING [3f79c1a02c21 1] [xml.py:233] - i4x://edX/DemoX/html/d45779ad3d024a40a09ad8cc317c0970 has more than one definition 2020-03-10 09:47:31,845 WARNING 1 [xmodule.modulestore.xml] xml.py:233 - i4x://edX/DemoX/html/55cbc99f262443d886a25cf84594eafb has more than one definition [variant:cms][xmodule.modulestore.xml][env:sandbox] WARNING [3f79c1a02c21 1] [xml.py:233] - i4x://edX/DemoX/html/55cbc99f262443d886a25cf84594eafb has more than one definition 2020-03-10 09:47:31,849 WARNING 1 [root] mixins.py:522 - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name [variant:cms][root][env:sandbox] WARNING [3f79c1a02c21 1] [mixins.py:522] - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name 2020-03-10 09:47:31,865 WARNING 1 [xmodule.modulestore.xml] xml.py:233 - i4x://edX/DemoX/discussion/ade92343df3d4953a40ab3adc8805390 has more than one definition [variant:cms][xmodule.modulestore.xml][env:sandbox] WARNING [3f79c1a02c21 1] [xml.py:233] - i4x://edX/DemoX/discussion/ade92343df3d4953a40ab3adc8805390 has more than one definition 2020-03-10 09:47:31,900 WARNING 1 [xmodule.modulestore.xml] xml.py:233 - i4x://edX/DemoX/html/78e3719e864e45f3bee938461f3c3de6 has more than one definition [variant:cms][xmodule.modulestore.xml][env:sandbox] WARNING [3f79c1a02c21 1] [xml.py:233] - i4x://edX/DemoX/html/78e3719e864e45f3bee938461f3c3de6 has more than one definition 2020-03-10 09:47:31,917 WARNING 1 [xmodule.modulestore.xml] xml.py:233 - i4x://edX/DemoX/problem/700x_proteinmake has more than one definition [variant:cms][xmodule.modulestore.xml][env:sandbox] WARNING [3f79c1a02c21 1] [xml.py:233] - i4x://edX/DemoX/problem/700x_proteinmake has more than one definition 2020-03-10 09:47:31,919 WARNING 1 [root] mixins.py:522 - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name [variant:cms][root][env:sandbox] WARNING [3f79c1a02c21 1] [mixins.py:522] - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name 2020-03-10 09:47:31,938 WARNING 1 [xmodule.modulestore.xml] xml.py:233 - i4x://edX/DemoX/discussion/ed01bcd164e64038a78964a16eac3edc has more than one definition [variant:cms][xmodule.modulestore.xml][env:sandbox] WARNING [3f79c1a02c21 1] [xml.py:233] - i4x://edX/DemoX/discussion/ed01bcd164e64038a78964a16eac3edc has more than one definition 2020-03-10 09:47:32,017 WARNING 1 [xmodule.modulestore.xml] xml.py:233 - i4x://edX/DemoX/html/2b94658d2eee4d85ae13f83bc24cfca9 has more than one definition [variant:cms][xmodule.modulestore.xml][env:sandbox] WARNING [3f79c1a02c21 1] [xml.py:233] - i4x://edX/DemoX/html/2b94658d2eee4d85ae13f83bc24cfca9 has more than one definition 2020-03-10 09:47:32,031 WARNING 1 [xmodule.modulestore.xml] xml.py:233 - i4x://edX/DemoX/problem/700x_editmolB has more than one definition [variant:cms][xmodule.modulestore.xml][env:sandbox] WARNING [3f79c1a02c21 1] [xml.py:233] - i4x://edX/DemoX/problem/700x_editmolB has more than one definition 2020-03-10 09:47:32,034 WARNING 1 [root] mixins.py:522 - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name [variant:cms][root][env:sandbox] WARNING [3f79c1a02c21 1] [mixins.py:522] - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name 2020-03-10 09:47:32,047 WARNING 1 [xmodule.modulestore.xml] xml.py:233 - i4x://edX/DemoX/discussion/0aa7a3bdbe18427795b0c1a1d7c3cb9a has more than one definition [variant:cms][xmodule.modulestore.xml][env:sandbox] WARNING [3f79c1a02c21 1] [xml.py:233] - i4x://edX/DemoX/discussion/0aa7a3bdbe18427795b0c1a1d7c3cb9a has more than one definition 2020-03-10 09:47:32,103 WARNING 1 [xmodule.modulestore.xml] xml.py:169 - Non-unique url_name in xml. This may break state tracking for content. url_name=Video_Demonstrations. Content=<vertical display_name="Video Demonstrations" parent_sequential_url="i4x://edX/DemoX/sequential/19a3 [variant:cms][xmodule.modulestore.xml][env:sandbox] WARNING [3f79c1a02c21 1] [xml.py:169] - Non-unique url_name in xml. This may break state tracking for content. url_name=Video_Demonstrations. Content=<vertical display_name="Video Demonstrations" parent_sequential_url="i4x://edX/DemoX/sequential/19a3 2020-03-10 09:47:32,115 WARNING 1 [xmodule.modulestore.xml] xml.py:233 - i4x://edX/DemoX/html/ed5dccf14ae94353961f46fa07217491 has more than one definition [variant:cms][xmodule.modulestore.xml][env:sandbox] WARNING [3f79c1a02c21 1] [xml.py:233] - i4x://edX/DemoX/html/ed5dccf14ae94353961f46fa07217491 has more than one definition 2020-03-10 09:47:32,149 INFO 1 [edxval.models] models.py:677 - VAL: Video created with id [7510363e-97cb-4378-853f-91bca5c2a176] and status [external] [variant:cms][edxval.models][env:sandbox] INFO [3f79c1a02c21 1] [models.py:677] - VAL: Video created with id [7510363e-97cb-4378-853f-91bca5c2a176] and status [external] 2020-03-10 09:47:32,174 ERROR 1 [xmodule.vertical_block] vertical_block.py:151 - Unable to load child when parsing Vertical. Continuing... Traceback (most recent call last): File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/vertical_block.py", line 148, in definition_from_xml child_block = system.process_xml(etree.tostring(child, encoding='unicode')) File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/xml.py", line 196, in process_xml id_manager, File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/x_module.py", line 1609, in xblock_from_node self._convert_reference_fields_to_keys(block) # difference from XBlock.runtime File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/x_module.py", line 1654, in _convert_reference_fields_to_keys field_value = getattr(xblock, field.name) File "/usr/local/lib/python2.7/dist-packages/xblock/fields.py", line 519, in get value = self.from_json(field_data.get(xblock, self.name)) File "/usr/local/lib/python2.7/dist-packages/xblock/fields.py", line 825, in from_json raise TypeError('Value stored in a List must be None or a list, found %s' % type(value)) TypeError: Value stored in a List must be None or a list, found <type 'str'> [variant:cms][xmodule.vertical_block][env:sandbox] ERROR [3f79c1a02c21 1] [vertical_block.py:151] - Unable to load child when parsing Vertical. Continuing... Traceback (most recent call last): File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/vertical_block.py", line 148, in definition_from_xml child_block = system.process_xml(etree.tostring(child, encoding='unicode')) File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/xml.py", line 196, in process_xml id_manager, File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/x_module.py", line 1609, in xblock_from_node self._convert_reference_fields_to_keys(block) # difference from XBlock.runtime File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/x_module.py", line 1654, in _convert_reference_fields_to_keys field_value = getattr(xblock, field.name) File "/usr/local/lib/python2.7/dist-packages/xblock/fields.py", line 519, in get value = self.from_json(field_data.get(xblock, self.name)) File "/usr/local/lib/python2.7/dist-packages/xblock/fields.py", line 825, in from_json raise TypeError('Value stored in a List must be None or a list, found %s' % type(value)) TypeError: Value stored in a List must be None or a list, found <type 'str'> 2020-03-10 09:47:32,179 WARNING 1 [root] mixins.py:522 - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name [variant:cms][root][env:sandbox] WARNING [3f79c1a02c21 1] [mixins.py:522] - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name 2020-03-10 09:47:32,199 WARNING 1 [xmodule.modulestore.xml] xml.py:233 - i4x://edX/DemoX/discussion/9f9e1373cc8243b985c8750cc8acec7d has more than one definition [variant:cms][xmodule.modulestore.xml][env:sandbox] WARNING [3f79c1a02c21 1] [xml.py:233] - i4x://edX/DemoX/discussion/9f9e1373cc8243b985c8750cc8acec7d has more than one definition 2020-03-10 09:47:32,232 WARNING 1 [xmodule.modulestore.xml] xml.py:233 - i4x://edX/DemoX/problem/Sample_ChemFormula_Problem has more than one definition [variant:cms][xmodule.modulestore.xml][env:sandbox] WARNING [3f79c1a02c21 1] [xml.py:233] - i4x://edX/DemoX/problem/Sample_ChemFormula_Problem has more than one definition 2020-03-10 09:47:32,233 WARNING 1 [root] mixins.py:522 - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name [variant:cms][root][env:sandbox] WARNING [3f79c1a02c21 1] [mixins.py:522] - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name 2020-03-10 09:47:32,247 WARNING 1 [xmodule.modulestore.xml] xml.py:233 - i4x://edX/DemoX/discussion/4d672c5893cb4f1dad0de67d2008522e has more than one definition [variant:cms][xmodule.modulestore.xml][env:sandbox] WARNING [3f79c1a02c21 1] [xml.py:233] - i4x://edX/DemoX/discussion/4d672c5893cb4f1dad0de67d2008522e has more than one definition 2020-03-10 09:47:32,293 WARNING 1 [xmodule.modulestore.xml] xml.py:233 - i4x://edX/DemoX/html/Lab_5B_Mosfet_Amplifier_Experiment has more than one definition [variant:cms][xmodule.modulestore.xml][env:sandbox] WARNING [3f79c1a02c21 1] [xml.py:233] - i4x://edX/DemoX/html/Lab_5B_Mosfet_Amplifier_Experiment has more than one definition 2020-03-10 09:47:32,297 WARNING 1 [root] mixins.py:522 - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name [variant:cms][root][env:sandbox] WARNING [3f79c1a02c21 1] [mixins.py:522] - XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name 2020-03-10 09:47:32,309 WARNING 1 [xmodule.modulestore.xml] xml.py:233 - i4x://edX/DemoX/discussion/03f051f9a8814881a3783d2511613aa6 has more than one definition [variant:cms][xmodule.modulestore.xml][env:sandbox] WARNING [3f79c1a02c21 1] [xml.py:233] - i4x://edX/DemoX/discussion/03f051f9a8814881a3783d2511613aa6 has more than one definition 2020-03-10 09:47:33,232 INFO 1 [openedx.core.djangoapps.content.course_overviews.models] models.py:150 - Updating course overview for course-v1:edX+DemoX+Demo_Course. [variant:cms][openedx.core.djangoapps.content.course_overviews.models][env:sandbox] INFO [3f79c1a02c21 1] [models.py:150] - Updating course overview for course-v1:edX+DemoX+Demo_Course. 2020-03-10 09:47:33,342 INFO 1 [celery_utils.logged_task] logged_task.py:31 - Task lms.djangoapps.discussion.tasks.update_discussions_map[91586276-14ca-4291-80c9-d8e9f8b361f8] submitted with arguments [{'course_id': u'course-v1:edX+DemoX+Demo_Course'}], None [variant:cms][celery_utils.logged_task][env:sandbox] INFO [3f79c1a02c21 1] [logged_task.py:31] - Task lms.djangoapps.discussion.tasks.update_discussions_map[91586276-14ca-4291-80c9-d8e9f8b361f8] submitted with arguments [{'course_id': u'course-v1:edX+DemoX+Demo_Course'}], None 2020-03-10 09:47:33,368 INFO 1 [xmodule.modulestore.django] django.py:198 - Sent course_published signal to <function listen_for_course_publish at 0x7f9f25014758> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None [variant:cms][xmodule.modulestore.django][env:sandbox] INFO [3f79c1a02c21 1] [django.py:198] - Sent course_published signal to <function listen_for_course_publish at 0x7f9f25014758> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None 2020-03-10 09:47:33,369 INFO 1 [xmodule.modulestore.django] django.py:198 - Sent course_published signal to <function _listen_for_course_publish at 0x7f9f24e05398> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None [variant:cms][xmodule.modulestore.django][env:sandbox] INFO [3f79c1a02c21 1] [django.py:198] - Sent course_published signal to <function _listen_for_course_publish at 0x7f9f24e05398> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None 2020-03-10 09:47:33,369 INFO 1 [xmodule.modulestore.django] django.py:198 - Sent course_published signal to <function _listen_for_course_publish at 0x7f9f24e05488> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None [variant:cms][xmodule.modulestore.django][env:sandbox] INFO [3f79c1a02c21 1] [django.py:198] - Sent course_published signal to <function _listen_for_course_publish at 0x7f9f24e05488> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None 2020-03-10 09:47:33,370 INFO 1 [xmodule.modulestore.django] django.py:198 - Sent course_published signal to <function listen_for_course_publish at 0x7f9f24e05848> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None [variant:cms][xmodule.modulestore.django][env:sandbox] INFO [3f79c1a02c21 1] [django.py:198] - Sent course_published signal to <function listen_for_course_publish at 0x7f9f24e05848> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None 2020-03-10 09:47:33,370 INFO 1 [xmodule.modulestore.django] django.py:198 - Sent course_published signal to <function update_block_structure_on_course_publish at 0x7f9f24e05e60> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None [variant:cms][xmodule.modulestore.django][env:sandbox] INFO [3f79c1a02c21 1] [django.py:198] - Sent course_published signal to <function update_block_structure_on_course_publish at 0x7f9f24e05e60> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None 2020-03-10 09:47:33,370 INFO 1 [xmodule.modulestore.django] django.py:198 - Sent course_published signal to <function _listen_for_course_publish at 0x7f9f24e05f50> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None [variant:cms][xmodule.modulestore.django][env:sandbox] INFO [3f79c1a02c21 1] [django.py:198] - Sent course_published signal to <function _listen_for_course_publish at 0x7f9f24e05f50> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None 2020-03-10 09:47:33,371 INFO 1 [xmodule.modulestore.django] django.py:198 - Sent course_published signal to <function update_discussions_on_course_publish at 0x7f9f24ddbc80> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None [variant:cms][xmodule.modulestore.django][env:sandbox] INFO [3f79c1a02c21 1] [django.py:198] - Sent course_published signal to <function update_discussions_on_course_publish at 0x7f9f24ddbc80> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None 2020-03-10 09:47:33,371 INFO 1 [xmodule.modulestore.django] django.py:198 - Sent course_published signal to <function trigger_update_xblocks_cache_task at 0x7f9f24d76d70> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None [variant:cms][xmodule.modulestore.django][env:sandbox] INFO [3f79c1a02c21 1] [django.py:198] - Sent course_published signal to <function trigger_update_xblocks_cache_task at 0x7f9f24d76d70> with kwargs {'course_key': CourseLocator('edX', 'DemoX', 'Demo_Course', None, None)}. Response was: None Seeding forum roles for course course-v1:edX+DemoX+Demo_Course

jmaupetit commented 4 years ago

Yeah, those are errors raised while importing the demo-course, they could be ignored IMO.

Since you've successfully bootstrapped the project, I'll close this issue. Feel free to raise your hand if you think otherwise. :pray:

macrobian88 commented 4 years ago

Thank you @jmaupetit @sampaccoud for your help in resoving the issue while installation.