please help with my configuration settings. I follow this documentation:
https://edx.readthedocs.io/projects/open-edx-devstack/en/latest/pycharm_integration.html#setup-django-support
then I got this error after I run LMS and CMS:
docker-compose -f /home/drkmnd/devstack/docker-compose.yml -f /home/drkmnd/.cache/JetBrains/PyCharm2021.3/tmp/docker-compose.override.141.yml up --exit-code-from lms --abort-on-container-exit lms
WARNING: The DEVSTACK_WORKSPACE variable is not set. Defaulting to a blank string.
edx.devstack.mysql57 is up-to-date
edx.devstack.devpi is up-to-date
edx.devstack.elasticsearch710 is up-to-date
edx.devstack.memcached is up-to-date
edx.devstack.mongo is up-to-date
edx.devstack.discovery is up-to-date
edx.devstack.forum is up-to-date
Recreating edx.devstack.lms …
Attaching to edx.devstack.lms
edx.devstack.lms | Traceback (most recent call last):
edx.devstack.lms | File “/opt/project/edx-platform/manage.py”, line 20, in
edx.devstack.lms | from safe_lxml import defuse_xml_libs
edx.devstack.lms | ModuleNotFoundError: No module named ‘safe_lxml’
edx.devstack.lms exited with code 1
Aborting on container exit…
ERROR: 1
below are my Django Run/Debug Configuration Settings:
Host: blank
Additional options: 0.0.0.0:18000
custom run command: lms
Environment variables: PYTHONUNBUFFERED=1;DJANGO_SETTINGS_MODULE=lms.envs.devstack_docker;CONFIG_ROOT=/edx/app/edxapp;CMS_CFG=/edx/etc/lms.yml
Python Interpreter: Project Default (Remote Python 3.8.10 Docker Compose (lms at [/home/drkmnd/devstack/docker-compose.yml)]
Working directory: /edx/app/edxapp/edx-platform
path mappings: /home/drkmnd/edx-platform=/edx/app/edxapp/edx-platform
Below are my Before launch
:
External tool > Name: stop all running containers for release
Program: make
Arguments: OPENEDX_RELEASE=juniper.master stop.all
Working directory: /home/drkmnd/devstack
deselect >Synchronize files after execution
select > open console for tool output
select > make console activate on message in stdout
select make > make console active on message in stderr
please help, I just want to customize both lms and cms and deploy via localhost