openedx / openedx/edx-ora2

Error in compile time, no module named workbench

Open
#889 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
65
Forks
218
PR merge metrics
No merged PRs in 30d

Description

./i18n-pull.sh
Pulling strings from Transifex...
Pulling conf/locale/config.yaml:locales from Transifex...
Pulling translations for resource edx-platform.openassessment (source: conf/locale/en/LC_MESSAGES/django.po)
Skipping 'ru' translation (file: conf/locale/ru/LC_MESSAGES/django.po).
Pulling translations for resource edx-platform.openassessment-js (source: conf/locale/en/LC_MESSAGES/djangojs.po)
Skipping 'ru' translation (file: conf/locale/ru/LC_MESSAGES/djangojs.po).
Done.
Validating strings...
Compiling strings...
Compile strings? [y/n]   y
Traceback (most recent call last):
  File "manage.py", line 21, in <module>
    execute_from_command_line(sys.argv)
  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 354, in execute_from_command_line
    utility.execute()
  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 328, in execute
    django.setup()
  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/__init__.py", line 18, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/apps/registry.py", line 85, in populate
    app_config = AppConfig.create(entry)
  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/apps/config.py", line 86, in create
    module = import_module(entry)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
ImportError: No module named workbench

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with i18n-pull.sh and manage.py, then follow the traceback through Django setup to the INSTALLED_APPS entry that imports workbench. Reproduce the compile step and verify that strings compile without the ImportError.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
backend, build-system, localization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.