I am using WSL ubuntu 22.04.02 LTS in windows.
With Docker Desktop running with WSL integration.
The tutor version I am using is 14.1.2
I have just started working on this, I am able to build and run and everything works fine.
Just the local mount I am not able to run the command I use is:
tutor local start --mount='lms:/home/toor/edx-platform:/openedx/edx-platform'
Here when I run this it will generate the error as below I am unable to resolve this is this due to user permission issue?
tutor_local-lms-1 | Traceback (most recent call last):
tutor_local-lms-1 | File “lms/wsgi.py”, line 19, in
tutor_local-lms-1 | startup.run()
tutor_local-lms-1 | File “/openedx/edx-platform/./lms/startup.py”, line 20, in run
tutor_local-lms-1 | django.setup()
tutor_local-lms-1 | File “/openedx/venv/lib/python3.8/site-packages/django/init.py”, line 24, in setup
tutor_local-lms-1 | apps.populate(settings.INSTALLED_APPS)
tutor_local-lms-1 | File “/openedx/venv/lib/python3.8/site-packages/django/apps/registry.py”, line 114, in populate
tutor_local-lms-1 | app_config.import_models()
tutor_local-lms-1 | File “/openedx/venv/lib/python3.8/site-packages/django/apps/config.py”, line 301, in import_models
tutor_local-lms-1 | self.models_module = import_module(models_module_name)
tutor_local-lms-1 | File “/opt/pyenv/versions/3.8.12/lib/python3.8/importlib/init.py”, line 127, in import_module
tutor_local-lms-1 | return _bootstrap._gcd_import(name[level:], package, level)
tutor_local-lms-1 | File “”, line 1014, in _gcd_import
tutor_local-lms-1 | File “”, line 991, in _find_and_load
tutor_local-lms-1 | File “”, line 975, in _find_and_load_unlocked
tutor_local-lms-1 | File “”, line 671, in _load_unlocked
tutor_local-lms-1 | File “”, line 843, in exec_module
tutor_local-lms-1 | File “”, line 219, in _call_with_frames_removed
tutor_local-lms-1 | File “/openedx/edx-platform/./lms/djangoapps/bulk_email/models.py”, line 22, in
tutor_local-lms-1 | from openedx.core.djangoapps.course_groups.cohorts import get_cohort_by_name
tutor_local-lms-1 | File “/openedx/edx-platform/./openedx/core/djangoapps/course_groups/cohorts.py”, line 21, in
tutor_local-lms-1 | from lms.djangoapps.courseware import courses
tutor_local-lms-1 | File “/openedx/edx-platform/./lms/djangoapps/courseware/courses.py”, line 46, in
tutor_local-lms-1 | from lms.djangoapps.courseware.module_render import get_module
tutor_local-lms-1 | File “/openedx/edx-platform/./lms/djangoapps/courseware/module_render.py”, line 67, in
tutor_local-lms-1 | from lms.djangoapps.lms_xblock.runtime import LmsModuleSystem
tutor_local-lms-1 | File “/openedx/edx-platform/./lms/djangoapps/lms_xblock/runtime.py”, line 20, in
tutor_local-lms-1 | from xmodule.library_tools import LibraryToolsService # lint-amnesty, pylint: disable=wrong-import-order
tutor_local-lms-1 | File “/openedx/edx-platform/common/lib/xmodule/xmodule/library_tools.py”, line 13, in
tutor_local-lms-1 | from openedx.core.djangoapps.content_libraries import api as library_api
tutor_local-lms-1 | File “/openedx/edx-platform/./openedx/core/djangoapps/content_libraries/api.py”, line 78, in
tutor_local-lms-1 | from openedx.core.djangoapps.content_libraries import permissions
tutor_local-lms-1 | File “/openedx/edx-platform/./openedx/core/djangoapps/content_libraries/permissions.py”, line 7, in
tutor_local-lms-1 | from openedx.core.djangoapps.content_libraries.models import ContentLibraryPermission
tutor_local-lms-1 | File “/openedx/edx-platform/./openedx/core/djangoapps/content_libraries/models.py”, line 81, in
tutor_local-lms-1 | class ContentLibrary(models.Model):
tutor_local-lms-1 | File “/openedx/venv/lib/python3.8/site-packages/django/db/models/base.py”, line 113, in new
tutor_local-lms-1 | raise RuntimeError(
tutor_local-lms-1 | RuntimeError: Model class openedx.core.djangoapps.content_libraries.models.ContentLibrary doesn’t declare an explicit app_label and isn’t in an application in INSTALLED_APPS.
tutor_local-lms-1 | unable to load app 0 (mountpoint=‘’) (callable not found or import error)
tutor_local-lms-1 | *** no app loaded. going in full dynamic mode ***
tutor_local-lms-1 | spawned uWSGI worker 1 (pid: 7, cores: 1)
tutor_local-lms-1 | spawned uWSGI worker 2 (pid: 33, cores: 1)
tutor_local-lms-1 | — no python application found, check your startup logs for errors —
tutor_local-lms-1 | [pid: 7|app: -1|req: -1/1] 172.18.0.7 () {44 vars in 1153 bytes} [Sat Oct 14 11:44:08 2023] GET / => generated 21 bytes in 4 msecs (HTTP/1.1 500) 2 headers in 83 bytes (0 switches on core 0)
tutor_local-lms-1 | — no python application found, check your startup logs for errors —
tutor_local-lms-1 | [pid: 33|app: -1|req: -1/2] 172.18.0.7 () {42 vars in 1121 bytes} [Sat Oct 14 11:44:09 2023] GET /theming/asset/images/favicon.ico => generated 21 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 83 bytes (0 switches on core 0)
tutor_local-lms-1 | — no python application found, check your startup logs for errors —
tutor_local-lms-1 | [pid: 7|app: -1|req: -1/3] 172.18.0.7 () {40 vars in 956 bytes} [Sat Oct 14 11:44:09 2023] GET / => generated 21 bytes in 0 msecs (HTTP/1.1 500) 2 headers in 83 bytes (0 switches on core 0)