# The command '/bin/sh -c ./manage.py lms --settings=tutor.i18n compilejsi18n' returned a non-zero code: 1

**URL:** <https://discuss.openedx.org/t/the-command-bin-sh-c-manage-py-lms-settings-tutor-i18n-compilejsi18n-returned-a-non-zero-code-1/9460>\
**Category:** Site Operators\
**Tags:** tutor, nutmeg\
**Created:** [February 27, 2023, 10:31pm UTC](https://discuss.openedx.org/t/the-command-bin-sh-c-manage-py-lms-settings-tutor-i18n-compilejsi18n-returned-a-non-zero-code-1/9460 "2023-02-27T22:31:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lpm0073](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/lpm0073/32/45_2.png) [@lpm0073](https://discuss.openedx.org/u/lpm0073)\
**Post date:** [February 27, 2023, 10:31pm UTC](https://discuss.openedx.org/t/the-command-bin-sh-c-manage-py-lms-settings-tutor-i18n-compilejsi18n-returned-a-non-zero-code-1/9460/1 "2023-02-27T22:31:32Z")

</div>

Posting this on behalf of a couple of clients who’ve both begun running into this error when attempting open-release/nutmeg.2 builds with tutor 14.2.3 and 15.0.2. The stack trace below occurs on this step:

```auto
Step 80/105 : RUN ./manage.py lms --settings=tutor.i18n compilejsi18n
---> Running in blahblahblah
Traceback (most recent call last):
    File "./manage.py", line 103, in <module>
        startup.run()

```

One common denominator is that both are installing ORA Xblock: [GitHub - openedx/edx-ora2: Open Response Assessment Suite](https://github.com/openedx/edx-ora2), and i noticed that [this commit](https://github.com/openedx/edx-ora2/commit/49a75106de3469fcba21bbf5ddfcc6f07be4ba24) to this repo on 1-feb-2023 made changes to the Python requirement, “bleach”, which appears to the origin of the stack trace.

```auto
Traceback (most recent call last):
  File "./manage.py", line 103, in <module>
    startup.run()
  File "/openedx/edx-platform/lms/startup.py", line 20, in run
    django.setup()
  File "/openedx/venv/lib/python3.8/site-packages/django/ __init__.py", line 24, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/openedx/venv/lib/python3.8/site-packages/django/apps/registry.py", line 91, in populate
    app_config = AppConfig.create(entry)
  File "/openedx/venv/lib/python3.8/site-packages/django/apps/config.py", line 224, in create
    import_module(entry)
  File "/opt/pyenv/versions/3.8.12/lib/python3.8/importlib/ __init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 843, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/openedx/edx-platform/lms/djangoapps/course_wiki/plugins/markdownedx/ __init__.py", line 4, in <module>
    from lms.djangoapps.course_wiki.plugins.markdownedx.wiki_plugin import ExtendMarkdownPlugin
  File "/openedx/edx-platform/lms/djangoapps/course_wiki/plugins/markdownedx/wiki_plugin.py", line 2, in <module>
    from wiki.core.plugins import registry as plugin_registry
  File "/openedx/venv/src/django-wiki/wiki/core/ __init__.py", line 4, in <module>
    from wiki.conf import settings
  File "/openedx/venv/src/django-wiki/wiki/conf/settings.py", line 26, in <module>
    bleach.ALLOWED_TAGS
TypeError: unsupported operand type(s) for +: 'frozenset' and 'list'
The command '/bin/sh -c ./manage.py lms --settings=tutor.i18n compilejsi18n' returned a non-zero code: 1
Error: Command failed with status 1: docker build -t ***.dkr.ecr.us-east-1.amazonaws.com/openedx:14.2.3-202302271716 --build-arg EDX_PLATFORM_REPOSITORY=https://github.com/openedx/edx-platform.git --build-arg EDX_PLATFORM_VERSION=open-release/nutmeg.2 /home/runner/.local/share/tutor/env/build/openedx

```

---

<div class="post-metadata">

**Author:** ![regis](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/regis/32/2640_2.png) [@regis](https://discuss.openedx.org/u/regis)\
**Post date:** [February 28, 2023, 9:07am UTC](https://discuss.openedx.org/t/the-command-bin-sh-c-manage-py-lms-settings-tutor-i18n-compilejsi18n-returned-a-non-zero-code-1/9460/2 "2023-02-28T09:07:27Z")

</div>

Hi Lawrence,  
When I install tutor==14.2.4 I am able to build the openedx Docker image successfully. Can you describe which changes were made to the vanilla Docker build?

> [@lpm0073](#):
>
> One common denominator is that both are installing ORA Xblock: [GitHub - openedx/edx-ora2: Open Response Assessment Suite](https://github.com/openedx/edx-ora2)

The part that I don’t understand is that edx-ora2 is already installed in the openedx Docker image, as it’s a base requirement of edx-platform: [https://github.com/openedx/edx-platform/blob/open-release/nutmeg.3/requirements/edx/base.txt#L743](https://github.com/openedx/edx-platform/blob/open-release/nutmeg.3/requirements/edx/base.txt#L743)

Are your clients installing a fork of edx-ora2? if yes, which version did they fork? They should have forked from 4.1.2, which is the version installed in Nutmeg. The [edx-ora2 commit](https://github.com/openedx/edx-ora2/commit/49a75106de3469fcba21bbf5ddfcc6f07be4ba24) you linked to was only included in 5.0.0, and thus should not be part of the fork.
