Skip to content

Instantly share code, notes, and snippets.

View iamsobanjaved's full-sized avatar

Muhammad Soban Javed iamsobanjaved

View GitHub Profile
name: Repo Health Workflow Call
on:
schedule:
# Run at 00:00 UTC everyday. For details, see https://crontab.guru/#0_0_*_*_*
- cron: "0 0 * * *"
workflow_dispatch:
inputs:
repo_health_branch:
description: "Target branch of edx repo health to use for running checks"
root@lms:/edx/app/edxapp/edx-platform# make docs
DJANGO_SETTINGS_MODULE=docs.docs_settings python manage.py lms generate_swagger --generator-class=edx_api_doc_tools.ApiSchemaGenerator -o docs/swagger.yaml
Unable to load XBlock 'discussion'
Traceback (most recent call last):
File "/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2479, in resolve
return functools.reduce(getattr, self.attrs, module)
AttributeError: module 'xblock_discussion' has no attribute 'DiscussionXBlock'
The above exception was the direct cause of the following exception: