Hi @BbrSofiane ,
I have followed your all steps.
I have created few courses in Studio.
followed all steps i am getting error when i ( Install and enable tutor-richie, tutor config save, tutor images build all) start tutor local quickstart.
2022-08-17 13:17:34,988 WARNING 6 [py.warnings] [user None] [ip None] warnings.p y:109 - /openedx/venv/lib/python3.8/site-packages/boto/plugin.py:40: Deprecation Warning: the imp module is deprecated in favour of importlib; see the module's d ocumentation for alternative uses
import imp
2022-08-17 13:17:35,015 WARNING 6 [py.warnings] [user None] [ip None] warnings.p y:109 - /openedx/venv/lib/python3.8/site-packages/botocore/vendored/requests/pac kages/urllib3/_collections.py:1: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
from collections import Mapping, MutableMapping
2022-08-17 13:17:36,504 WARNING 6 [py.warnings] [user None] [ip None] warnings.p y:109 - /openedx/edx-platform/openedx/core/types/admin.py:49: DeprecationWarning : Django 3.2+ available: the _admin_display method and the AdminMethodclass shou ld be removed from openedx.core.types
warnings.warn(
2022-08-17 13:17:37,240 WARNING 6 [py.warnings] [user None] [ip None] warnings.p y:109 - /openedx/venv/lib/python3.8/site-packages/swiftclient/client.py:84: Depr ecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
if StrictVersion(requests.__version__) < StrictVersion('2.0.0') \
Traceback (most recent call last):
File "./manage.py", line 106, in <module>
execute_from_command_line([sys.argv[0]] + django_args)
File "/openedx/venv/lib/python3.8/site-packages/django/core/management/__init_ _.py", line 419, in execute_from_command_line
utility.execute()
File "/openedx/venv/lib/python3.8/site-packages/django/core/management/__init_ _.py", line 413, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/openedx/venv/lib/python3.8/site-packages/django/core/management/base.py ", line 354, in run_from_argv
self.execute(*args, **cmd_options)
File "/openedx/venv/lib/python3.8/site-packages/django/core/management/base.py ", line 398, in execute
output = self.handle(*args, **options)
File "/openedx/venv/lib/python3.8/site-packages/django/core/management/command s/shell.py", line 87, in handle
exec(options['command'], globals())
File "<string>", line 1, in <module>
File "/openedx/venv/src/richie-edx-platform/contrib/edx-platform/richie/sync.p y", line 20, in sync_all_courses
sync_course(course)
File "/openedx/venv/src/richie-edx-platform/contrib/edx-platform/richie/sync.p y", line 49, in sync_course
settings.RICHIE_COURSE_HOOK["secret"].encode("utf-8"),
File "/openedx/venv/lib/python3.8/site-packages/django/conf/__init__.py", line 83, in __getattr__
val = getattr(self._wrapped, name)
AttributeError: 'Settings' object has no attribute 'RICHIE_COURSE_HOOK'
Error: Command failed with status 1: docker-compose -f /home/user/.local/share/ tutor/env/local/docker-compose.yml -f /home/user/.local/share/tutor/env/local/d ocker-compose.prod.yml -f /home/user/.local/share/tutor/env/local/docker-compos e.tmp.yml --project-name tutor_local -f /home/user/.local/share/tutor/env/local /docker-compose.jobs.yml -f /home/user/.local/share/tutor/env/local/docker-comp ose.jobs.tmp.yml run --rm richie-openedx-job sh -e -c # Initial sync of course r uns
./manage.py cms shell -c "from richie.sync import sync_all_courses; sync_all_cou rses()"
I am getting this error when i run command ( Install and enable tutor-richie, tutor config save, tutor images build all) tutor local init -l richie
.
2022-08-17 14:02:12,938 WARNING 7 [py.warnings] [user None] [ip None] warnings.p y:109 - /openedx/venv/lib/python3.8/site-packages/boto/plugin.py:40: Deprecation Warning: the imp module is deprecated in favour of importlib; see the module's d ocumentation for alternative uses
import imp
2022-08-17 14:02:12,965 WARNING 7 [py.warnings] [user None] [ip None] warnings.p y:109 - /openedx/venv/lib/python3.8/site-packages/botocore/vendored/requests/pac kages/urllib3/_collections.py:1: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
from collections import Mapping, MutableMapping
2022-08-17 14:02:14,282 WARNING 7 [py.warnings] [user None] [ip None] warnings.p y:109 - /openedx/edx-platform/openedx/core/types/admin.py:49: DeprecationWarning : Django 3.2+ available: the _admin_display method and the AdminMethodclass shou ld be removed from openedx.core.types
warnings.warn(
2022-08-17 14:02:15,024 WARNING 7 [py.warnings] [user None] [ip None] warnings.p y:109 - /openedx/venv/lib/python3.8/site-packages/swiftclient/client.py:84: Depr ecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
if StrictVersion(requests.__version__) < StrictVersion('2.0.0') \
Traceback (most recent call last):
File "./manage.py", line 106, in <module>
execute_from_command_line([sys.argv[0]] + django_args)
File "/openedx/venv/lib/python3.8/site-packages/django/core/management/__init_ _.py", line 419, in execute_from_command_line
utility.execute()
File "/openedx/venv/lib/python3.8/site-packages/django/core/management/__init_ _.py", line 413, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/openedx/venv/lib/python3.8/site-packages/django/core/management/base.py ", line 354, in run_from_argv
self.execute(*args, **cmd_options)
File "/openedx/venv/lib/python3.8/site-packages/django/core/management/base.py ", line 398, in execute
output = self.handle(*args, **options)
File "/openedx/venv/lib/python3.8/site-packages/django/core/management/command s/shell.py", line 87, in handle
exec(options['command'], globals())
File "<string>", line 1, in <module>
File "/openedx/venv/src/richie-edx-platform/contrib/edx-platform/richie/sync.p y", line 20, in sync_all_courses
sync_course(course)
File "/openedx/venv/src/richie-edx-platform/contrib/edx-platform/richie/sync.p y", line 49, in sync_course
settings.RICHIE_COURSE_HOOK["secret"].encode("utf-8"),
File "/openedx/venv/lib/python3.8/site-packages/django/conf/__init__.py", line 83, in __getattr__
val = getattr(self._wrapped, name)
AttributeError: 'Settings' object has no attribute 'RICHIE_COURSE_HOOK'
Error: Command failed with status 1: docker-compose -f /home/user/.local/share/ tutor/env/local/docker-compose.yml -f /home/user/.local/share/tutor/env/local/d ocker-compose.prod.yml -f /home/user/.local/share/tutor/env/local/docker-compos e.tmp.yml --project-name tutor_local -f /home/user/.local/share/tutor/env/local /docker-compose.jobs.yml -f /home/user/.local/share/tutor/env/local/docker-comp ose.jobs.tmp.yml run --rm richie-openedx-job sh -e -c # Initial sync of course r uns
./manage.py cms shell -c "from richie.sync import sync_all_courses; sync_all_cou rses()"