Closed BryanttV closed 3 months ago
Thanks for the PR, @BryanttV, it works.
We implemented this fix in eox-tenant, https://github.com/eduNEXT/eox-tenant/pull/178/files, but I wonder if that's the best way.
Well... If we use this solution, I suggest adding more code documentation explaining why we need this.
Hi @MaferMazu, As the error is raised in the same try-except we can simplify the code and add another exception. It works the same, but it is clearer. I also updated the comment about the reasons for including this code. Let me know if you want any additional modifications, thanks!
Description
This PR adds an
ImproperlyConfigured
exception inload_permissions
function to avoid errors during the build.Error
Details of error
```bash => ERROR [production 19/37] RUN ./manage.py lms --settings=tutor.i18n pull_plugin_translations --verbose --repository='openedx/openedx-translations' --revision='o 5.3s ------ > [production 19/37] RUN ./manage.py lms --settings=tutor.i18n pull_plugin_translations --verbose --repository='openedx/openedx-translations' --revision='open-release/redwood.1': 4.572 Traceback (most recent call last): 4.572 File "/openedx/edx-platform/./manage.py", line 106, inTesting instructions
Add in your
config.yml
this plugin as extra requirement.tutor images build openedx --no-cache