Oops, I totally forgot about that.
I tried the command, now got following error logs:
2024-07-19 16:11:15,362 INFO 24 [xmodule.modulestore.django] [user None] [ip None] django.py:220 - Sent course_published signal to <function update_course_apps at 0x7f2c9009b920> with kwargs {'course_key': CourseLocator('OpenedX', 'DemoX', 'DemoCourse', None, None)}. Response was: None
2024-07-19 16:11:15,362 INFO 24 [xmodule.modulestore.django] [user None] [ip None] django.py:220 - Sent course_published signal to <function update_discussions_on_course_publish at 0x7f2c90012de0> with kwargs {'course_key': CourseLocator('OpenedX', 'DemoX', 'DemoCourse', None, None)}. Response was: None
Traceback (most recent call last):
File "/openedx/edx-platform/xmodule/modulestore/xml_importer.py", line 511, in depth_first
Importing...
data_dir=../data, source_dirs=['/tmp/course/demo-course/course']
Importing static content? True
Importing python lib? True
_update_and_import_block(
File "/openedx/edx-platform/xmodule/modulestore/xml_importer.py", line 946, in _update_and_import_block
store.publish(block.location, user_id)
File "/openedx/edx-platform/xmodule/modulestore/mixed.py", line 90, in inner
retval = func(field_decorator=strip_key_collection, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/openedx/edx-platform/xmodule/modulestore/mixed.py", line 992, in publish
item = store.publish(location, user_id, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/openedx/edx-platform/xmodule/modulestore/split_mongo/split_draft.py", line 375, in publish
super().copy(
File "/openedx/edx-platform/xmodule/modulestore/split_mongo/split.py", line 2333, in copy
self._copy_subdag(
File "/openedx/edx-platform/xmodule/modulestore/split_mongo/split.py", line 3155, in _copy_subdag
self._copy_subdag(
File "/openedx/edx-platform/xmodule/modulestore/split_mongo/split.py", line 3103, in _copy_subdag
new_block = source_blocks[block_key]
~~~~~~~~~~~~~^^^^^^^^^^^
KeyError: BlockKey(type='problem', id='0895f1b6c0b329e50b90')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/openedx/edx-platform/./manage.py", line 106, in <module>
execute_from_command_line([sys.argv[0]] + django_args)
File "/openedx/venv/lib/python3.11/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
utility.execute()
File "/openedx/venv/lib/python3.11/site-packages/django/core/management/__init__.py", line 436, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/openedx/venv/lib/python3.11/site-packages/django/core/management/base.py", line 412, in run_from_argv
self.execute(*args, **cmd_options)
File "/openedx/venv/lib/python3.11/site-packages/django/core/management/base.py", line 458, in execute
output = self.handle(*args, **options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/openedx/edx-platform/cms/djangoapps/contentstore/management/commands/import.py", line 66, in handle
course_items = import_course_from_xml(
^^^^^^^^^^^^^^^^^^^^^^^
File "/openedx/edx-platform/xmodule/modulestore/xml_importer.py", line 804, in import_course_from_xml
return list(manager.run_imports())
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/openedx/edx-platform/xmodule/modulestore/xml_importer.py", line 574, in run_imports
self.import_children(source_courselike, courselike, courselike_key, dest_id)
File "/openedx/edx-platform/xmodule/modulestore/xml_importer.py", line 690, in import_children
self.recursive_build(source_courselike, courselike, courselike_key, dest_id)
File "/openedx/edx-platform/xmodule/modulestore/xml_importer.py", line 528, in recursive_build
depth_first(source_courselike)
File "/openedx/edx-platform/xmodule/modulestore/xml_importer.py", line 526, in depth_first
depth_first(child)
File "/openedx/edx-platform/xmodule/modulestore/xml_importer.py", line 526, in depth_first
depth_first(child)
File "/openedx/edx-platform/xmodule/modulestore/xml_importer.py", line 526, in depth_first
depth_first(child)
File "/openedx/edx-platform/xmodule/modulestore/xml_importer.py", line 524, in depth_first
raise BlockFailedToImport(child.display_name, child.location) # pylint: disable=raise-missing-from
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
xmodule.modulestore.xml_importer.BlockFailedToImport: Failed to import block: Randomized Content Block at location: i4x://OpenedX/DemoX/library_content/34a4d5e71d974c029cbde1956bd7c820
were you successfully able to import the course in Redwood release of Open edX?