openedx / openedx/XBlock

issue with videojsXBlock installation

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

Nobody has claimed this yet.

Dominant language
Python
Stars
470
Forks
231
Avg merge
1d 1h
Merged PRs (30d)
6

Description

Hello,
I have an issue with videojsXBlock installation.
I wanna to work with xBlock, I tried to install the videojsXBlock https://github.com/MarCnu/videojsXBlock and integrat it into my OpenEdx plateform
Will finishing the execution of the commands, I got this issue:

edxapp@precise64:~/edx-platform$ fun cms.dev run --fast
Traceback (most recent call last):
File "/edx/app/edxapp/venvs/edxapp/bin/fun", line 9, in
load_entry_point('fun-cmd==0.1', 'console_scripts', 'fun')()
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/funcmd/cmd.py", line 13, in fun
run_command(settings, service, fun_args, other_args)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/funcmd/cmd.py", line 72, in run_command
arguments = get_manage_command_arguments(settings, service, *other_args)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/funcmd/cmd.py", line 87, in get_manage_command_arguments
setup_environment(settings, service)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/funcmd/cmd.py", line 121, in setup_environment
startup = importlib.import_module(startup_module)
File "/usr/lib/python2.7/importlib/init.py", line 37, in import_module
import(name)
File "/edx/app/edxapp/edx-platform/cms/startup.py", line 8, in
settings.INSTALLED_APPS # pylint: disable=pointless-statement
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/utils/functional.py", line 184, in inner
self._setup()
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/conf/init.py", line 42, in _setup
self._wrapped = Settings(settings_module)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/conf/init.py", line 95, in init
raise ImportError("Could not import settings '%s' (Is it on sys.path?): %s" % (self.SETTINGS_MODULE, e))
ImportError: Could not import settings 'fun.envs.cms.dev' (Is it on sys.path?): No module named validation

Anyone have faced the same issue ?
Do you suggest any solution.

Thanks

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 the reported fun cms.dev run --fast command and the traceback through cms/startup.py, funcmd, and fun.envs.cms.dev. Investigate why the settings import reports No module named validation after installing videojsXBlock; done would mean the documented integration starts successfully, but the issue provides no test or expected change.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
backend
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.