You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.
Thanks for your great work! I am an programmer in China, and while I was setting up devstack, I received some strange errors what I couldn't find in any issues or other forums.
Executing Steps
While I execute the next five steps in Ubuntu 20.04.5 LTS with 8G memory:
make requirements
make dev.clone
make dev.pull
make dev.provision
What's the problem
While executing make dev.provision ,some problems would be shown under Provisioning lms... :
......
Will provision the following:
lms ecommerce discovery credentials e2e forum notes
......
MySQL ready.
......
MongoDB ready.
......
Provisioning lms...
+ ./provision-lms.sh
+ apps=(lms studio)
+ studio_port=18010
+ ./load-db.sh edxapp
Loading the edxapp database...
Finished loading the edxapp database!
+ ./load-db.sh edxapp_csmh
Loading the edxapp_csmh database...
Finished loading the edxapp_csmh database!
+ forappin"${apps[@]}"
+ docker-compose up -d lms
edx.devstack.elasticsearch710 is up-to-date
edx.devstack.opensearch12 is up-to-date
e74d6a00773c_edx.devstack.mysql57 is up-to-date
edx.devstack.mongo is up-to-date
edx.devstack.devpi is up-to-date
edx.devstack.memcached is up-to-date
edx.devstack.discovery is up-to-date
Recreating edx.devstack.forum ... done
edx.devstack.lms is up-to-date
+ forappin"${apps[@]}"
+ docker-compose up -d studio
edx.devstack.devpi is up-to-date
edx.devstack.opensearch12 is up-to-date
edx.devstack.elasticsearch710 is up-to-date
e74d6a00773c_edx.devstack.mysql57 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
edx.devstack.lms is up-to-date
edx.devstack.studio is up-to-date
+ docker-compose exec -T lms bash -e -c 'source /edx/app/edxapp/edxapp_env && cd /edx/app/edxapp/edx-platform && NO_PYTHON_UNINSTALL=1 paver install_prereqs'
/edx/app/edxapp/edxapp_env: line 13: manpath: command not found
---> pavelib.prereqs.install_prereqs
---> pavelib.prereqs.install_node_prereqs
Node prereqs unchanged, skipping...
---> pavelib.prereqs.install_python_prereqs
---> pavelib.prereqs.uninstall_python_packages
NO_PYTHON_UNINSTALL is set. No attempts will be made to uninstall old Python libs.
pip install -e .
Looking in indexes: http://edx.devstack.devpi:3141/root/pypi/+simple/, https://pypi.python.org/simple
Obtaining file:///edx/app/edxapp/edx-platform
Requirement already satisfied: setuptools in /edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages (from Open-edX==0.13) (65.6.0)
Installing collected packages: Open-edX
Attempting uninstall: Open-edX
Found existing installation: Open-edX 0.13
Uninstalling Open-edX-0.13:
Successfully uninstalled Open-edX-0.13
Running setup.py develop for Open-edX
Successfully installed Open-edX-0.13
WARNING: You are using pip version 21.2.1; however, version 22.3.1 is available.
pip install -q --disable-pip-version-check --exists-action w -r requirements/edx/development.txt
ERROR: Command errored out with exit status 128:
command: git fetch -q --tags
cwd: /edx/app/edxapp/venvs/edxapp/src/blockstore
Complete output (1 lines):
fatal: unable to access 'https://github.com/openedx/blockstore.git/': GnuTLS recv error (-110): The TLS connection was non-properly terminated.
----------------------------------------
WARNING: Discarding git+https://github.com/openedx/blockstore.git@1.2.4#egg=blockstore==1.2.4. Command errored out with exit status 128: git fetch -q --tags Check the logs for full command output.
^Cmake[1]: *** [Makefile:220: impl-dev.provision] Error 1
Traceback (most recent call last):
File "scripts/send_metrics.py", line 453, in<module>
main(sys.argv[1:])
File "scripts/send_metrics.py", line 435, in main
conveyed_exit_code = do_wrap(action_args[0])
File "scripts/send_metrics.py", line 279, in do_wrap
subprocess_exit_code = run_target(make_target).returncode
File "scripts/send_metrics.py", line 259, in run_target
return subprocess.run(["make", "impl-%s" % make_target], check=False)
File "/usr/lib/python3.8/subprocess.py", line 495, in run
stdout, stderr = process.communicate(input, timeout=timeout)
File "/usr/lib/python3.8/subprocess.py", line 1020, in communicate
self.wait()
File "/usr/lib/python3.8/subprocess.py", line 1083, inwaitreturn self._wait(timeout=timeout)
File "/usr/lib/python3.8/subprocess.py", line 1806, in _wait
(pid, sts) = self._try_wait(0)
File "/usr/lib/python3.8/subprocess.py", line 1764, in _try_wait
(pid, sts) = os.waitpid(self.pid, wait_flags)
KeyboardInterrupt
I guess there may be two reasons for above issue:
/edx/app/edxapp/edxapp_env: line 13: manpath: command not found . However, It's hard to read exapp_env in docker, and subsequent instructss were executed well, so this may be not important;
pip install -q --disable-pip-version-check --exists-action w -r requirements/edx/development.txt .
I guess the second one may be the main problem, but I don't sure whether it was a network problem, because I can execute pip install git+https://... right shown below.
sudo apt-get install python-mysql libmysqlclient-dev
pip install git+https://github.com/openedx/blockstore.git@1.2.4#egg=blockstore==1.2.4
make dev.provision
and the same problems still existed:
......
pip install -q --disable-pip-version-check --exists-action w -r requirements/edx/development.txt
ERROR: Command errored out with exit status 128:
command: git fetch -q --tags
cwd: /edx/app/edxapp/venvs/edxapp/src/blockstore
Complete output (1 lines):
fatal: unable to access 'https://github.com/openedx/blockstore.git/': GnuTLS recv error (-110): The TLS connection was non-properly terminated.
----------------------------------------
WARNING: Discarding git+https://github.com/openedx/blockstore.git@1.2.4#egg=blockstore==1.2.4. Command errored out with exit status 128:
......
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Thanks for your great work! I am an programmer in China, and while I was setting up devstack, I received some strange errors what I couldn't find in any issues or other forums.
Executing Steps
While I execute the next five steps in Ubuntu 20.04.5 LTS with 8G memory:
What's the problem
While executing
make dev.provision
,some problems would be shown underProvisioning lms...
:I guess there may be two reasons for above issue:
/edx/app/edxapp/edxapp_env: line 13: manpath: command not found
. However, It's hard to readexapp_env
in docker, and subsequent instructss were executed well, so this may be not important;pip install -q --disable-pip-version-check --exists-action w -r requirements/edx/development.txt
.I guess the second one may be the main problem, but I don't sure whether it was a network problem, because I can execute
pip install git+https://...
right shown below.and the same problems still existed:
The text was updated successfully, but these errors were encountered: